cordova-plugin-appice 2.0.9 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/example/config.xml +59 -59
- package/example/package.json +38 -38
- package/example/res/ai_android.pem +40 -40
- package/example/www/css/index.css +116 -116
- package/example/www/index.html +62 -62
- package/example/www/js/index.js +102 -102
- package/package.json +20 -2
- package/plugin.xml +193 -128
- package/scripts/BeforeAndroidBuilt.js +136 -102
- package/scripts/BeforeIosBuilt.js +35 -35
- package/scripts/androidAfterPluginAdd.js +67 -67
- package/scripts/androidAfterPluginRm.js +112 -112
- package/scripts/iOSAfterPluginAdd.js +58 -58
- package/scripts/iOSAfterPluginRm.js +30 -31
- package/src/android/AppICEMFPPush.java +177 -0
- package/{libcordova/src/main/java/com/appice/cordova → src/android}/AppICEPlugin.java +884 -968
- package/{libcordova/src/main/java/com/appice/cordova → src/android}/CampaignCampsReceiver.java +94 -95
- package/{libcordova/src/main/java/com/appice/cordova → src/android}/NotificationEventService.java +64 -55
- package/src/build.gradle +4 -2
- package/src/ios/AppDelegate+AppICEPlugin.m +1 -2
- package/src/ios/AppICEPlugin.h +3 -0
- package/src/ios/AppICEPlugin.m +111 -12
- package/www/AppICE.js +283 -278
- package/libcordova/android-release-aar.gradle +0 -63
- package/libcordova/build.gradle +0 -50
- package/libcordova/cordova.jar +0 -0
- package/libcordova/proguard-rules.pro +0 -21
- package/libcordova/src/main/AndroidManifest.xml +0 -24
- package/libcordova/src/main/res/values/strings.xml +0 -3
- package/src/firebase/modified/modified.iml +0 -11
- package/src/firebase/original/original.iml +0 -11
package/README.md
CHANGED
|
@@ -88,8 +88,6 @@ AppICE.setCustomVariable("<variable name>", "<variable value>");
|
|
|
88
88
|
// To set user info
|
|
89
89
|
AppICE.setUser("<user-name>", "<user-phone>", "<user-email>");
|
|
90
90
|
|
|
91
|
-
//To set user id
|
|
92
|
-
AppICE.setUserId("<userID>");
|
|
93
91
|
// Build project and run
|
|
94
92
|
if (cordova-plugin) {
|
|
95
93
|
// If you are using plugin as cordova wrapper
|
package/example/config.xml
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<widget id="com.appice.sample" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:mfp="http://www.ibm.com/mobilefirst/cordova-plugin-mfp">
|
|
3
|
-
<name>SampleApp</name>
|
|
4
|
-
<description>Sample Apache Cordova App</description>
|
|
5
|
-
<author email="dev@cordova.apache.org" href="https://cordova.apache.org">
|
|
6
|
-
Apache Cordova Team
|
|
7
|
-
</author>
|
|
8
|
-
<content src="index.html" />
|
|
9
|
-
<allow-intent href="http://*/*" />
|
|
10
|
-
<allow-intent href="https://*/*" />
|
|
11
|
-
<platform name="android">
|
|
12
|
-
<preference name="APPICE_FIREBASE_UPDATE" value="false" />
|
|
13
|
-
<preference name="APPICE_APPLICATIONCLASS_INCLUDE" value="false" />
|
|
14
|
-
<preference name="MFP_PUSH" value="true" />
|
|
15
|
-
</platform>
|
|
16
|
-
<mfp:android>
|
|
17
|
-
<mfp:sdkChecksum>2324313685</mfp:sdkChecksum>
|
|
18
|
-
<mfp:appChecksum>0</mfp:appChecksum>
|
|
19
|
-
<mfp:security>
|
|
20
|
-
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
21
|
-
</mfp:security>
|
|
22
|
-
</mfp:android>
|
|
23
|
-
<mfp:ios>
|
|
24
|
-
<mfp:sdkChecksum>3763319975</mfp:sdkChecksum>
|
|
25
|
-
<mfp:appChecksum>0</mfp:appChecksum>
|
|
26
|
-
<mfp:security>
|
|
27
|
-
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
28
|
-
</mfp:security>
|
|
29
|
-
</mfp:ios>
|
|
30
|
-
<mfp:windows>
|
|
31
|
-
<mfp:windows8>
|
|
32
|
-
<mfp:sdkChecksum>0</mfp:sdkChecksum>
|
|
33
|
-
<mfp:security>
|
|
34
|
-
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
35
|
-
</mfp:security>
|
|
36
|
-
</mfp:windows8>
|
|
37
|
-
<mfp:windowsphone8>
|
|
38
|
-
<mfp:sdkChecksum>0</mfp:sdkChecksum>
|
|
39
|
-
<mfp:security>
|
|
40
|
-
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
41
|
-
</mfp:security>
|
|
42
|
-
</mfp:windowsphone8>
|
|
43
|
-
<mfp:windows10>
|
|
44
|
-
<mfp:sdkChecksum>0</mfp:sdkChecksum>
|
|
45
|
-
<mfp:security>
|
|
46
|
-
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
47
|
-
</mfp:security>
|
|
48
|
-
</mfp:windows10>
|
|
49
|
-
<mfp:appChecksum>0</mfp:appChecksum>
|
|
50
|
-
</mfp:windows>
|
|
51
|
-
<mfp:platformVersion>8.0.0.00-20230405-123148</mfp:platformVersion>
|
|
52
|
-
<mfp:clientCustomInit enabled="false" />
|
|
53
|
-
<mfp:server runtime="mfp" url="http://10.0.0.1:9080" />
|
|
54
|
-
<mfp:serverUri url="" />
|
|
55
|
-
<mfp:directUpdateAuthenticityPublicKey />
|
|
56
|
-
<mfp:languagePreferences>en</mfp:languagePreferences>
|
|
57
|
-
<mfp:APIproxyURL>/adapters/MobileAPIProxy</mfp:APIproxyURL>
|
|
58
|
-
<mfp:SDKProtocolVersion>2</mfp:SDKProtocolVersion>
|
|
59
|
-
</widget>
|
|
1
|
+
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
+
<widget id="com.appice.sample" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:mfp="http://www.ibm.com/mobilefirst/cordova-plugin-mfp">
|
|
3
|
+
<name>SampleApp</name>
|
|
4
|
+
<description>Sample Apache Cordova App</description>
|
|
5
|
+
<author email="dev@cordova.apache.org" href="https://cordova.apache.org">
|
|
6
|
+
Apache Cordova Team
|
|
7
|
+
</author>
|
|
8
|
+
<content src="index.html" />
|
|
9
|
+
<allow-intent href="http://*/*" />
|
|
10
|
+
<allow-intent href="https://*/*" />
|
|
11
|
+
<platform name="android">
|
|
12
|
+
<preference name="APPICE_FIREBASE_UPDATE" value="false" />
|
|
13
|
+
<preference name="APPICE_APPLICATIONCLASS_INCLUDE" value="false" />
|
|
14
|
+
<preference name="MFP_PUSH" value="true" />
|
|
15
|
+
</platform>
|
|
16
|
+
<mfp:android>
|
|
17
|
+
<mfp:sdkChecksum>2324313685</mfp:sdkChecksum>
|
|
18
|
+
<mfp:appChecksum>0</mfp:appChecksum>
|
|
19
|
+
<mfp:security>
|
|
20
|
+
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
21
|
+
</mfp:security>
|
|
22
|
+
</mfp:android>
|
|
23
|
+
<mfp:ios>
|
|
24
|
+
<mfp:sdkChecksum>3763319975</mfp:sdkChecksum>
|
|
25
|
+
<mfp:appChecksum>0</mfp:appChecksum>
|
|
26
|
+
<mfp:security>
|
|
27
|
+
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
28
|
+
</mfp:security>
|
|
29
|
+
</mfp:ios>
|
|
30
|
+
<mfp:windows>
|
|
31
|
+
<mfp:windows8>
|
|
32
|
+
<mfp:sdkChecksum>0</mfp:sdkChecksum>
|
|
33
|
+
<mfp:security>
|
|
34
|
+
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
35
|
+
</mfp:security>
|
|
36
|
+
</mfp:windows8>
|
|
37
|
+
<mfp:windowsphone8>
|
|
38
|
+
<mfp:sdkChecksum>0</mfp:sdkChecksum>
|
|
39
|
+
<mfp:security>
|
|
40
|
+
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
41
|
+
</mfp:security>
|
|
42
|
+
</mfp:windowsphone8>
|
|
43
|
+
<mfp:windows10>
|
|
44
|
+
<mfp:sdkChecksum>0</mfp:sdkChecksum>
|
|
45
|
+
<mfp:security>
|
|
46
|
+
<mfp:testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3" />
|
|
47
|
+
</mfp:security>
|
|
48
|
+
</mfp:windows10>
|
|
49
|
+
<mfp:appChecksum>0</mfp:appChecksum>
|
|
50
|
+
</mfp:windows>
|
|
51
|
+
<mfp:platformVersion>8.0.0.00-20230405-123148</mfp:platformVersion>
|
|
52
|
+
<mfp:clientCustomInit enabled="false" />
|
|
53
|
+
<mfp:server runtime="mfp" url="http://10.0.0.1:9080" />
|
|
54
|
+
<mfp:serverUri url="" />
|
|
55
|
+
<mfp:directUpdateAuthenticityPublicKey />
|
|
56
|
+
<mfp:languagePreferences>en</mfp:languagePreferences>
|
|
57
|
+
<mfp:APIproxyURL>/adapters/MobileAPIProxy</mfp:APIproxyURL>
|
|
58
|
+
<mfp:SDKProtocolVersion>2</mfp:SDKProtocolVersion>
|
|
59
|
+
</widget>
|
package/example/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "com.appice.sample",
|
|
3
|
-
"displayName": "SampleApp",
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"description": "A sample Apache Cordova application that responds to the deviceready event.",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [
|
|
11
|
-
"ecosystem:cordova"
|
|
12
|
-
],
|
|
13
|
-
"author": "Apache Cordova Team",
|
|
14
|
-
"license": "Apache-2.0",
|
|
15
|
-
"devDependencies": {
|
|
16
|
-
"cordova-android": "^10.1.2",
|
|
17
|
-
"cordova-ios": "^6.3.0",
|
|
18
|
-
"cordova-plugin-appice": "^2.0.4",
|
|
19
|
-
"cordova-plugin-device": "^2.1.0",
|
|
20
|
-
"cordova-plugin-dialogs": "^2.0.2",
|
|
21
|
-
"cordova-plugin-file": "^7.0.0",
|
|
22
|
-
"cordova-plugin-globalization": "^1.11.0",
|
|
23
|
-
"cordova-plugin-mfp": "^8.0.2023050905"
|
|
24
|
-
},
|
|
25
|
-
"cordova": {
|
|
26
|
-
"platforms": [
|
|
27
|
-
"android",
|
|
28
|
-
"ios"
|
|
29
|
-
],
|
|
30
|
-
"plugins": {
|
|
31
|
-
"cordova-plugin-mfp": {},
|
|
32
|
-
"cordova-plugin-appice": {
|
|
33
|
-
"APPICE_APP_ID": "5bebe93c25d705690ffbc758",
|
|
34
|
-
"APPICE_API_KEY": "d985715d1bb48942d36d5d08de3b6a8c",
|
|
35
|
-
"APPICE_APP_KEY": "9e9ec60197c8373a11ac15ce4dae80e973608ab2"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "com.appice.sample",
|
|
3
|
+
"displayName": "SampleApp",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "A sample Apache Cordova application that responds to the deviceready event.",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [
|
|
11
|
+
"ecosystem:cordova"
|
|
12
|
+
],
|
|
13
|
+
"author": "Apache Cordova Team",
|
|
14
|
+
"license": "Apache-2.0",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"cordova-android": "^10.1.2",
|
|
17
|
+
"cordova-ios": "^6.3.0",
|
|
18
|
+
"cordova-plugin-appice": "^2.0.4",
|
|
19
|
+
"cordova-plugin-device": "^2.1.0",
|
|
20
|
+
"cordova-plugin-dialogs": "^2.0.2",
|
|
21
|
+
"cordova-plugin-file": "^7.0.0",
|
|
22
|
+
"cordova-plugin-globalization": "^1.11.0",
|
|
23
|
+
"cordova-plugin-mfp": "^8.0.2023050905"
|
|
24
|
+
},
|
|
25
|
+
"cordova": {
|
|
26
|
+
"platforms": [
|
|
27
|
+
"android",
|
|
28
|
+
"ios"
|
|
29
|
+
],
|
|
30
|
+
"plugins": {
|
|
31
|
+
"cordova-plugin-mfp": {},
|
|
32
|
+
"cordova-plugin-appice": {
|
|
33
|
+
"APPICE_APP_ID": "5bebe93c25d705690ffbc758",
|
|
34
|
+
"APPICE_API_KEY": "d985715d1bb48942d36d5d08de3b6a8c",
|
|
35
|
+
"APPICE_APP_KEY": "9e9ec60197c8373a11ac15ce4dae80e973608ab2"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
39
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
|
2
|
-
MIIG8jCCBdqgAwIBAgIQDVRO7n1m2pUcMWP2AF6VMDANBgkqhkiG9w0BAQsFADBE
|
|
3
|
-
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMR4wHAYDVQQDExVE
|
|
4
|
-
aWdpQ2VydCBFViBSU0EgQ0EgRzIwHhcNMjMwNDEwMDAwMDAwWhcNMjQwNTEwMjM1
|
|
5
|
-
OTU5WjCBuTETMBEGCysGAQQBgjc8AgEDEwJJTjEaMBgGA1UEDwwRR292ZXJubWVu
|
|
6
|
-
dCBFbnRpdHkxGjAYBgNVBAUTEUdvdmVybm1lbnQgRW50aXR5MQswCQYDVQQGEwJJ
|
|
7
|
-
TjEUMBIGA1UECBMLTWFoYXJhc2h0cmExDzANBgNVBAcTBk11bWJhaTEcMBoGA1UE
|
|
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undation (ASF) under one
|
|
3
|
-
* or more contributor license agreements. See the NOTICE file
|
|
4
|
-
* distributed with this work for additional information
|
|
5
|
-
* regarding copyright ownership. The ASF licenses this file
|
|
6
|
-
* to you under the Apache License, Version 2.0 (the
|
|
7
|
-
* "License"); you may not use this file except in compliance
|
|
8
|
-
* with the License. You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing,
|
|
13
|
-
* software distributed under the License is distributed on an
|
|
14
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15
|
-
* KIND, either express or implied. See the License for the
|
|
16
|
-
* specific language governing permissions and limitations
|
|
17
|
-
* under the License.
|
|
18
|
-
*/
|
|
19
|
-
* {
|
|
20
|
-
-webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
body {
|
|
24
|
-
-webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
|
|
25
|
-
-webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
|
|
26
|
-
-webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
|
|
27
|
-
background-color:#E4E4E4;
|
|
28
|
-
background-image:linear-gradient(to bottom, #FFFFFF 0%, #E4E4E4 51%);
|
|
29
|
-
font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
|
|
30
|
-
font-size:12px;
|
|
31
|
-
height:100vh;
|
|
32
|
-
margin:0px;
|
|
33
|
-
padding:0px;
|
|
34
|
-
/* Padding to avoid the "unsafe" areas behind notches in the screen */
|
|
35
|
-
padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
|
|
36
|
-
text-transform:uppercase;
|
|
37
|
-
width:100%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* Portrait layout (default) */
|
|
41
|
-
.app {
|
|
42
|
-
background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
|
|
43
|
-
/* position in the center of the screen */
|
|
44
|
-
|
|
45
|
-
text-align:center;
|
|
46
|
-
padding:224px 0px 55px 53px; /* image height is 200px (bottom 20px are overlapped with text) */
|
|
47
|
-
margin:48px 0px 0px -48px; /* offset vertical: half of image height and text area height */
|
|
48
|
-
/* offset horizontal: half of text area width */
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* Landscape layout (with min-width) */
|
|
52
|
-
/* @media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
|
|
53
|
-
.app {
|
|
54
|
-
background-position:left center;
|
|
55
|
-
padding:75px 0px 75px 170px; padding-top + padding-bottom + text area = image height
|
|
56
|
-
margin:-90px 0px 0px -198px; offset vertical: half of image height
|
|
57
|
-
offset horizontal: half of image width and text area width
|
|
58
|
-
}
|
|
59
|
-
} */
|
|
60
|
-
|
|
61
|
-
h1 {
|
|
62
|
-
font-size:24px;
|
|
63
|
-
font-weight:normal;
|
|
64
|
-
margin:0px;
|
|
65
|
-
overflow:visible;
|
|
66
|
-
padding:0px;
|
|
67
|
-
text-align:center;
|
|
68
|
-
color:#FFFFFF;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.event {
|
|
72
|
-
border-radius:4px;
|
|
73
|
-
color:#FFFFFF;
|
|
74
|
-
font-size:12px;
|
|
75
|
-
margin:0px 30px;
|
|
76
|
-
padding:2px 0px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.event.listening {
|
|
80
|
-
background-color:#FFFFFF;
|
|
81
|
-
display:block;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.event.received {
|
|
85
|
-
background-color:#4B946A;
|
|
86
|
-
display:none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
#deviceready.ready .event.listening { display: none; }
|
|
90
|
-
#deviceready.ready .event.received { display: block; }
|
|
91
|
-
|
|
92
|
-
@keyframes fade {
|
|
93
|
-
from { opacity: 1.0; }
|
|
94
|
-
50% { opacity: 0.4; }
|
|
95
|
-
to { opacity: 1.0; }
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.blink {
|
|
99
|
-
animation:fade 3000ms infinite;
|
|
100
|
-
-webkit-animation:fade 3000ms infinite;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
@media screen and (prefers-color-scheme: dark) {
|
|
105
|
-
body {
|
|
106
|
-
background-image:linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 51%);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.btn2{
|
|
111
|
-
padding-top: 20px;
|
|
112
|
-
padding-bottom: 20px;
|
|
113
|
-
background-color: #4B946A;
|
|
114
|
-
color: #FFFFFF;
|
|
115
|
-
width: 139px;
|
|
116
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
|
3
|
+
* or more contributor license agreements. See the NOTICE file
|
|
4
|
+
* distributed with this work for additional information
|
|
5
|
+
* regarding copyright ownership. The ASF licenses this file
|
|
6
|
+
* to you under the Apache License, Version 2.0 (the
|
|
7
|
+
* "License"); you may not use this file except in compliance
|
|
8
|
+
* with the License. You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing,
|
|
13
|
+
* software distributed under the License is distributed on an
|
|
14
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15
|
+
* KIND, either express or implied. See the License for the
|
|
16
|
+
* specific language governing permissions and limitations
|
|
17
|
+
* under the License.
|
|
18
|
+
*/
|
|
19
|
+
* {
|
|
20
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
body {
|
|
24
|
+
-webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
|
|
25
|
+
-webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
|
|
26
|
+
-webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
|
|
27
|
+
background-color:#E4E4E4;
|
|
28
|
+
background-image:linear-gradient(to bottom, #FFFFFF 0%, #E4E4E4 51%);
|
|
29
|
+
font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
|
|
30
|
+
font-size:12px;
|
|
31
|
+
height:100vh;
|
|
32
|
+
margin:0px;
|
|
33
|
+
padding:0px;
|
|
34
|
+
/* Padding to avoid the "unsafe" areas behind notches in the screen */
|
|
35
|
+
padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
|
|
36
|
+
text-transform:uppercase;
|
|
37
|
+
width:100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Portrait layout (default) */
|
|
41
|
+
.app {
|
|
42
|
+
background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
|
|
43
|
+
/* position in the center of the screen */
|
|
44
|
+
|
|
45
|
+
text-align:center;
|
|
46
|
+
padding:224px 0px 55px 53px; /* image height is 200px (bottom 20px are overlapped with text) */
|
|
47
|
+
margin:48px 0px 0px -48px; /* offset vertical: half of image height and text area height */
|
|
48
|
+
/* offset horizontal: half of text area width */
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* Landscape layout (with min-width) */
|
|
52
|
+
/* @media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
|
|
53
|
+
.app {
|
|
54
|
+
background-position:left center;
|
|
55
|
+
padding:75px 0px 75px 170px; padding-top + padding-bottom + text area = image height
|
|
56
|
+
margin:-90px 0px 0px -198px; offset vertical: half of image height
|
|
57
|
+
offset horizontal: half of image width and text area width
|
|
58
|
+
}
|
|
59
|
+
} */
|
|
60
|
+
|
|
61
|
+
h1 {
|
|
62
|
+
font-size:24px;
|
|
63
|
+
font-weight:normal;
|
|
64
|
+
margin:0px;
|
|
65
|
+
overflow:visible;
|
|
66
|
+
padding:0px;
|
|
67
|
+
text-align:center;
|
|
68
|
+
color:#FFFFFF;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.event {
|
|
72
|
+
border-radius:4px;
|
|
73
|
+
color:#FFFFFF;
|
|
74
|
+
font-size:12px;
|
|
75
|
+
margin:0px 30px;
|
|
76
|
+
padding:2px 0px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.event.listening {
|
|
80
|
+
background-color:#FFFFFF;
|
|
81
|
+
display:block;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.event.received {
|
|
85
|
+
background-color:#4B946A;
|
|
86
|
+
display:none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
#deviceready.ready .event.listening { display: none; }
|
|
90
|
+
#deviceready.ready .event.received { display: block; }
|
|
91
|
+
|
|
92
|
+
@keyframes fade {
|
|
93
|
+
from { opacity: 1.0; }
|
|
94
|
+
50% { opacity: 0.4; }
|
|
95
|
+
to { opacity: 1.0; }
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.blink {
|
|
99
|
+
animation:fade 3000ms infinite;
|
|
100
|
+
-webkit-animation:fade 3000ms infinite;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
105
|
+
body {
|
|
106
|
+
background-image:linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 51%);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.btn2{
|
|
111
|
+
padding-top: 20px;
|
|
112
|
+
padding-bottom: 20px;
|
|
113
|
+
background-color: #4B946A;
|
|
114
|
+
color: #FFFFFF;
|
|
115
|
+
width: 139px;
|
|
116
|
+
|
|
117
117
|
}
|
package/example/www/index.html
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
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
|
-
<html>
|
|
21
|
-
<head>
|
|
22
|
-
<meta charset="utf-8">
|
|
23
|
-
<!--
|
|
24
|
-
Customize this policy to fit your own app's needs. For more guidance, please refer to the docs:
|
|
25
|
-
https://cordova.apache.org/docs/en/latest/
|
|
26
|
-
Some notes:
|
|
27
|
-
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
|
|
28
|
-
* Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
|
|
29
|
-
* Enable inline JS: add 'unsafe-inline' to default-src
|
|
30
|
-
-->
|
|
31
|
-
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
|
|
32
|
-
<meta name="format-detection" content="telephone=no">
|
|
33
|
-
<meta name="msapplication-tap-highlight" content="no">
|
|
34
|
-
<meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
|
|
35
|
-
<meta name="color-scheme" content="light dark">
|
|
36
|
-
<link rel="stylesheet" href="css/index.css">
|
|
37
|
-
<title>Hello World</title>
|
|
38
|
-
</head>
|
|
39
|
-
<body>
|
|
40
|
-
<div class="app">
|
|
41
|
-
<div id="deviceready" class="blink">
|
|
42
|
-
<p class="event listening">Connecting to Device</p>
|
|
43
|
-
<p class="event received">Device is Ready</p>
|
|
44
|
-
</div>
|
|
45
|
-
|
|
46
|
-
</div>
|
|
47
|
-
|
|
48
|
-
<div style="padding-top:10px ; padding-bottom: 10px; margin-left: 123px;">
|
|
49
|
-
<button id="event" class="btn2">Event</button>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
<div style="padding-top:10px ; padding-bottom: 10px; margin-left: 123px;">
|
|
53
|
-
<button id="userid" class="btn2">User ID</button>
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div style="padding-top:10px ; padding-bottom: 10px; margin-left: 123px;">
|
|
57
|
-
<button id="userinfo" class="btn2">User Info</button>
|
|
58
|
-
</div>
|
|
59
|
-
<script src="cordova.js"></script>
|
|
60
|
-
<script src="js/index.js"></script>
|
|
61
|
-
</body>
|
|
62
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
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
|
+
<html>
|
|
21
|
+
<head>
|
|
22
|
+
<meta charset="utf-8">
|
|
23
|
+
<!--
|
|
24
|
+
Customize this policy to fit your own app's needs. For more guidance, please refer to the docs:
|
|
25
|
+
https://cordova.apache.org/docs/en/latest/
|
|
26
|
+
Some notes:
|
|
27
|
+
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
|
|
28
|
+
* Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
|
|
29
|
+
* Enable inline JS: add 'unsafe-inline' to default-src
|
|
30
|
+
-->
|
|
31
|
+
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
|
|
32
|
+
<meta name="format-detection" content="telephone=no">
|
|
33
|
+
<meta name="msapplication-tap-highlight" content="no">
|
|
34
|
+
<meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
|
|
35
|
+
<meta name="color-scheme" content="light dark">
|
|
36
|
+
<link rel="stylesheet" href="css/index.css">
|
|
37
|
+
<title>Hello World</title>
|
|
38
|
+
</head>
|
|
39
|
+
<body>
|
|
40
|
+
<div class="app">
|
|
41
|
+
<div id="deviceready" class="blink">
|
|
42
|
+
<p class="event listening">Connecting to Device</p>
|
|
43
|
+
<p class="event received">Device is Ready</p>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div style="padding-top:10px ; padding-bottom: 10px; margin-left: 123px;">
|
|
49
|
+
<button id="event" class="btn2">Event</button>
|
|
50
|
+
</div>
|
|
51
|
+
|
|
52
|
+
<div style="padding-top:10px ; padding-bottom: 10px; margin-left: 123px;">
|
|
53
|
+
<button id="userid" class="btn2">User ID</button>
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div style="padding-top:10px ; padding-bottom: 10px; margin-left: 123px;">
|
|
57
|
+
<button id="userinfo" class="btn2">User Info</button>
|
|
58
|
+
</div>
|
|
59
|
+
<script src="cordova.js"></script>
|
|
60
|
+
<script src="js/index.js"></script>
|
|
61
|
+
</body>
|
|
62
|
+
</html>
|