react-native-salespanda 0.5.3 → 0.6.0
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/android/build.gradle +15 -198
- package/package.json +2 -2
package/android/build.gradle
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
buildscript {
|
|
2
|
-
ext.getExtOrDefault = {name ->
|
|
3
|
-
return rootProject.ext.has(name)
|
|
2
|
+
ext.getExtOrDefault = { name ->
|
|
3
|
+
return rootProject.ext.has(name)
|
|
4
|
+
? rootProject.ext.get(name)
|
|
5
|
+
: project.properties['Salespanda_' + name]
|
|
4
6
|
}
|
|
5
7
|
|
|
6
8
|
repositories {
|
|
@@ -10,19 +12,18 @@ buildscript {
|
|
|
10
12
|
|
|
11
13
|
dependencies {
|
|
12
14
|
classpath "com.android.tools.build:gradle:8.7.2"
|
|
13
|
-
// noinspection DifferentKotlinGradleVersion
|
|
14
15
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${getExtOrDefault('kotlinVersion')}"
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
|
|
19
19
|
apply plugin: "com.android.library"
|
|
20
20
|
apply plugin: "kotlin-android"
|
|
21
|
-
|
|
22
21
|
apply plugin: "com.facebook.react"
|
|
23
22
|
|
|
24
23
|
def getExtOrIntegerDefault(name) {
|
|
25
|
-
return rootProject.ext.has(name)
|
|
24
|
+
return rootProject.ext.has(name)
|
|
25
|
+
? rootProject.ext.get(name)
|
|
26
|
+
: project.properties["Salespanda_" + name].toInteger()
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
android {
|
|
@@ -39,202 +40,15 @@ android {
|
|
|
39
40
|
buildConfig true
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
flavorDimensions "flavor-type"
|
|
43
|
-
|
|
44
|
-
productFlavors {
|
|
45
|
-
salespandadm {
|
|
46
|
-
dimension "flavor-type"
|
|
47
|
-
applicationId "com.spdigi.app"
|
|
48
|
-
namespace 'com.spdigi.app'
|
|
49
|
-
resValue "string", "app_name", "DIGI PULSE"
|
|
50
|
-
resValue "string", "_file_provider_authority", "com.spdigi.app.provider"
|
|
51
|
-
resValue "string", "freshchat_file_provider_authority", "com.spdigi.app.provider"
|
|
52
|
-
resValue "string", "clevertap_account_id", "48K-6K5-ZK6Z"
|
|
53
|
-
resValue "string", "clevertap_token", "536-3b4"
|
|
54
|
-
resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
55
|
-
resValue "string", "host", "app.technochimes.com"
|
|
56
|
-
resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
57
|
-
versionCode 57
|
|
58
|
-
versionName "2.3"
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
abc {
|
|
62
|
-
dimension "flavor-type"
|
|
63
|
-
applicationId "com.stellarsp.app"
|
|
64
|
-
namespace 'com.stellarsp.app'
|
|
65
|
-
resValue "string", "app_name", "ABC"
|
|
66
|
-
resValue "string", "_file_provider_authority", "com.stellarsp.app.provider"
|
|
67
|
-
resValue "string", "freshchat_file_provider_authority", "com.stellarsp.app.provider"
|
|
68
|
-
resValue "string", "clevertap_account_id", "48K-6K5-ZK6Z"
|
|
69
|
-
resValue "string", "clevertap_token", "536-3b4"
|
|
70
|
-
resValue "string", "twscheme", "org.abc.android.oauth"
|
|
71
|
-
resValue "string", "host", "app.abcstellarpartner.com"
|
|
72
|
-
resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
73
|
-
versionCode 45
|
|
74
|
-
versionName "2.2.4"
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// salespandadm {
|
|
78
|
-
// dimension "flavor-type"
|
|
79
|
-
// applicationId "com.salespandadm.app"
|
|
80
|
-
// resValue "string", "app_name", "SP PreProd"
|
|
81
|
-
// resValue "string", "_file_provider_authority", "com.salespandadm.app.provider"
|
|
82
|
-
// resValue "string", "freshchat_file_provider_authority", "com.salespandadm.app.provider"
|
|
83
|
-
// resValue "string", "clevertap_account_id", "48K-6K5-ZK6Z"
|
|
84
|
-
// resValue "string", "clevertap_token", "536-3b4"
|
|
85
|
-
// resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
86
|
-
// resValue "string", "host", "app.sppreprod.in"
|
|
87
|
-
// resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
88
|
-
// versionCode 21
|
|
89
|
-
// versionName "1.1.8"
|
|
90
|
-
// }
|
|
91
|
-
|
|
92
|
-
// salespandadm {
|
|
93
|
-
// dimension "flavor-type"
|
|
94
|
-
// applicationId "com.salespandadm.app"
|
|
95
|
-
// resValue "string", "app_name", "SP Pulse"
|
|
96
|
-
// resValue "string", "_file_provider_authority", "com.salespandadm.app.provider"
|
|
97
|
-
// resValue "string", "freshchat_file_provider_authority", "com.salespandadm.app.provider"
|
|
98
|
-
// resValue "string", "clevertap_account_id", "48K-6K5-ZK6Z"
|
|
99
|
-
// resValue "string", "clevertap_token", "536-3b4"
|
|
100
|
-
// resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
101
|
-
// resValue "string", "host", "app.sppreprod.in"
|
|
102
|
-
// resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
103
|
-
// versionCode 21
|
|
104
|
-
// versionName "1.1.8"
|
|
105
|
-
// }
|
|
106
|
-
|
|
107
|
-
// salespandadm {
|
|
108
|
-
// dimension "flavor-type"
|
|
109
|
-
// applicationId "com.test.myapplicationtest"
|
|
110
|
-
// resValue "string", "app_name", "SP TestMFP"
|
|
111
|
-
// resValue "string", "_file_provider_authority", "com.test.myapplicationtest.provider"
|
|
112
|
-
// resValue "string", "freshchat_file_provider_authority", "com.test.myapplicationtest.provider"
|
|
113
|
-
// resValue "string", "clevertap_account_id", "48K-6K5-ZK6Z"
|
|
114
|
-
// resValue "string", "clevertap_token", "536-3b4"
|
|
115
|
-
// resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
116
|
-
// resValue "string", "host", "app.sppreprod.in"
|
|
117
|
-
// versionCode 21
|
|
118
|
-
// versionName "1.1.8"
|
|
119
|
-
// }
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
hdfc {
|
|
123
|
-
dimension "flavor-type"
|
|
124
|
-
applicationId "com.hdfcmf.app"
|
|
125
|
-
namespace 'com.hdfcmf.app'
|
|
126
|
-
resValue "string", "app_name", "Connekt"
|
|
127
|
-
resValue "string", "_file_provider_authority", "com.hdfcmf.app.provider"
|
|
128
|
-
resValue "string", "freshchat_file_provider_authority", "com.hdfcmf.app.provider"
|
|
129
|
-
resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
130
|
-
resValue "string", "clevertap_account_id", "844-4WK-795Z"
|
|
131
|
-
resValue "string", "clevertap_token", "304-44b"
|
|
132
|
-
resValue "string", "host", "app.mutualfundpartner.com"
|
|
133
|
-
resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
134
|
-
versionCode 142
|
|
135
|
-
versionName "1.9.2"
|
|
136
|
-
}
|
|
137
|
-
digiconnect {
|
|
138
|
-
dimension "flavor-type"
|
|
139
|
-
applicationId "com.digiconnectdm.app"
|
|
140
|
-
namespace 'com.digiconnectdm.app'
|
|
141
|
-
resValue "string", "app_name", "MO Digiconnect"
|
|
142
|
-
resValue "string", "_file_provider_authority", "com.digiconnectdm.app.provider"
|
|
143
|
-
resValue "string", "freshchat_file_provider_authority", "com.digiconnectdm.app.provider"
|
|
144
|
-
resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
145
|
-
resValue "string", "clevertap_account_id", "4W5-Z89-676Z"
|
|
146
|
-
resValue "string", "clevertap_token", "cb1-504"
|
|
147
|
-
resValue "string", "host", "app.digipartnerconnect.com"
|
|
148
|
-
resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
149
|
-
versionCode 31
|
|
150
|
-
versionName "1.2.1"
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
maxlife {
|
|
154
|
-
dimension "flavor-type"
|
|
155
|
-
applicationId "com.maxlifedm.app"
|
|
156
|
-
namespace 'com.maxlifedm.app'
|
|
157
|
-
resValue "string", "app_name", "mEngage"
|
|
158
|
-
resValue "string", "_file_provider_authority", "com.maxlifedm.app.provider"
|
|
159
|
-
resValue "string", "freshchat_file_provider_authority", "com.maxlifedm.app.provider"
|
|
160
|
-
resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
161
|
-
resValue "string", "clevertap_account_id", "W4R-R65-995Z"
|
|
162
|
-
resValue "string", "clevertap_token", "562-240"
|
|
163
|
-
resValue "string", "host", "app.axismaxlife.agency"
|
|
164
|
-
resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
165
|
-
versionCode 86
|
|
166
|
-
versionName "1.6.2"
|
|
167
|
-
}
|
|
168
|
-
//app.mutualfundpartner.com.oauth
|
|
169
|
-
nimf {
|
|
170
|
-
dimension "flavor-type"
|
|
171
|
-
applicationId "com.nimfdm.app"
|
|
172
|
-
namespace 'com.nimfdm.app'
|
|
173
|
-
resValue "string", "app_name", "NIMF Marketing"
|
|
174
|
-
resValue "string", "_file_provider_authority", "com.nimfdm.app.provider"
|
|
175
|
-
resValue "string", "freshchat_file_provider_authority", "com.nimfdm.app.provider"
|
|
176
|
-
resValue "string", "clevertap_account_id", "RK8-W4W-4W6Z"
|
|
177
|
-
resValue "string", "clevertap_token", "040-b32"
|
|
178
|
-
resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
179
|
-
resValue "string", "host", "app.nimfpartners.com"
|
|
180
|
-
resValue "string", "default_notification_channel_id", "messages_channel_id_nimf"
|
|
181
|
-
versionCode 92
|
|
182
|
-
versionName "1.8"
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
canara {
|
|
186
|
-
dimension "flavor-type"
|
|
187
|
-
applicationId "com.smartmfdpro.app"
|
|
188
|
-
namespace 'com.smartmfdpro.app'
|
|
189
|
-
resValue "string", "app_name", "smarTMFDPro"
|
|
190
|
-
resValue "string", "_file_provider_authority", "com.smartmfdpro.app.provider"
|
|
191
|
-
resValue "string", "freshchat_file_provider_authority", "com.smartmfdpro.app.provider"
|
|
192
|
-
resValue "string", "clevertap_account_id", "474-545-796Z"
|
|
193
|
-
resValue "string", "clevertap_token", "545-4a4"
|
|
194
|
-
resValue "string", "twscheme", "org.salespanda.android.oauth"
|
|
195
|
-
resValue "string", "host", "app.smartmfdpro.com"
|
|
196
|
-
resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
197
|
-
versionCode 43
|
|
198
|
-
versionName "1.4.2"
|
|
199
|
-
}
|
|
200
|
-
// maxbupa {
|
|
201
|
-
// dimension "flavor-type"
|
|
202
|
-
// applicationId "com.digitaldukaan.app"
|
|
203
|
-
// resValue "string", "app_name", "Digital Dukaan"
|
|
204
|
-
// }
|
|
205
|
-
|
|
206
|
-
// digiconnect {
|
|
207
|
-
// dimension "flavor-type"
|
|
208
|
-
// applicationId "com.digiconnect.app"
|
|
209
|
-
// resValue "string", "app_name", "Digi Connect"
|
|
210
|
-
// }
|
|
211
|
-
rakshaconnect {
|
|
212
|
-
dimension "flavor-type"
|
|
213
|
-
applicationId "com.rakshaconnect.app"
|
|
214
|
-
namespace 'com.rakshaconnect.app'
|
|
215
|
-
resValue "string", "app_name", "Raksha Connect"
|
|
216
|
-
resValue "string", "_file_provider_authority", "com.rakshaconnect.app.provider"
|
|
217
|
-
resValue "string", "freshchat_file_provider_authority", "com.rakshaconnect.app.provider"
|
|
218
|
-
resValue "string", "twscheme", "org.rcdm.android.oauth"
|
|
219
|
-
resValue "string", "clevertap_account_id", ""
|
|
220
|
-
resValue "string", "clevertap_token", ""
|
|
221
|
-
resValue "string", "host", "app.tataaiapartner.com"
|
|
222
|
-
resValue "string", "default_notification_channel_id", "messages_channel_id_sp_apps"
|
|
223
|
-
versionCode 68
|
|
224
|
-
versionName "1.5.6"
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
43
|
buildTypes {
|
|
44
|
+
debug {
|
|
45
|
+
minifyEnabled false
|
|
46
|
+
}
|
|
229
47
|
release {
|
|
230
48
|
minifyEnabled false
|
|
231
49
|
}
|
|
232
50
|
}
|
|
233
51
|
|
|
234
|
-
lintOptions {
|
|
235
|
-
disable "GradleCompatible"
|
|
236
|
-
}
|
|
237
|
-
|
|
238
52
|
compileOptions {
|
|
239
53
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
240
54
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
@@ -246,15 +60,18 @@ android {
|
|
|
246
60
|
"generated/java",
|
|
247
61
|
"generated/jni"
|
|
248
62
|
]
|
|
249
|
-
// Include assets from src/assets
|
|
250
63
|
assets.srcDirs += ["../src/assets"]
|
|
251
64
|
}
|
|
252
65
|
}
|
|
66
|
+
|
|
67
|
+
lintOptions {
|
|
68
|
+
disable "GradleCompatible"
|
|
69
|
+
}
|
|
253
70
|
}
|
|
254
71
|
|
|
255
72
|
repositories {
|
|
256
|
-
mavenCentral()
|
|
257
73
|
google()
|
|
74
|
+
mavenCentral()
|
|
258
75
|
}
|
|
259
76
|
|
|
260
77
|
def kotlin_version = getExtOrDefault("kotlinVersion")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-salespanda",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "React Native SDK for multi-tenant enterprise applications with product flavors support",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"react-native": "0.81.1",
|
|
93
93
|
"react-native-builder-bob": "^0.40.13",
|
|
94
94
|
"react-native-gesture-handler": "^2.29.1",
|
|
95
|
-
"react-native-reanimated": "
|
|
95
|
+
"react-native-reanimated": "3.19.4",
|
|
96
96
|
"react-native-safe-area-context": "^5.6.2",
|
|
97
97
|
"react-native-screens": "^4.18.0",
|
|
98
98
|
"react-native-size-matters": "^0.4.2",
|