@snowplow/react-native-tracker 2.1.0 → 2.1.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/.github/workflows/e2e-android.yml +1 -1
- package/.github/workflows/e2e-ios.yml +1 -1
- package/CHANGELOG +4 -0
- package/README.md +1 -1
- package/android/src/main/java/com/snowplow/reactnativetracker/util/TrackerVersion.kt +1 -1
- package/example/ios/Podfile.lock +189 -189
- package/example/ios/ReactNativeTrackerExample/PrivacyInfo.xcprivacy +37 -0
- package/example/ios/ReactNativeTrackerExample.xcodeproj/project.pbxproj +17 -0
- package/example/package.json +13 -13
- package/example/yarn.lock +1599 -1275
- package/ios/Util/TrackerVersion.swift +1 -1
- package/lib/commonjs/jsCore.js +1 -1
- package/lib/module/jsCore.js +1 -1
- package/package.json +22 -22
- package/src/jsCore.ts +1 -1
- package/yarn.lock +1600 -1535
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>NSPrivacyAccessedAPITypes</key>
|
|
6
|
+
<array>
|
|
7
|
+
<dict>
|
|
8
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
9
|
+
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
|
10
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
11
|
+
<array>
|
|
12
|
+
<string>C617.1</string>
|
|
13
|
+
</array>
|
|
14
|
+
</dict>
|
|
15
|
+
<dict>
|
|
16
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
17
|
+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
|
18
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
19
|
+
<array>
|
|
20
|
+
<string>CA92.1</string>
|
|
21
|
+
</array>
|
|
22
|
+
</dict>
|
|
23
|
+
<dict>
|
|
24
|
+
<key>NSPrivacyAccessedAPIType</key>
|
|
25
|
+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
|
|
26
|
+
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
27
|
+
<array>
|
|
28
|
+
<string>35F9.1</string>
|
|
29
|
+
</array>
|
|
30
|
+
</dict>
|
|
31
|
+
</array>
|
|
32
|
+
<key>NSPrivacyCollectedDataTypes</key>
|
|
33
|
+
<array/>
|
|
34
|
+
<key>NSPrivacyTracking</key>
|
|
35
|
+
<false/>
|
|
36
|
+
</dict>
|
|
37
|
+
</plist>
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
|
|
12
12
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
|
|
13
13
|
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
|
14
|
+
76816C09C970822F3096A069 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = AE4057086852DE5BD6D2B6AB /* PrivacyInfo.xcprivacy */; };
|
|
14
15
|
7C4E2212DE08CD76E12DAE64 /* libPods-ReactNativeTrackerExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7DE86CCD7F3F68711D41708D /* libPods-ReactNativeTrackerExample.a */; };
|
|
15
16
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
|
|
16
17
|
EB71204E8032F6AA4406EA65 /* libPods-ReactNativeTrackerExample-ReactNativeTrackerExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 544ECAEADD0E2F7107C6A03D /* libPods-ReactNativeTrackerExample-ReactNativeTrackerExampleTests.a */; };
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
7DE86CCD7F3F68711D41708D /* libPods-ReactNativeTrackerExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeTrackerExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
44
45
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = ReactNativeTrackerExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
45
46
|
89C6BE57DB24E9ADA2F236DE /* Pods-ReactNativeTrackerExample-ReactNativeTrackerExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeTrackerExample-ReactNativeTrackerExampleTests.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeTrackerExample-ReactNativeTrackerExampleTests/Pods-ReactNativeTrackerExample-ReactNativeTrackerExampleTests.release.xcconfig"; sourceTree = "<group>"; };
|
|
47
|
+
AE4057086852DE5BD6D2B6AB /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = ReactNativeTrackerExample/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
|
|
46
48
|
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
|
47
49
|
/* End PBXFileReference section */
|
|
48
50
|
|
|
@@ -92,6 +94,7 @@
|
|
|
92
94
|
13B07FB61A68108700A75B9A /* Info.plist */,
|
|
93
95
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
|
|
94
96
|
13B07FB71A68108700A75B9A /* main.m */,
|
|
97
|
+
AE4057086852DE5BD6D2B6AB /* PrivacyInfo.xcprivacy */,
|
|
95
98
|
);
|
|
96
99
|
name = ReactNativeTrackerExample;
|
|
97
100
|
sourceTree = "<group>";
|
|
@@ -244,6 +247,7 @@
|
|
|
244
247
|
files = (
|
|
245
248
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
|
|
246
249
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
|
|
250
|
+
76816C09C970822F3096A069 /* PrivacyInfo.xcprivacy in Resources */,
|
|
247
251
|
);
|
|
248
252
|
runOnlyForDeploymentPostprocessing = 0;
|
|
249
253
|
};
|
|
@@ -572,6 +576,7 @@
|
|
|
572
576
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
573
577
|
"DEBUG=1",
|
|
574
578
|
"$(inherited)",
|
|
579
|
+
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
|
|
575
580
|
);
|
|
576
581
|
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
577
582
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
@@ -607,6 +612,10 @@
|
|
|
607
612
|
"-DFOLLY_MOBILE=1",
|
|
608
613
|
"-DFOLLY_USE_LIBCPP=1",
|
|
609
614
|
);
|
|
615
|
+
OTHER_LDFLAGS = (
|
|
616
|
+
"$(inherited)",
|
|
617
|
+
" ",
|
|
618
|
+
);
|
|
610
619
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
611
620
|
SDKROOT = iphoneos;
|
|
612
621
|
};
|
|
@@ -648,6 +657,10 @@
|
|
|
648
657
|
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
|
|
649
658
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
650
659
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
660
|
+
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
661
|
+
"$(inherited)",
|
|
662
|
+
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION,
|
|
663
|
+
);
|
|
651
664
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
652
665
|
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
|
653
666
|
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
|
@@ -680,6 +693,10 @@
|
|
|
680
693
|
"-DFOLLY_MOBILE=1",
|
|
681
694
|
"-DFOLLY_USE_LIBCPP=1",
|
|
682
695
|
);
|
|
696
|
+
OTHER_LDFLAGS = (
|
|
697
|
+
"$(inherited)",
|
|
698
|
+
" ",
|
|
699
|
+
);
|
|
683
700
|
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
684
701
|
SDKROOT = iphoneos;
|
|
685
702
|
VALIDATE_PRODUCT = YES;
|
package/example/package.json
CHANGED
|
@@ -23,23 +23,23 @@
|
|
|
23
23
|
"e2e:android": "npm-run-all build:android-release test:android-release test"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"react": "18.
|
|
27
|
-
"react-native": "0.72.
|
|
28
|
-
"react-native-webview": "^13.
|
|
26
|
+
"react": "18.3.1",
|
|
27
|
+
"react-native": "0.72.15",
|
|
28
|
+
"react-native-webview": "^13.10.4"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@babel/core": "^7.
|
|
32
|
-
"@babel/preset-env": "^7.
|
|
33
|
-
"@babel/runtime": "^7.
|
|
31
|
+
"@babel/core": "^7.24.7",
|
|
32
|
+
"@babel/preset-env": "^7.24.7",
|
|
33
|
+
"@babel/runtime": "^7.24.7",
|
|
34
34
|
"@react-native/eslint-config": "^0.72.2",
|
|
35
|
-
"
|
|
36
|
-
"@
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"jest": "^
|
|
35
|
+
"detox": "~20.11.4",
|
|
36
|
+
"@react-native/metro-config": "^0.72.12",
|
|
37
|
+
"@types/jest": "^29.5.12",
|
|
38
|
+
"babel-plugin-module-resolver": "^5.0.2",
|
|
39
|
+
"metro-react-native-babel-preset": "0.76.9",
|
|
40
|
+
"jest": "^29.7.0",
|
|
41
41
|
"npm-run-all": "^4.1.5",
|
|
42
|
-
"ts-jest": "^29.
|
|
42
|
+
"ts-jest": "^29.1.5"
|
|
43
43
|
},
|
|
44
44
|
"jest": {
|
|
45
45
|
"preset": "react-native",
|