Skip to content

Commit 5194831

Browse files
authored
Merge pull request #166 from qonversion/release/3.5.1
Release 3.5.1
2 parents 66d1685 + 9bcc54a commit 5194831

9 files changed

Lines changed: 64 additions & 62 deletions

File tree

‎android/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ dependencies {
6868
//noinspection GradleDynamicVersion
6969
implementation 'com.facebook.react:react-native:+' // From node_modules
7070
implementation "com.google.firebase:firebase-messaging:21.0.1" // Used for Qonversion.handleNotification compilation
71-
implementation "io.qonversion.sandwich:sandwich:0.1.0"
71+
implementation "io.qonversion.sandwich:sandwich:0.1.2"
7272
}
7373

7474
afterEvaluate { project ->

‎example/ios/Podfile.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ PODS:
7777
- Qonversion (2.20.0):
7878
- Qonversion/Main (= 2.20.0)
7979
- Qonversion/Main (2.20.0)
80-
- QonversionSandwich (0.1.0):
80+
- QonversionSandwich (0.1.2):
8181
- Qonversion (= 2.20.0)
8282
- RCT-Folly (2021.06.28.00-v2):
8383
- boost
@@ -286,8 +286,8 @@ PODS:
286286
- React-jsinspector (0.68.2)
287287
- React-logger (0.68.2):
288288
- glog
289-
- react-native-qonversion (3.4.0):
290-
- QonversionSandwich (= 0.1.0)
289+
- react-native-qonversion (3.5.0):
290+
- QonversionSandwich (= 0.1.2)
291291
- React
292292
- React-perflogger (0.68.2)
293293
- React-RCTActionSheet (0.68.2):
@@ -526,7 +526,7 @@ SPEC CHECKSUMS:
526526
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
527527
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
528528
Qonversion: 11af455df897239813c302f9d8916c66515a6335
529-
QonversionSandwich: 1ae7f01cb3eb742313a6518722c5d1d030b306c2
529+
QonversionSandwich: fb74f3c9807fb73b8fdf758e6e7f10b49136192e
530530
RCT-Folly: 4d8508a426467c48885f1151029bc15fa5d7b3b8
531531
RCTRequired: 3e917ea5377751094f38145fdece525aa90545a0
532532
RCTTypeSafety: c43c072a4bd60feb49a9570b0517892b4305c45e
@@ -540,7 +540,7 @@ SPEC CHECKSUMS:
540540
React-jsiexecutor: b7b553412f2ec768fe6c8f27cd6bafdb9d8719e6
541541
React-jsinspector: c5989c77cb89ae6a69561095a61cce56a44ae8e8
542542
React-logger: a0833912d93b36b791b7a521672d8ee89107aff1
543-
react-native-qonversion: 64621cf65c2b0192cb1d57e6bff10145610d0f62
543+
react-native-qonversion: acc1fde8d559c4e3a83b0ceb6a7c6af25c018c54
544544
React-perflogger: a18b4f0bd933b8b24ecf9f3c54f9bf65180f3fe6
545545
React-RCTActionSheet: 547fe42fdb4b6089598d79f8e1d855d7c23e2162
546546
React-RCTAnimation: bc9440a1c37b06ae9ebbb532d244f607805c6034

‎example/ios/example.xcodeproj/project.pbxproj‎

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
1313
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1414
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
15+
1F6D88A6E52B179F4402F890 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46B3DFF3E4319863BEE665AB /* libPods-example.a */; };
1516
2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
1617
2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
1718
2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
1819
2DCD954D1E0B4F2C00145EB5 /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; };
19-
92A102E6F7208959BA127160 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0EFB46C270CA08AD4BE18BA9 /* libPods-example.a */; };
2020
A90D88B639E5B9BE4E5CC169 /* libPods-example-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 8A15F8FB406D63FC234399C8 /* libPods-example-tvOSTests.a */; };
2121
E376607E3D831381D69CE332 /* libPods-example-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1551CD4A26CA41534DD33810 /* libPods-example-tvOS.a */; };
22-
E81E90040D9C9B26FF3D2F0E /* libPods-example-exampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 504B9ACC67113021CB185DC1 /* libPods-example-exampleTests.a */; };
22+
EF2EF379DD8CEA3852E93EF7 /* libPods-example-exampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E38E12D1A0FA33D55B2EF4E /* libPods-example-exampleTests.a */; };
2323
/* End PBXBuildFile section */
2424

2525
/* Begin PBXContainerItemProxy section */
@@ -44,7 +44,6 @@
4444
00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
4545
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
4646
00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = "<group>"; };
47-
0EFB46C270CA08AD4BE18BA9 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4847
13B07F961A680F5B00A75B9A /* RN Qonversion.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RN Qonversion.app"; sourceTree = BUILT_PRODUCTS_DIR; };
4948
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = "<group>"; };
5049
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = example/AppDelegate.m; sourceTree = "<group>"; };
@@ -53,12 +52,13 @@
5352
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = "<group>"; };
5453
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = "<group>"; };
5554
1551CD4A26CA41534DD33810 /* libPods-example-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
55+
1E38E12D1A0FA33D55B2EF4E /* libPods-example-exampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example-exampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
5656
1EEAFB8AE6FF0426A0C81474 /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = "<group>"; };
5757
280C81C07460C2B1C59CDB69 /* Pods-example-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-example-tvOSTests/Pods-example-tvOSTests.release.xcconfig"; sourceTree = "<group>"; };
5858
2D02E47B1E0B4A5D006451C7 /* example-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
5959
2D02E4901E0B4A5D006451C7 /* example-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "example-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
6060
3953A48D25B36FB8B2EC464A /* Pods-example-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-example-tvOS/Pods-example-tvOS.debug.xcconfig"; sourceTree = "<group>"; };
61-
504B9ACC67113021CB185DC1 /* libPods-example-exampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example-exampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
61+
46B3DFF3E4319863BEE665AB /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; };
6262
504F4A05A0695786BFBE7FA6 /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = "<group>"; };
6363
5F01FC8542633FEE1BA15CDA /* Pods-example-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-example-tvOSTests/Pods-example-tvOSTests.debug.xcconfig"; sourceTree = "<group>"; };
6464
6A26A7A527DF87A800281166 /* example.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = example.entitlements; path = example/example.entitlements; sourceTree = "<group>"; };
@@ -76,15 +76,15 @@
7676
isa = PBXFrameworksBuildPhase;
7777
buildActionMask = 2147483647;
7878
files = (
79-
E81E90040D9C9B26FF3D2F0E /* libPods-example-exampleTests.a in Frameworks */,
79+
EF2EF379DD8CEA3852E93EF7 /* libPods-example-exampleTests.a in Frameworks */,
8080
);
8181
runOnlyForDeploymentPostprocessing = 0;
8282
};
8383
13B07F8C1A680F5B00A75B9A /* Frameworks */ = {
8484
isa = PBXFrameworksBuildPhase;
8585
buildActionMask = 2147483647;
8686
files = (
87-
92A102E6F7208959BA127160 /* libPods-example.a in Frameworks */,
87+
1F6D88A6E52B179F4402F890 /* libPods-example.a in Frameworks */,
8888
);
8989
runOnlyForDeploymentPostprocessing = 0;
9090
};
@@ -160,10 +160,10 @@
160160
E246FD5D24697EC800B85880 /* libreact-native-qonversion.a */,
161161
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
162162
ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
163-
0EFB46C270CA08AD4BE18BA9 /* libPods-example.a */,
164-
504B9ACC67113021CB185DC1 /* libPods-example-exampleTests.a */,
165163
1551CD4A26CA41534DD33810 /* libPods-example-tvOS.a */,
166164
8A15F8FB406D63FC234399C8 /* libPods-example-tvOSTests.a */,
165+
46B3DFF3E4319863BEE665AB /* libPods-example.a */,
166+
1E38E12D1A0FA33D55B2EF4E /* libPods-example-exampleTests.a */,
167167
);
168168
name = Frameworks;
169169
sourceTree = "<group>";
@@ -212,8 +212,8 @@
212212
00E356EA1AD99517003FC87E /* Sources */,
213213
00E356EB1AD99517003FC87E /* Frameworks */,
214214
00E356EC1AD99517003FC87E /* Resources */,
215-
08AE712B50078C8EE98CE847 /* [CP] Copy Pods Resources */,
216215
7295766C57B1D2A8DAC8D9FD /* [CP] Embed Pods Frameworks */,
216+
EDF9F23AECC0E491E56C0957 /* [CP] Copy Pods Resources */,
217217
);
218218
buildRules = (
219219
);
@@ -235,8 +235,8 @@
235235
13B07F8C1A680F5B00A75B9A /* Frameworks */,
236236
13B07F8E1A680F5B00A75B9A /* Resources */,
237237
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
238-
2FBE539BADFA3A3AAC601677 /* [CP] Copy Pods Resources */,
239238
4BB32E25C54EA0FA0632563F /* [CP] Embed Pods Frameworks */,
239+
8A7D4A9239D1757EBCC104A3 /* [CP] Copy Pods Resources */,
240240
);
241241
buildRules = (
242242
);
@@ -383,24 +383,6 @@
383383
shellPath = /bin/sh;
384384
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
385385
};
386-
08AE712B50078C8EE98CE847 /* [CP] Copy Pods Resources */ = {
387-
isa = PBXShellScriptBuildPhase;
388-
buildActionMask = 2147483647;
389-
files = (
390-
);
391-
inputPaths = (
392-
"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources.sh",
393-
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
394-
);
395-
name = "[CP] Copy Pods Resources";
396-
outputPaths = (
397-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
398-
);
399-
runOnlyForDeploymentPostprocessing = 0;
400-
shellPath = /bin/sh;
401-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources.sh\"\n";
402-
showEnvVarsInLog = 0;
403-
};
404386
1EEBDFEE4B07D32EF968D555 /* [CP] Check Pods Manifest.lock */ = {
405387
isa = PBXShellScriptBuildPhase;
406388
buildActionMask = 2147483647;
@@ -437,24 +419,6 @@
437419
shellPath = /bin/sh;
438420
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
439421
};
440-
2FBE539BADFA3A3AAC601677 /* [CP] Copy Pods Resources */ = {
441-
isa = PBXShellScriptBuildPhase;
442-
buildActionMask = 2147483647;
443-
files = (
444-
);
445-
inputPaths = (
446-
"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh",
447-
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
448-
);
449-
name = "[CP] Copy Pods Resources";
450-
outputPaths = (
451-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
452-
);
453-
runOnlyForDeploymentPostprocessing = 0;
454-
shellPath = /bin/sh;
455-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh\"\n";
456-
showEnvVarsInLog = 0;
457-
};
458422
4BB32E25C54EA0FA0632563F /* [CP] Embed Pods Frameworks */ = {
459423
isa = PBXShellScriptBuildPhase;
460424
buildActionMask = 2147483647;
@@ -543,6 +507,24 @@
543507
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-frameworks.sh\"\n";
544508
showEnvVarsInLog = 0;
545509
};
510+
8A7D4A9239D1757EBCC104A3 /* [CP] Copy Pods Resources */ = {
511+
isa = PBXShellScriptBuildPhase;
512+
buildActionMask = 2147483647;
513+
files = (
514+
);
515+
inputPaths = (
516+
"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh",
517+
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
518+
);
519+
name = "[CP] Copy Pods Resources";
520+
outputPaths = (
521+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
522+
);
523+
runOnlyForDeploymentPostprocessing = 0;
524+
shellPath = /bin/sh;
525+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh\"\n";
526+
showEnvVarsInLog = 0;
527+
};
546528
C32B4DF51D9FBEBDC4114C60 /* [CP] Check Pods Manifest.lock */ = {
547529
isa = PBXShellScriptBuildPhase;
548530
buildActionMask = 2147483647;
@@ -565,6 +547,24 @@
565547
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
566548
showEnvVarsInLog = 0;
567549
};
550+
EDF9F23AECC0E491E56C0957 /* [CP] Copy Pods Resources */ = {
551+
isa = PBXShellScriptBuildPhase;
552+
buildActionMask = 2147483647;
553+
files = (
554+
);
555+
inputPaths = (
556+
"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources.sh",
557+
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
558+
);
559+
name = "[CP] Copy Pods Resources";
560+
outputPaths = (
561+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
562+
);
563+
runOnlyForDeploymentPostprocessing = 0;
564+
shellPath = /bin/sh;
565+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources.sh\"\n";
566+
showEnvVarsInLog = 0;
567+
};
568568
FD10A7F022414F080027D42C /* Start Packager */ = {
569569
isa = PBXShellScriptBuildPhase;
570570
buildActionMask = 2147483647;

‎ios/RNQonversion.m‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ - (instancetype)init {
5454
}
5555

5656
RCT_EXPORT_METHOD(purchaseProduct:(NSString *)productId offeringId:(NSString *)offeringId completion:(RCTResponseSenderBlock)completion rejecter:(RCTPromiseRejectBlock)reject) {
57-
[_qonversionSandwich purchaseProduct:productId :offeringId completion:^(NSDictionary<NSString *,id> * _Nullable result, SandwichError * _Nullable error) {
57+
[_qonversionSandwich purchaseProduct:productId offeringId:offeringId completion:^(NSDictionary<NSString *,id> * _Nullable result, SandwichError * _Nullable error) {
5858
[self handlePurchaseResult:result error:error completion:completion rejecter:reject];
5959
}];
6060
}

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-qonversion",
33
"title": "React Native Qonversion",
4-
"version": "3.5.0",
4+
"version": "3.5.1",
55
"description": "Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and content using our StoreKit wrapper and Google Play Billing wrapper.",
66
"main": "build/index.js",
77
"scripts": {

‎react-native-qonversion.podspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ Pod::Spec.new do |s|
2222
s.requires_arc = true
2323

2424
s.dependency "React"
25-
s.dependency "QonversionSandwich", "0.1.0"
25+
s.dependency "QonversionSandwich", "0.1.2"
2626
end

‎src/classes/Qonversion.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {PromoPurchasesDelegate} from './PromoPurchasesDelegate';
1919

2020
const {RNQonversion} = NativeModules;
2121

22-
const sdkVersion = "3.5.0";
22+
const sdkVersion = "3.5.1";
2323

2424
const EVENT_PERMISSIONS_UPDATED = "permissions_updated";
2525
const EVENT_PROMO_PURCHASE_RECEIVED = "promo_purchase_received";

‎src/enums.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ export enum Property {
4747
ADJUST_USER_ID = 3,
4848
KOCHAVA_DEVICE_ID = 4,
4949
CUSTOM_USER_ID = 5,
50-
FACEBOOK_ATTRIBUTION = 6,
51-
ADVERTISING_ID = 7,
52-
FIREBASE_APP_INSTANCE_ID = 8
50+
FACEBOOK_ATTRIBUTION = 6, // Android only
51+
ADVERTISING_ID = 7, // iOS only
52+
FIREBASE_APP_INSTANCE_ID = 8,
53+
APP_SET_ID = 9, // Android only
5354
}
5455

5556
export enum Provider {

‎src/utils.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ const propertyKeyMap = {
1616
[Property.ADJUST_USER_ID]: "AdjustAdId",
1717
[Property.KOCHAVA_DEVICE_ID]: "KochavaDeviceId",
1818
[Property.CUSTOM_USER_ID]: "CustomUserId",
19-
[Property.FACEBOOK_ATTRIBUTION]: "FacebookAttribution", // android only
20-
[Property.ADVERTISING_ID]: "AdvertisingId", // ios only
21-
[Property.FIREBASE_APP_INSTANCE_ID]: "FirebaseAppInstanceId"
19+
[Property.FACEBOOK_ATTRIBUTION]: "FacebookAttribution",
20+
[Property.ADVERTISING_ID]: "AdvertisingId",
21+
[Property.FIREBASE_APP_INSTANCE_ID]: "FirebaseAppInstanceId",
22+
[Property.APP_SET_ID]: "AppSetId",
2223
};
2324

2425
export const convertPropertyToNativeKey = (property: Property): string => {

0 commit comments

Comments
 (0)