Skip to content

Commit 2bd4ece

Browse files
committed
first commit
0 parents  commit 2bd4ece

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+3585
-0
lines changed

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/node_modules/
2+
/TODO
3+
/NO_GIT/
4+
.DS_Store
5+
/plugins/
6+
/platforms/

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
![cordova-rtc-logo](./art/cordova-rtc-logo.png)
2+
3+
# cordova-plugin-iosrtc-sample
4+
5+
Basic sample application using cordova-plugin-iosrtc.
6+
7+
## Author
8+
9+
[Harold Thetiot](https://sylaps.com)
10+
11+
12+
### Maintainers
13+
14+
* [Harold Thetiot](https://sylaps.com)
15+
16+
## License
17+
18+
[MIT](./LICENSE) :)

art/cordova-rtc-logo.png

8.78 KB
Loading

art/icon-white.png

3.95 KB
Loading

art/icon.png

8.78 KB
Loading

config.xml

+116
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?xml version='1.0' encoding='utf-8'?>
2+
<widget id="com.cordovartc.sample" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
3+
<name>Cordova iOSRTC Sample</name>
4+
<description>
5+
A sample Apache Cordova iOSRTC application that use cordova-plugin-iosrtc
6+
</description>
7+
<author email="[email protected]" href="https://github.com/cordova-rtc">
8+
Cordova-RTC Team
9+
</author>
10+
<content src="index.html" />
11+
<access origin="*" />
12+
<access origin="https://*.ngrok.io/*" subdomains="true" />
13+
<allow-navigation href="https://*.ngrok.io/*" />
14+
<preference name="AppendUserAgent" value="iOSRTC Sample" />
15+
<allow-intent href="http://*/*" />
16+
<allow-intent href="https://*/*" />
17+
<allow-intent href="tel:*" />
18+
<allow-intent href="sms:*" />
19+
<allow-intent href="mailto:*" />
20+
<allow-intent href="geo:*" />
21+
<preference name="ShowSplashScreenSpinner" value="false" />
22+
<preference name="DisallowOverscroll" value="true" />
23+
<preference name="Fullscreen" value="false" />
24+
<platform name="android">
25+
<allow-intent href="market:*" />
26+
</platform>
27+
<platform name="ios">
28+
<allow-intent href="itms:*" />
29+
<allow-intent href="itms-apps:*" />
30+
<preference name="WKWebViewOnly" value="true" />
31+
<preference name="Orientation" value="all" />
32+
<preference name="target-device" value="universal" />
33+
<preference name="StatusBarOverlaysWebView" value="false" />
34+
<preference name="StatusBarBackgroundColor" value="#000000" />
35+
<preference name="StatusBarStyle" value="blacktranslucent" />
36+
<preference name="BackgroundColor" value="#000000" />
37+
<preference name="DetectMediaTypes" value="true" />
38+
<preference name="WebViewBounce" value="false" />
39+
<preference name="KeyboardShrinksView" value="true" />
40+
<preference name="allowInlineMediaPlayback" value="true" />
41+
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
42+
<preference name="AllowBackForwardNavigationGestures" value="true" />
43+
<preference name="Allow3DTouchLinkPreview" value="false" />
44+
<preference name="AllowInlineMediaPlayback" value="true" />
45+
<feature name="CDVWKWebViewEngine">
46+
<param name="ios-package" value="CDVWKWebViewEngine" />
47+
</feature>
48+
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
49+
<icon height="20" src="res/icon/ios/icon-20.png" width="20" />
50+
<icon height="40" src="res/icon/ios/[email protected]" width="40" />
51+
<icon height="60" src="res/icon/ios/[email protected]" width="60" />
52+
<icon height="40" src="res/icon/ios/icon-40.png" width="40" />
53+
<icon height="80" src="res/icon/ios/[email protected]" width="80" />
54+
<icon height="50" src="res/icon/ios/icon-50.png" width="50" />
55+
<icon height="100" src="res/icon/ios/[email protected]" width="100" />
56+
<icon height="120" src="res/icon/ios/[email protected]" width="120" />
57+
<icon height="180" src="res/icon/ios/[email protected]" width="180" />
58+
<icon height="72" src="res/icon/ios/icon-72.png" width="72" />
59+
<icon height="144" src="res/icon/ios/[email protected]" width="144" />
60+
<icon height="76" src="res/icon/ios/icon-76.png" width="76" />
61+
<icon height="152" src="res/icon/ios/[email protected]" width="152" />
62+
<icon height="167" src="res/icon/ios/[email protected]" width="167" />
63+
<icon height="1024" src="res/icon/ios/icon-1024.png" width="1024" />
64+
<icon height="29" src="res/icon/ios/icon-small.png" width="29" />
65+
<icon height="58" src="res/icon/ios/[email protected]" width="58" />
66+
<icon height="87" src="res/icon/ios/[email protected]" width="87" />
67+
<icon height="57" src="res/icon/ios/icon.png" width="57" />
68+
<icon height="114" src="res/icon/ios/[email protected]" width="114" />
69+
<icon height="48" src="res/icon/ios/[email protected]" width="48" />
70+
<icon height="55" src="res/icon/ios/[email protected]" width="55" />
71+
<icon height="58" src="res/icon/ios/[email protected]" width="58" />
72+
<icon height="87" src="res/icon/ios/[email protected]" width="87" />
73+
<icon height="80" src="res/icon/ios/[email protected]" width="80" />
74+
<icon height="88" src="res/icon/ios/[email protected]" width="88" />
75+
<icon height="172" src="res/icon/ios/[email protected]" width="172" />
76+
<icon height="196" src="res/icon/ios/[email protected]" width="196" />
77+
<splash height="480" src="res/screen/ios/Default~iphone.png" width="320" />
78+
<splash height="960" src="res/screen/ios/Default@2x~iphone.png" width="640" />
79+
<splash height="1136" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
80+
<splash height="1334" src="res/screen/ios/Default-667h.png" width="750" />
81+
<splash height="2208" src="res/screen/ios/Default-736h.png" width="1242" />
82+
<splash height="1242" src="res/screen/ios/Default-Landscape-736h.png" width="2208" />
83+
<splash height="2436" src="res/screen/ios/Default-2436h.png" width="1125" />
84+
<splash height="1125" src="res/screen/ios/Default-Landscape-2436h.png" width="2436" />
85+
<splash height="2688" src="res/screen/ios/Default-2688h.png" width="1242" />
86+
<splash height="1242" src="res/screen/ios/Default-Landscape-2688h.png" width="2688" />
87+
<splash height="1792" src="res/screen/ios/Default-1792h.png" width="828" />
88+
<splash height="828" src="res/screen/ios/Default-Landscape-1792h.png" width="1792" />
89+
<splash height="1024" src="res/screen/ios/Default-Portrait~ipad.png" width="768" />
90+
<splash height="2048" src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
91+
<splash height="768" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
92+
<splash height="1536" src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
93+
<config-file parent="NSCameraUsageDescription" target="*-Info.plist">
94+
<string>This application requires access to the devices camera to record and send the users camera image via video chat functionality</string>
95+
</config-file>
96+
<config-file parent="NSPhotoLibraryUsageDescription" target="*-Info.plist">
97+
<string>TThis application requires access to the devices image library to display an image as the users profile picture and/or send images via message chat functionality</string>
98+
</config-file>
99+
<config-file parent="NSMicrophoneUsageDescription" target="*-Info.plist">
100+
<string>This application requires access to the devices microphone to record and send the users voice message via video/voice chat functionality</string>
101+
</config-file>
102+
<config-file parent="NSBluetoothAlwaysUsageDescription" target="*-Info.plist">
103+
<string>This application requires access to the bluetooth wireless headphones and microphone to broadcast or record and send the users voice message via video/voice chat functionality</string>
104+
</config-file>
105+
</platform>
106+
<plugin name="cordova-plugin-whitelist" spec="^1.3.4" />
107+
<plugin name="cordova.plugins.diagnostic" spec="^5.0.0" />
108+
<plugin name="cordova-plugin-statusbar" spec="^2.4.3" />
109+
<plugin name="cordova-plugin-background-mode" spec="^0.7.3" />
110+
<plugin name="cordova-plugin-wkwebview-engine" spec="^1.2.1" />
111+
<plugin name="cordova-plugin-ipad-multitasking" spec="^0.1.1" />
112+
<plugin name="cordova-custom-config" spec="^5.1.0" />
113+
<engine name="android" spec="^8.1.0" />
114+
<plugin name="cordova-plugin-iosrtc" spec="https://github.com/cordova-rtc/cordova-plugin-iosrtc#bugs/ontrack" />
115+
<engine name="ios" spec="latest" />
116+
</widget>

hooks/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one
4+
# or more contributor license agreements. See the NOTICE file
5+
# distributed with this work for additional information
6+
# regarding copyright ownership. The ASF licenses this file
7+
# to you under the Apache License, Version 2.0 (the
8+
# "License"); you may not use this file except in compliance
9+
# with the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
#
20+
-->
21+
# Cordova Hooks
22+
23+
Cordova Hooks represent special scripts which could be added by application and plugin developers or even by your own build system to customize cordova commands. See Hooks Guide for more details: http://cordova.apache.org/docs/en/edge/guide_appdev_hooks_index.md.html#Hooks%20Guide.

iosrtc.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
# Change test version for iOSRTCApp
3+
cordova plugin remove cordova-plugin-iosrtc --verbose
4+
#cordova plugin add https://github.com/cordova-rtc/cordova-plugin-iosrtc#master --verbose
5+
#cordova plugin add https://github.com/cordova-rtc/cordova-plugin-iosrtc#task/m75 --verbose
6+
#cordova plugin add https://github.com/cordova-rtc/cordova-plugin-iosrtc#6.0.10 --verbose
7+
cordova plugin add https://github.com/cordova-rtc/cordova-plugin-iosrtc#bugs/ontrack --verbose
8+
cordova platform remove ios --no-save
9+
cordova platform add ios@latest --no-save

0 commit comments

Comments
 (0)