pushwoosh-cordova-plugin 8.3.40 → 8.3.42

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.
@@ -1,34 +0,0 @@
1
- {
2
- "name": "com.pushwoosh.newdemo",
3
- "displayName": "newdemo",
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": "^14.0.1",
17
- "cordova-ios": "^7.1.1",
18
- "pushwoosh-cordova-plugin": "file:../.."
19
- },
20
- "cordova": {
21
- "platforms": [
22
- "ios",
23
- "android"
24
- ],
25
- "plugins": {
26
- "pushwoosh-cordova-plugin": {
27
- "LOG_LEVEL": "DEBUG",
28
- "IOS_FOREGROUND_ALERT_TYPE": "NONE",
29
- "ANDROID_FOREGROUND_PUSH": "false",
30
- "PW_VOIP_IOS_ENABLED": "true"
31
- }
32
- }
33
- }
34
- }
@@ -1,156 +0,0 @@
1
- .scroll-view {
2
- width: 100%;
3
- height: 100%;
4
- overflow: auto;
5
- }
6
-
7
- .scroll-content {
8
- width: 100%;
9
- padding: 0px;
10
- }
11
-
12
- .container {
13
- display: flex;
14
- align-items: center;
15
- margin-top: 150px;
16
- }
17
-
18
- .container_enabled {
19
- display: flex;
20
- align-items: center;
21
- }
22
-
23
- .container_lang {
24
- display: flex;
25
- align-items: center;
26
- }
27
-
28
- .container_userId {
29
- display: flex;
30
- align-items: center;
31
- }
32
-
33
- .container_postEvent {
34
- display: flex;
35
- align-items: center;
36
- }
37
-
38
- .container_btns {
39
- display: flex;
40
- align-items: center;
41
- }
42
-
43
- .input-gap {
44
- width: 5px;
45
- }
46
-
47
- .input-container {
48
- flex: 1;
49
- margin-right: 18px;
50
- margin-left: 18px;
51
- }
52
-
53
- #textField1 {
54
- width: 100%;
55
- height: 23px;
56
- }
57
-
58
- #textField2 {
59
- width: 100%;
60
- height: 23px;
61
- }
62
-
63
- #textField3 {
64
- width: 100%;
65
- height: 23px;
66
- }
67
-
68
- #textField4 {
69
- width: 100%;
70
- height: 23px;
71
- }
72
-
73
- #textField5 {
74
- width: 100%;
75
- height: 23px;
76
- }
77
-
78
- .btn {
79
- width: 120px;
80
- height: 35px;
81
- }
82
-
83
- .btn_get {
84
- width: 100%;
85
- height: 35px;
86
- background-color: #003175;
87
- border-radius: 14px;
88
- font-weight: bold;
89
- color: white;
90
- }
91
-
92
- .container_setTags {
93
- display: flex;
94
- align-items: center;
95
- }
96
-
97
- .container_setTags input[type="text"] {
98
- width: auto;
99
- }
100
-
101
- .label {
102
- margin-right: 10px;
103
- font-weight: bold;
104
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
105
- }
106
-
107
- .container_setLanguage {
108
- margin-top: 0px;
109
- display: flex;
110
- align-items: center;
111
- }
112
-
113
- .gap {
114
- margin-bottom: 20px;
115
- }
116
-
117
- .top-image {
118
- width: 70px;
119
- height: 70px;
120
- position: absolute;
121
- top: 0;
122
- left: 50%;
123
- transform: translateX(-50%);
124
- margin-top: 70px;
125
- border-radius: 14px;
126
- }
127
-
128
- .ios-switch {
129
- position: relative;
130
- width: 50px;
131
- height: 28px;
132
- border-radius: 14px;
133
- background-color: #c0c0c0;
134
- overflow: hidden;
135
- vertical-align: middle;
136
- }
137
-
138
- .ios-switch input[type="checkbox"] {
139
- display: none;
140
- }
141
-
142
- .ios-switch label {
143
- position: absolute;
144
- top: 0;
145
- left: 0;
146
- width: 50%;
147
- height: 100%;
148
- background-color: #363636;
149
- border-radius: 14px;
150
- transition: left 0.3s ease;
151
- }
152
-
153
- .ios-switch input[type="checkbox"]:checked + label {
154
- left: 50%;
155
- background-color: #4CAF50;
156
- }
Binary file
@@ -1,132 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
-
4
- <head>
5
- <meta charset="utf-8">
6
- <meta http-equiv="Content-Security-Policy"
7
- content="default-src 'self' data: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
8
- <meta name="format-detection" content="telephone=no">
9
- <meta name="msapplication-tap-highlight" content="no">
10
- <meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
11
- <meta name="color-scheme" content="light dark">
12
- <link rel="stylesheet" href="css/index.css">
13
- <style>
14
- .container {
15
- display: flex;
16
- justify-content: space-between;
17
- align-items: center;
18
- }
19
-
20
- .label {
21
- flex-grow: 1;
22
- }
23
- </style>
24
- </head>
25
-
26
- <body>
27
- <div class="app">
28
- <div id="deviceready" class="blink">
29
- <div class="scroll-view">
30
- <div class="scroll-content" id="scroll-content">
31
- <img src="img/logo.png" alt="Your Image" class="top-image">
32
-
33
- <div class="container">
34
- <label class="label" for="switcher">REGISTER FOR NOTIFICATIONS:</label>
35
- <div class="ios-switch">
36
- <input type="checkbox" id="switcher">
37
- <label for="switcher"></label>
38
- </div>
39
- </div>
40
-
41
- <div class="gap"></div>
42
-
43
- <div class="container_enabled">
44
- <input type="text" id="textField1" placeholder="KEY">
45
- <div class="input-gap"></div>
46
- <input type="text" id="textField2" placeholder="VALUE">
47
- </div>
48
-
49
- <div class="gap"></div>
50
-
51
- <div class="container_setTags">
52
- <button class="btn_get" id="setTags">SET TAGS</button>
53
- </div>
54
-
55
- <div class="gap"></div>
56
-
57
- <div class="container_btns">
58
- <button class="btn_get" id="endCall">END CALL</button>
59
- </div>
60
-
61
- <div class="gap"></div>
62
-
63
- <div class="container_lang">
64
- <button class="btn" id="setLangBtn">SET LANGUAGE</button>
65
- <div class="input-container">
66
- <input type="text" id="textField3" placeholder="'en'">
67
- </div>
68
- </div>
69
-
70
- <div class="gap"></div>
71
-
72
- <div class="container_userId">
73
- <button class="btn" id="setUserBtn">SET USER ID</button>
74
- <div class="input-container">
75
- <input type="text" id="textField4" placeholder="USER ID">
76
- </div>
77
- </div>
78
-
79
- <div class="gap"></div>
80
-
81
- <div class="container_postEvent">
82
- <button class="btn" id="setPostEventBtn">POST EVENT</button>
83
- <div class="input-container">
84
- <input type="text" id="textField5" placeholder="EVENT NAME">
85
- </div>
86
- </div>
87
-
88
- <div class="gap"></div>
89
-
90
- <div class="container_btns">
91
- <button class="btn_get" id="getTags">GET TAGS</button>
92
- </div>
93
-
94
- <div class="gap"></div>
95
-
96
- <div class="container_btns">
97
- <button class="btn_get" id="getPushToken">GET PUSH TOKEN</button>
98
- </div>
99
-
100
- <div class="gap"></div>
101
-
102
- <div class="container_btns">
103
- <button class="btn_get" id="getHwid">GET HWID</button>
104
- </div>
105
-
106
- <div class="gap"></div>
107
-
108
- <div class="container_btns">
109
- <button class="btn_get" id="resetBadges">RESET BADGES</button>
110
- </div>
111
-
112
- <div class="gap"></div>
113
-
114
- <div class="container_btns">
115
- <button class="btn_get" id="localNotification">SEND LOCAL NOTIFICATION</button>
116
- </div>
117
-
118
- <div class="gap"></div>
119
-
120
- <div class="container_btns">
121
- <button class="btn_get" id="clearNotificationCenter">CLEAR NOTIFICATION CENTER</button>
122
- </div>
123
-
124
- </div>
125
- </div>
126
- </div>
127
- </div>
128
- <script src="cordova.js"></script>
129
- <script src="js/index.js"></script>
130
- </body>
131
-
132
- </html>