cordova-plugin-insider 2.3.0 → 2.4.1
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/babel.config.json +9 -0
- package/package.json +14 -3
- package/plugin.xml +2 -2
- package/src/android/Constants.java +9 -0
- package/src/android/InsiderPlugin.java +51 -16
- package/src/android/build-extras.gradle +6 -5
- package/src/ios/InsiderPlugin.m +5 -1
- package/www/CallbackType.js +9 -7
- package/www/Constants.js +112 -101
- package/www/ContentOptimizerDataType.js +4 -2
- package/www/Event.js +140 -103
- package/www/Gender.js +5 -3
- package/www/Identifier.js +84 -66
- package/www/InsiderPlugin.js +739 -679
- package/www/Product.js +429 -236
- package/www/User.js +410 -324
- package/www/Utils.js +18 -16
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cordova-plugin-insider",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "A plugin that you can use Insider SDK with Cordova and Ionic",
|
|
5
5
|
"cordova_name": "Insider Cordova Plugin",
|
|
6
6
|
"cordova": {
|
|
7
7
|
"id": "cordova-plugin-insider",
|
|
8
|
-
"platforms": [
|
|
8
|
+
"platforms": [
|
|
9
|
+
"android",
|
|
10
|
+
"ios"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "babel js --out-dir www --copy-files"
|
|
9
15
|
},
|
|
10
16
|
"keywords": [
|
|
11
17
|
"cordova-plugin-insider",
|
|
@@ -15,5 +21,10 @@
|
|
|
15
21
|
"main": "www/InsiderPlugin.js",
|
|
16
22
|
"typings": "types/InsiderPlugin.d.ts",
|
|
17
23
|
"author": "useinsider",
|
|
18
|
-
"license": "ISC"
|
|
24
|
+
"license": "ISC",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@babel/cli": "^7.27.2",
|
|
27
|
+
"@babel/core": "^7.27.4",
|
|
28
|
+
"@babel/preset-env": "^7.27.2"
|
|
29
|
+
}
|
|
19
30
|
}
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="cordova-plugin-insider" version="2.
|
|
2
|
+
<plugin id="cordova-plugin-insider" version="2.4.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
<name>Insider</name>
|
|
4
4
|
<description>Insider Cordova Plugin</description>
|
|
5
5
|
<keywords>insider,cordova,cordova-ios,cordova-android</keywords>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
<pods use-frameworks="true">
|
|
73
73
|
<pod name="InsiderMobile" spec="13.12.1" />
|
|
74
74
|
<pod name="InsiderGeofence" spec="1.2.0" />
|
|
75
|
-
<pod name="InsiderHybrid" spec="1.
|
|
75
|
+
<pod name="InsiderHybrid" spec="1.7.3" />
|
|
76
76
|
</pods>
|
|
77
77
|
</podspec>
|
|
78
78
|
|
|
@@ -39,4 +39,13 @@ class Constants {
|
|
|
39
39
|
static final String PROMOTION_NAME = "promotion_name";
|
|
40
40
|
static final String PROMOTION_DISCOUNT = "promotion_discount";
|
|
41
41
|
static final String GROUP_CODE = "groupcode";
|
|
42
|
+
static final String BRAND = "brnd";
|
|
43
|
+
static final String SKU = "sku";
|
|
44
|
+
static final String PRODUCT_GENDER = "ge";
|
|
45
|
+
static final String MULTIPACK = "mlt";
|
|
46
|
+
static final String PRODUCT_TYPE = "pt";
|
|
47
|
+
static final String GTIN = "gt";
|
|
48
|
+
static final String DESCRIPTION = "desc";
|
|
49
|
+
static final String TAGS = "tags";
|
|
50
|
+
static final String IS_IN_STOCK = "iis";
|
|
42
51
|
}
|
|
@@ -64,18 +64,6 @@ public class InsiderPlugin extends CordovaPlugin {
|
|
|
64
64
|
cordova.getActivity().runOnUiThread(new Runnable() {
|
|
65
65
|
@Override
|
|
66
66
|
public void run() {
|
|
67
|
-
InsiderHybrid.initWithActivity(cordova.getActivity(), partnerName);
|
|
68
|
-
|
|
69
|
-
Insider.Instance.setSDKType("cordova");
|
|
70
|
-
Insider.Instance.setHybridSDKVersion(sdkVersion);
|
|
71
|
-
Insider.Instance.resumeSessionHybridConfig(cordova.getActivity());
|
|
72
|
-
|
|
73
|
-
if (isCoreInitialized) {
|
|
74
|
-
Insider.Instance.resumeSessionHybridRequestConfig();
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
isCoreInitialized = true;
|
|
78
|
-
|
|
79
67
|
Insider.Instance.registerInsiderCallback(new InsiderCallback() {
|
|
80
68
|
@Override
|
|
81
69
|
public void doAction(JSONObject jsonObject, InsiderCallbackType insiderCallbackType) {
|
|
@@ -88,6 +76,18 @@ public class InsiderPlugin extends CordovaPlugin {
|
|
|
88
76
|
}
|
|
89
77
|
}
|
|
90
78
|
});
|
|
79
|
+
|
|
80
|
+
InsiderHybrid.initWithActivity(cordova.getActivity(), partnerName);
|
|
81
|
+
|
|
82
|
+
Insider.Instance.setSDKType("cordova");
|
|
83
|
+
Insider.Instance.setHybridSDKVersion(sdkVersion);
|
|
84
|
+
Insider.Instance.resumeSessionHybridConfig(cordova.getActivity());
|
|
85
|
+
|
|
86
|
+
if (isCoreInitialized) {
|
|
87
|
+
Insider.Instance.resumeSessionHybridRequestConfig();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
isCoreInitialized = true;
|
|
91
91
|
|
|
92
92
|
Insider.Instance.storePartnerName(partnerName);
|
|
93
93
|
}
|
|
@@ -252,11 +252,11 @@ public class InsiderPlugin extends CordovaPlugin {
|
|
|
252
252
|
|
|
253
253
|
cordova.getThreadPool().execute(() -> {
|
|
254
254
|
try {
|
|
255
|
-
int limit =args.getInt(0);
|
|
256
|
-
|
|
257
|
-
|
|
255
|
+
int limit = args.getInt(0);
|
|
256
|
+
long startDateEpoch = Long.parseLong(args.getString(1));
|
|
257
|
+
long endDateEpoch = Long.parseLong(args.getString(2));
|
|
258
258
|
|
|
259
|
-
InsiderHybrid.getMessageCenterData(limit,
|
|
259
|
+
InsiderHybrid.getMessageCenterData(limit, startDateEpoch, endDateEpoch, new MessageCenterData() {
|
|
260
260
|
@Override
|
|
261
261
|
public void loadMessageCenterData(JSONArray jsonArray) {
|
|
262
262
|
callbackSuccess(callbackContext, jsonArray.toString());
|
|
@@ -951,6 +951,41 @@ public class InsiderPlugin extends CordovaPlugin {
|
|
|
951
951
|
case Constants.GROUP_CODE:
|
|
952
952
|
product.setGroupCode((String) value);
|
|
953
953
|
break;
|
|
954
|
+
case Constants.BRAND:
|
|
955
|
+
product.setBrand((String) value);
|
|
956
|
+
break;
|
|
957
|
+
case Constants.SKU:
|
|
958
|
+
product.setSku((String) value);
|
|
959
|
+
break;
|
|
960
|
+
case Constants.PRODUCT_GENDER:
|
|
961
|
+
product.setGender((String) value);
|
|
962
|
+
break;
|
|
963
|
+
case Constants.MULTIPACK:
|
|
964
|
+
product.setMultipack((String) value);
|
|
965
|
+
break;
|
|
966
|
+
case Constants.PRODUCT_TYPE:
|
|
967
|
+
product.setProductType((String) value);
|
|
968
|
+
break;
|
|
969
|
+
case Constants.GTIN:
|
|
970
|
+
product.setGtin((String) value);
|
|
971
|
+
break;
|
|
972
|
+
case Constants.DESCRIPTION:
|
|
973
|
+
product.setDescription((String) value);
|
|
974
|
+
break;
|
|
975
|
+
case Constants.TAGS:
|
|
976
|
+
String[] tags;
|
|
977
|
+
|
|
978
|
+
if (value.getClass().isArray()) {
|
|
979
|
+
tags = (String[]) value;
|
|
980
|
+
} else {
|
|
981
|
+
tags = ((ArrayList<String>) value).toArray(new String[0]);
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
product.setTags(tags);
|
|
985
|
+
break;
|
|
986
|
+
case Constants.IS_IN_STOCK:
|
|
987
|
+
product.setInStock((boolean) value);
|
|
988
|
+
break;
|
|
954
989
|
default:
|
|
955
990
|
setProductCustomAttribute(product, entry.getKey(), value);
|
|
956
991
|
break;
|
|
@@ -5,23 +5,24 @@ repositories {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
android {
|
|
8
|
-
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
8
|
+
compileSdkVersion project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
|
|
9
9
|
useLibrary 'org.apache.http.legacy'
|
|
10
10
|
|
|
11
11
|
defaultConfig {
|
|
12
|
-
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion :
|
|
13
|
-
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
12
|
+
minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
|
|
13
|
+
targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
|
|
14
14
|
multiDexEnabled true
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
dependencies {
|
|
19
|
-
implementation 'com.useinsider:insider:14.10.
|
|
20
|
-
implementation 'com.useinsider:insiderhybrid:1.2
|
|
19
|
+
implementation 'com.useinsider:insider:14.10.6'
|
|
20
|
+
implementation 'com.useinsider:insiderhybrid:1.3.2'
|
|
21
21
|
|
|
22
22
|
implementation 'com.fasterxml.jackson.core:jackson-core:2.12.4'
|
|
23
23
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
|
|
24
24
|
|
|
25
|
+
implementation "androidx.work:work-runtime:2.9.1"
|
|
25
26
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
26
27
|
implementation 'androidx.lifecycle:lifecycle-process:2.7.0'
|
|
27
28
|
implementation 'androidx.security:security-crypto:1.1.0-alpha06'
|
package/src/ios/InsiderPlugin.m
CHANGED
|
@@ -495,7 +495,11 @@
|
|
|
495
495
|
@try {
|
|
496
496
|
[self.commandDelegate runInBackground:^{
|
|
497
497
|
if (![command.arguments objectAtIndex:0] || ![command.arguments objectAtIndex:1] || ![command.arguments objectAtIndex:2]) return;
|
|
498
|
-
|
|
498
|
+
|
|
499
|
+
NSInteger startDateEpoch = [[command.arguments objectAtIndex:1] integerValue];
|
|
500
|
+
NSInteger endDateEpoch = [[command.arguments objectAtIndex:2] integerValue];
|
|
501
|
+
|
|
502
|
+
[InsiderHybrid getMessageCenterDataWithLimit:[[command.arguments objectAtIndex:0] intValue] startDate:startDateEpoch endDate:endDateEpoch success:^(NSArray *messageCenterData) {
|
|
499
503
|
[self sendSuccessResultWithArray:messageCenterData andCommand:command];
|
|
500
504
|
}];
|
|
501
505
|
}];
|
package/www/CallbackType.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
NOTIFICATION_OPEN: 0,
|
|
5
|
+
INAPP_BUTTON_CLICK: 1,
|
|
6
|
+
TEMP_STORE_PURCHASE: 2,
|
|
7
|
+
TEMP_STORE_ADDED_TO_CART: 3,
|
|
8
|
+
TEMP_STORE_CUSTOM_ACTION: 4,
|
|
9
|
+
INAPP_SEEN: 5,
|
|
10
|
+
SESSION_STARTED: 6
|
|
9
11
|
};
|
package/www/Constants.js
CHANGED
|
@@ -1,102 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
4
|
+
// Main Class Name
|
|
5
|
+
CLASS: 'InsiderPlugin',
|
|
6
|
+
// User
|
|
7
|
+
SET_GENDER: 'setGender',
|
|
8
|
+
SET_BIRTDAY: 'setBirthday',
|
|
9
|
+
SET_NAME: 'setName',
|
|
10
|
+
SET_SURNAME: 'setSurname',
|
|
11
|
+
SET_AGE: 'setAge',
|
|
12
|
+
SET_EMAIL: 'setEmail',
|
|
13
|
+
SET_PHONE_NUMBER: 'setPhoneNumber',
|
|
14
|
+
SET_LANGUAGE: 'setLanguage',
|
|
15
|
+
SET_LOCALE: 'setLocale',
|
|
16
|
+
SET_FACEBOOK_ID: 'setFacebookID',
|
|
17
|
+
SET_TWITTER_ID: 'setTwitterID',
|
|
18
|
+
SET_EMAIL_OPTIN: 'setEmailOptin',
|
|
19
|
+
SET_SMS_OPTIN: 'setSMSOptin',
|
|
20
|
+
SET_PUSH_OPTIN: 'setPushOptin',
|
|
21
|
+
SET_LOCATION_OPTIN: 'setLocationOptin',
|
|
22
|
+
SET_WHATSAPP_OPTIN: 'setWhatsappOptin',
|
|
23
|
+
LOGIN: 'login',
|
|
24
|
+
LOGOUT: 'logout',
|
|
25
|
+
SET_CUSTOM_ATTRIBUTE_WITH_STRING: 'setCustomAttributeWithString',
|
|
26
|
+
SET_CUSTOM_ATTRIBUTE_WITH_INT: 'setCustomAttributeWithInt',
|
|
27
|
+
SET_CUSTOM_ATTRIBUTE_WITH_DOUBLE: 'setCustomAttributeWithDouble',
|
|
28
|
+
SET_CUSTOM_ATTRIBUTE_WITH_BOOLEAN: 'setCustomAttributeWithBoolean',
|
|
29
|
+
SET_CUSTOM_ATTRIBUTE_WITH_DATE: 'setCustomAttributeWithDate',
|
|
30
|
+
SET_CUSTOM_ATTRIBUTE_WITH_ARRAY: 'setCustomAttributeWithArray',
|
|
31
|
+
UNSET_CUSTOM_ATTRIBUTE: 'unsetCustomAttribute',
|
|
32
|
+
// User Identifier
|
|
33
|
+
ADD_EMAIL: 'addEmail',
|
|
34
|
+
ADD_PHONE_NUMBER: 'addPhoneNumber',
|
|
35
|
+
ADD_USER_ID: 'addUserID',
|
|
36
|
+
// Insider Functions
|
|
37
|
+
INIT_WITH_CUSTOM_ENDPOINT: 'initWithCustomEndpoint',
|
|
38
|
+
INIT_WITH_LAUNCH_OPTIONS: 'initWithLaunchOptions',
|
|
39
|
+
INIT: 'init',
|
|
40
|
+
ITEM_PURCHASED: 'itemPurchased',
|
|
41
|
+
ITEM_ADDED_TO_CART: 'itemAddedToCart',
|
|
42
|
+
ITEM_REMOVED_FROM_CART: 'itemRemovedFromCart',
|
|
43
|
+
CART_CLEARED: 'cartCleared',
|
|
44
|
+
GET_MESSAGE_CENTER_DATA: 'getMessageCenterData',
|
|
45
|
+
GET_SMART_RECOMMENDATION: 'getSmartRecommendation',
|
|
46
|
+
GET_SMART_RECOMMENDATION_WITH_PRODUCT: 'getSmartRecommendationWithProduct',
|
|
47
|
+
GET_SMART_RECOMMENDATION_WITH_PRODUCT_IDS: 'getSmartRecommendationWithProductIDs',
|
|
48
|
+
CLICK_SMART_RECOMMENDATION_PRODUCT: 'clickSmartRecommendationProduct',
|
|
49
|
+
GET_CONTENT_STRING_WITH_NAME: 'getContentStringWithName',
|
|
50
|
+
GET_CONTENT_BOOL_WITH_NAME: 'getContentBoolWithName',
|
|
51
|
+
GET_CONTENT_INT_WITH_NAME: 'getContentIntWithName',
|
|
52
|
+
GET_CONTENT_STRING_WITHOUT_CACHE: 'getContentStringWithoutCache',
|
|
53
|
+
GET_CONTENT_BOOL_WITHOUT_CACHE: 'getContentBoolWithoutCache',
|
|
54
|
+
GET_CONTENT_INT_WITHOUT_CACHE: 'getContentIntWithoutCache',
|
|
55
|
+
VISIT_HOME_PAGE: 'visitHomePage',
|
|
56
|
+
VISIT_LISTING_PAGE: 'visitListingPage',
|
|
57
|
+
VISIT_PRODUCT_DETAIL_PAGE: 'visitProductDetailPage',
|
|
58
|
+
VISIT_CART_PAGE: 'visitCartPage',
|
|
59
|
+
START_TRACKING_GEOFENCE: 'startTrackingGeofence',
|
|
60
|
+
SET_GDPR_CONSENT: 'setGDPRConsent',
|
|
61
|
+
SET_MOBILE_APP_ACCESS: 'setMobileAppAccess',
|
|
62
|
+
REMOVE_IN_APP: 'removeInapp',
|
|
63
|
+
REGISTER_WITH_QUIET_PERMISSION: 'registerWithQuietPermission',
|
|
64
|
+
SET_HYBRID_PUSH_TOKEN: 'setPushToken',
|
|
65
|
+
ENABLE_IDFA_COLLECTION: 'enableIDFACollection',
|
|
66
|
+
ENABLE_LOCATION_COLLECTION: 'enableLocationCollection',
|
|
67
|
+
ENABLE_IP_COLLECTION: 'enableIpCollection',
|
|
68
|
+
ENABLE_CARRIER_COLLECTION: 'enableCarrierCollection',
|
|
69
|
+
SIGN_UP_CONFIRMATION: 'signUpConfirmation',
|
|
70
|
+
SET_ACTIVE_FOREGROUND_PUSH_VIEW: 'setActiveForegroundPushView',
|
|
71
|
+
SET_FOREGROUND_PUSH_CALLBACK: 'setForegroundPushCallback',
|
|
72
|
+
HANDLE_NOTIFICATION: 'handleNotification',
|
|
73
|
+
GET_INSIDER_ID: 'getInsiderID',
|
|
74
|
+
REGISTER_INSIDER_ID_LISTENER: 'registerInsiderIDListener',
|
|
75
|
+
DISABLE_IN_APP_MESSAGES: 'disableInAppMessages',
|
|
76
|
+
ENABLE_IN_APP_MESSAGES: 'enableInAppMessages',
|
|
77
|
+
ITEM_ADDED_TO_WISHLIST: 'itemAddedToWishlist',
|
|
78
|
+
ITEM_REMOVED_FROM_WISHLIST: 'itemRemovedFromWishlist',
|
|
79
|
+
WISHLIST_CLEARED: 'wishlistCleared',
|
|
80
|
+
VISIT_WISHLIST_PAGE: 'visitWishlistPage',
|
|
81
|
+
// Event
|
|
82
|
+
TAG_EVENT: 'tagEvent',
|
|
83
|
+
// Product Attribute
|
|
84
|
+
SALE_PRICE: 'sale_price',
|
|
85
|
+
STOCK: 'stock',
|
|
86
|
+
COLOR: 'color',
|
|
87
|
+
SIZE: 'size',
|
|
88
|
+
QUANTITY: 'quantity',
|
|
89
|
+
SHIPPING_COST: 'shipping_cost',
|
|
90
|
+
VOUCHER_NAME: 'voucher_name',
|
|
91
|
+
VOUCHER_DISCOUNT: 'voucher_discount',
|
|
92
|
+
PROMOTION_NAME: 'promotion_name',
|
|
93
|
+
PROMOTION_DISCOUNT: 'promotion_discount',
|
|
94
|
+
GROUP_CODE: 'groupcode',
|
|
95
|
+
BRAND: "brnd",
|
|
96
|
+
SKU: "sku",
|
|
97
|
+
PRODUCT_GENDER: "ge",
|
|
98
|
+
MULTIPACK: "mlt",
|
|
99
|
+
PRODUCT_TYPE: "pt",
|
|
100
|
+
GTIN: "gt",
|
|
101
|
+
DESCRIPTION: "desc",
|
|
102
|
+
TAGS: "tags",
|
|
103
|
+
IS_IN_STOCK: "iis",
|
|
104
|
+
// Error
|
|
105
|
+
PUT_ERROR_LOG: 'putErrorLog',
|
|
106
|
+
// Platform
|
|
107
|
+
ANDROID: 'android',
|
|
108
|
+
IOS: 'ios',
|
|
109
|
+
// Reinit
|
|
110
|
+
REINIT_WITH_PARTNER_NAME: 'reinitWithPartnerName',
|
|
111
|
+
// SDK Version
|
|
112
|
+
SDK_VERSION: 'CDV-2.4.1'
|
|
113
|
+
};
|