mixpanel-react-native 3.0.2 → 3.0.3

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.
Files changed (76) hide show
  1. package/.github/workflows/node.js.yml +10 -3
  2. package/CHANGELOG.md +19 -0
  3. package/MixpanelReactNative.podspec +1 -1
  4. package/README.md +28 -3
  5. package/Samples/SimpleMixpanel/{App.js → App.tsx} +8 -8
  6. package/Samples/SimpleMixpanel/Gemfile +9 -0
  7. package/Samples/SimpleMixpanel/README.md +79 -0
  8. package/Samples/SimpleMixpanel/__tests__/{App-test.js → App.test.tsx} +3 -0
  9. package/Samples/SimpleMixpanel/android/app/build.gradle +58 -162
  10. package/Samples/SimpleMixpanel/android/app/src/debug/AndroidManifest.xml +1 -5
  11. package/Samples/SimpleMixpanel/android/app/src/main/AndroidManifest.xml +4 -4
  12. package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainActivity.kt +22 -0
  13. package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainApplication.kt +43 -0
  14. package/Samples/SimpleMixpanel/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
  15. package/Samples/SimpleMixpanel/android/app/src/main/res/values/styles.xml +1 -1
  16. package/Samples/SimpleMixpanel/android/build.gradle +11 -28
  17. package/Samples/SimpleMixpanel/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  18. package/Samples/SimpleMixpanel/android/gradle/wrapper/gradle-wrapper.properties +3 -1
  19. package/Samples/SimpleMixpanel/android/gradle.properties +17 -4
  20. package/Samples/SimpleMixpanel/android/gradlew +173 -109
  21. package/Samples/SimpleMixpanel/android/gradlew.bat +92 -89
  22. package/Samples/SimpleMixpanel/android/settings.gradle +1 -0
  23. package/Samples/SimpleMixpanel/app.json +1 -1
  24. package/Samples/SimpleMixpanel/babel.config.js +1 -1
  25. package/Samples/SimpleMixpanel/ios/.xcode.env +11 -0
  26. package/Samples/SimpleMixpanel/ios/Podfile +24 -13
  27. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.h +2 -4
  28. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.mm +31 -0
  29. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Images.xcassets/AppIcon.appiconset/Contents.json +30 -15
  30. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Info.plist +8 -11
  31. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/PrivacyInfo.xcprivacy +38 -0
  32. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/main.m +2 -1
  33. package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcodeproj/project.pbxproj +130 -114
  34. package/Samples/SimpleMixpanel/ios/SimpleMixpanelTests/SimpleMixpanelTests.m +14 -13
  35. package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +1895 -0
  36. package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +2343 -0
  37. package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +2542 -0
  38. package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpecJSI.h +8693 -0
  39. package/Samples/SimpleMixpanel/ios/build/generated/ios/RCTModulesConformingToProtocolsProvider.h +18 -0
  40. package/Samples/SimpleMixpanel/ios/build/generated/ios/RCTModulesConformingToProtocolsProvider.mm +33 -0
  41. package/Samples/SimpleMixpanel/ios/build/generated/ios/React-Codegen.podspec.json +1 -0
  42. package/Samples/SimpleMixpanel/jest.config.js +3 -0
  43. package/Samples/SimpleMixpanel/metro.config.js +7 -13
  44. package/Samples/SimpleMixpanel/package.json +23 -15
  45. package/Samples/SimpleMixpanel/tsconfig.json +3 -0
  46. package/Samples/SimpleMixpanel/yarn.lock +6814 -0
  47. package/__tests__/jest_setup.js +3 -3
  48. package/android/build.gradle +1 -1
  49. package/docs/Mixpanel.html +1 -1
  50. package/docs/MixpanelGroup.html +1 -1
  51. package/docs/People.html +1 -1
  52. package/docs/index.html +26 -3
  53. package/docs/index.js.html +1 -1
  54. package/index.d.ts +7 -1
  55. package/javascript/mixpanel-main.js +1 -1
  56. package/javascript/mixpanel-persistent.js +0 -2
  57. package/package.json +1 -1
  58. package/Samples/SimpleMixpanel/.buckconfig +0 -6
  59. package/Samples/SimpleMixpanel/.editorconfig +0 -3
  60. package/Samples/SimpleMixpanel/.eslintrc.js +0 -4
  61. package/Samples/SimpleMixpanel/.flowconfig +0 -66
  62. package/Samples/SimpleMixpanel/.gitattributes +0 -3
  63. package/Samples/SimpleMixpanel/.prettierrc.js +0 -7
  64. package/Samples/SimpleMixpanel/.watchmanconfig +0 -1
  65. package/Samples/SimpleMixpanel/android/.project +0 -28
  66. package/Samples/SimpleMixpanel/android/app/BUCK +0 -55
  67. package/Samples/SimpleMixpanel/android/app/build_defs.bzl +0 -19
  68. package/Samples/SimpleMixpanel/android/app/src/debug/java/com/simplemixpanel/ReactNativeFlipper.java +0 -72
  69. package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainActivity.java +0 -15
  70. package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainApplication.java +0 -80
  71. package/Samples/SimpleMixpanel/ios/File.swift +0 -8
  72. package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.m +0 -62
  73. package/Samples/SimpleMixpanel/ios/SimpleMixpanel-Bridging-Header.h +0 -4
  74. package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  75. package/logs/.b11bf985d66a037ca5688a574653f3bf76a28dfa-audit.json +0 -29
  76. package/logs/.c366df74eeb671df60a57a2075ae40a3dae2af25-audit.json +0 -29
@@ -8,13 +8,13 @@
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
10
  00E356F31AD99517003FC87E /* SimpleMixpanelTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* SimpleMixpanelTests.m */; };
11
- 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
11
+ 0C80B921A6F3F58F76C31292 /* libPods-SimpleMixpanel.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-SimpleMixpanel.a */; };
12
+ 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
12
13
  13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13
14
  13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
14
- 6F04AED73A6F00AB80CC8D4A /* libPods-SimpleMixpanel.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 71AEB088269FB6880D7E39FD /* libPods-SimpleMixpanel.a */; };
15
- 7CC0DE7040746A2C99E2EE33 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CAFB756668505CFE5DC582F2 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */; };
15
+ 7699B88040F8A987B510C191 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */; };
16
16
  81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
17
- 8678DF7526B290DB00D79E6C /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8678DF7426B290DB00D79E6C /* File.swift */; };
17
+ B08083FFA4C9A392155F8E36 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 2D1ED16AEEB428C367FAFCB4 /* PrivacyInfo.xcprivacy */; };
18
18
  /* End PBXBuildFile section */
19
19
 
20
20
  /* Begin PBXContainerItemProxy section */
@@ -33,20 +33,20 @@
33
33
  00E356F21AD99517003FC87E /* SimpleMixpanelTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SimpleMixpanelTests.m; sourceTree = "<group>"; };
34
34
  13B07F961A680F5B00A75B9A /* SimpleMixpanel.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SimpleMixpanel.app; sourceTree = BUILT_PRODUCTS_DIR; };
35
35
  13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = SimpleMixpanel/AppDelegate.h; sourceTree = "<group>"; };
36
- 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = SimpleMixpanel/AppDelegate.m; sourceTree = "<group>"; };
36
+ 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = SimpleMixpanel/AppDelegate.mm; sourceTree = "<group>"; };
37
37
  13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = SimpleMixpanel/Images.xcassets; sourceTree = "<group>"; };
38
38
  13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = SimpleMixpanel/Info.plist; sourceTree = "<group>"; };
39
39
  13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = SimpleMixpanel/main.m; sourceTree = "<group>"; };
40
- 4A04A584A264CCE868DD43C2 /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig"; sourceTree = "<group>"; };
41
- 4DF27CA6B98EF6271133F786 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig"; sourceTree = "<group>"; };
42
- 71AEB088269FB6880D7E39FD /* libPods-SimpleMixpanel.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SimpleMixpanel.a"; sourceTree = BUILT_PRODUCTS_DIR; };
40
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = SimpleMixpanel/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
41
+ 19F6CBCC0A4E27FBF8BF4A61 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SimpleMixpanel-SimpleMixpanelTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
42
+ 2D1ED16AEEB428C367FAFCB4 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = SimpleMixpanel/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
43
+ 3B4392A12AC88292D35C810B /* Pods-SimpleMixpanel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel.debug.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel.debug.xcconfig"; sourceTree = "<group>"; };
44
+ 5709B34CF0A7D63546082F79 /* Pods-SimpleMixpanel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel.release.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel.release.xcconfig"; sourceTree = "<group>"; };
45
+ 5B7EB9410499542E8C5724F5 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig"; sourceTree = "<group>"; };
46
+ 5DCACB8F33CDC322A6C60F78 /* libPods-SimpleMixpanel.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SimpleMixpanel.a"; sourceTree = BUILT_PRODUCTS_DIR; };
43
47
  81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = SimpleMixpanel/LaunchScreen.storyboard; sourceTree = "<group>"; };
44
- 8678DF7326B290DB00D79E6C /* SimpleMixpanel-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SimpleMixpanel-Bridging-Header.h"; sourceTree = "<group>"; };
45
- 8678DF7426B290DB00D79E6C /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = "<group>"; };
46
- B8026F8D66041E8A3B5B5179 /* Pods-SimpleMixpanel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel.release.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel.release.xcconfig"; sourceTree = "<group>"; };
47
- CAFB756668505CFE5DC582F2 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SimpleMixpanel-SimpleMixpanelTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
48
+ 89C6BE57DB24E9ADA2F236DE /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig"; sourceTree = "<group>"; };
48
49
  ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
49
- F15E50B7C014A9FEFC82D6A8 /* Pods-SimpleMixpanel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel.debug.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel.debug.xcconfig"; sourceTree = "<group>"; };
50
50
  /* End PBXFileReference section */
51
51
 
52
52
  /* Begin PBXFrameworksBuildPhase section */
@@ -54,7 +54,7 @@
54
54
  isa = PBXFrameworksBuildPhase;
55
55
  buildActionMask = 2147483647;
56
56
  files = (
57
- 7CC0DE7040746A2C99E2EE33 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a in Frameworks */,
57
+ 7699B88040F8A987B510C191 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a in Frameworks */,
58
58
  );
59
59
  runOnlyForDeploymentPostprocessing = 0;
60
60
  };
@@ -62,7 +62,7 @@
62
62
  isa = PBXFrameworksBuildPhase;
63
63
  buildActionMask = 2147483647;
64
64
  files = (
65
- 6F04AED73A6F00AB80CC8D4A /* libPods-SimpleMixpanel.a in Frameworks */,
65
+ 0C80B921A6F3F58F76C31292 /* libPods-SimpleMixpanel.a in Frameworks */,
66
66
  );
67
67
  runOnlyForDeploymentPostprocessing = 0;
68
68
  };
@@ -90,13 +90,13 @@
90
90
  isa = PBXGroup;
91
91
  children = (
92
92
  13B07FAF1A68108700A75B9A /* AppDelegate.h */,
93
- 13B07FB01A68108700A75B9A /* AppDelegate.m */,
93
+ 13B07FB01A68108700A75B9A /* AppDelegate.mm */,
94
94
  13B07FB51A68108700A75B9A /* Images.xcassets */,
95
95
  13B07FB61A68108700A75B9A /* Info.plist */,
96
96
  81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
97
97
  13B07FB71A68108700A75B9A /* main.m */,
98
- 8678DF7426B290DB00D79E6C /* File.swift */,
99
- 8678DF7326B290DB00D79E6C /* SimpleMixpanel-Bridging-Header.h */,
98
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
99
+ 2D1ED16AEEB428C367FAFCB4 /* PrivacyInfo.xcprivacy */,
100
100
  );
101
101
  name = SimpleMixpanel;
102
102
  sourceTree = "<group>";
@@ -105,23 +105,12 @@
105
105
  isa = PBXGroup;
106
106
  children = (
107
107
  ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
108
- 71AEB088269FB6880D7E39FD /* libPods-SimpleMixpanel.a */,
109
- CAFB756668505CFE5DC582F2 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */,
108
+ 5DCACB8F33CDC322A6C60F78 /* libPods-SimpleMixpanel.a */,
109
+ 19F6CBCC0A4E27FBF8BF4A61 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */,
110
110
  );
111
111
  name = Frameworks;
112
112
  sourceTree = "<group>";
113
113
  };
114
- 52E97BCE9B68F2C2BAE71B3E /* Pods */ = {
115
- isa = PBXGroup;
116
- children = (
117
- F15E50B7C014A9FEFC82D6A8 /* Pods-SimpleMixpanel.debug.xcconfig */,
118
- B8026F8D66041E8A3B5B5179 /* Pods-SimpleMixpanel.release.xcconfig */,
119
- 4DF27CA6B98EF6271133F786 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */,
120
- 4A04A584A264CCE868DD43C2 /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */,
121
- );
122
- path = Pods;
123
- sourceTree = "<group>";
124
- };
125
114
  832341AE1AAA6A7D00B99B32 /* Libraries */ = {
126
115
  isa = PBXGroup;
127
116
  children = (
@@ -137,7 +126,7 @@
137
126
  00E356EF1AD99517003FC87E /* SimpleMixpanelTests */,
138
127
  83CBBA001A601CBA00E9B192 /* Products */,
139
128
  2D16E6871FA4F8E400B85C8A /* Frameworks */,
140
- 52E97BCE9B68F2C2BAE71B3E /* Pods */,
129
+ BBD78D7AC51CEA395F1C20DB /* Pods */,
141
130
  );
142
131
  indentWidth = 2;
143
132
  sourceTree = "<group>";
@@ -153,6 +142,17 @@
153
142
  name = Products;
154
143
  sourceTree = "<group>";
155
144
  };
145
+ BBD78D7AC51CEA395F1C20DB /* Pods */ = {
146
+ isa = PBXGroup;
147
+ children = (
148
+ 3B4392A12AC88292D35C810B /* Pods-SimpleMixpanel.debug.xcconfig */,
149
+ 5709B34CF0A7D63546082F79 /* Pods-SimpleMixpanel.release.xcconfig */,
150
+ 5B7EB9410499542E8C5724F5 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */,
151
+ 89C6BE57DB24E9ADA2F236DE /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */,
152
+ );
153
+ path = Pods;
154
+ sourceTree = "<group>";
155
+ };
156
156
  /* End PBXGroup section */
157
157
 
158
158
  /* Begin PBXNativeTarget section */
@@ -160,12 +160,12 @@
160
160
  isa = PBXNativeTarget;
161
161
  buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "SimpleMixpanelTests" */;
162
162
  buildPhases = (
163
- 14588ACC03B0BCB4001ECFC9 /* [CP] Check Pods Manifest.lock */,
163
+ A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */,
164
164
  00E356EA1AD99517003FC87E /* Sources */,
165
165
  00E356EB1AD99517003FC87E /* Frameworks */,
166
166
  00E356EC1AD99517003FC87E /* Resources */,
167
- CB35DA6CEF7E7EDB6A7D0077 /* [CP] Embed Pods Frameworks */,
168
- 3B3EE0CEECD0D9FC22D1649E /* [CP] Copy Pods Resources */,
167
+ C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */,
168
+ F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */,
169
169
  );
170
170
  buildRules = (
171
171
  );
@@ -181,14 +181,13 @@
181
181
  isa = PBXNativeTarget;
182
182
  buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "SimpleMixpanel" */;
183
183
  buildPhases = (
184
- 96EF9658E9B74C8EAECD5891 /* [CP] Check Pods Manifest.lock */,
185
- FD10A7F022414F080027D42C /* Start Packager */,
184
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
186
185
  13B07F871A680F5B00A75B9A /* Sources */,
187
186
  13B07F8C1A680F5B00A75B9A /* Frameworks */,
188
187
  13B07F8E1A680F5B00A75B9A /* Resources */,
189
188
  00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
190
- 6B5F55DABEFB196E721F9AF6 /* [CP] Embed Pods Frameworks */,
191
- 96DC8257CF054E74D01A4B3A /* [CP] Copy Pods Resources */,
189
+ 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,
190
+ E235C05ADACE081382539298 /* [CP] Copy Pods Resources */,
192
191
  );
193
192
  buildRules = (
194
193
  );
@@ -212,7 +211,7 @@
212
211
  TestTargetID = 13B07F861A680F5B00A75B9A;
213
212
  };
214
213
  13B07F861A680F5B00A75B9A = {
215
- LastSwiftMigration = 1250;
214
+ LastSwiftMigration = 1120;
216
215
  };
217
216
  };
218
217
  };
@@ -249,6 +248,7 @@
249
248
  files = (
250
249
  81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
251
250
  13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
251
+ B08083FFA4C9A392155F8E36 /* PrivacyInfo.xcprivacy in Resources */,
252
252
  );
253
253
  runOnlyForDeploymentPostprocessing = 0;
254
254
  };
@@ -261,54 +261,17 @@
261
261
  files = (
262
262
  );
263
263
  inputPaths = (
264
+ "$(SRCROOT)/.xcode.env.local",
265
+ "$(SRCROOT)/.xcode.env",
264
266
  );
265
267
  name = "Bundle React Native code and images";
266
268
  outputPaths = (
267
269
  );
268
270
  runOnlyForDeploymentPostprocessing = 0;
269
271
  shellPath = /bin/sh;
270
- shellScript = "set -e\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
271
- };
272
- 14588ACC03B0BCB4001ECFC9 /* [CP] Check Pods Manifest.lock */ = {
273
- isa = PBXShellScriptBuildPhase;
274
- buildActionMask = 2147483647;
275
- files = (
276
- );
277
- inputFileListPaths = (
278
- );
279
- inputPaths = (
280
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
281
- "${PODS_ROOT}/Manifest.lock",
282
- );
283
- name = "[CP] Check Pods Manifest.lock";
284
- outputFileListPaths = (
285
- );
286
- outputPaths = (
287
- "$(DERIVED_FILE_DIR)/Pods-SimpleMixpanel-SimpleMixpanelTests-checkManifestLockResult.txt",
288
- );
289
- runOnlyForDeploymentPostprocessing = 0;
290
- shellPath = /bin/sh;
291
- 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";
292
- showEnvVarsInLog = 0;
293
- };
294
- 3B3EE0CEECD0D9FC22D1649E /* [CP] Copy Pods Resources */ = {
295
- isa = PBXShellScriptBuildPhase;
296
- buildActionMask = 2147483647;
297
- files = (
298
- );
299
- inputFileListPaths = (
300
- "${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources-${CONFIGURATION}-input-files.xcfilelist",
301
- );
302
- name = "[CP] Copy Pods Resources";
303
- outputFileListPaths = (
304
- "${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources-${CONFIGURATION}-output-files.xcfilelist",
305
- );
306
- runOnlyForDeploymentPostprocessing = 0;
307
- shellPath = /bin/sh;
308
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources.sh\"\n";
309
- showEnvVarsInLog = 0;
272
+ shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
310
273
  };
311
- 6B5F55DABEFB196E721F9AF6 /* [CP] Embed Pods Frameworks */ = {
274
+ 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
312
275
  isa = PBXShellScriptBuildPhase;
313
276
  buildActionMask = 2147483647;
314
277
  files = (
@@ -325,24 +288,29 @@
325
288
  shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-frameworks.sh\"\n";
326
289
  showEnvVarsInLog = 0;
327
290
  };
328
- 96DC8257CF054E74D01A4B3A /* [CP] Copy Pods Resources */ = {
291
+ A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = {
329
292
  isa = PBXShellScriptBuildPhase;
330
293
  buildActionMask = 2147483647;
331
294
  files = (
332
295
  );
333
296
  inputFileListPaths = (
334
- "${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources-${CONFIGURATION}-input-files.xcfilelist",
335
297
  );
336
- name = "[CP] Copy Pods Resources";
298
+ inputPaths = (
299
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
300
+ "${PODS_ROOT}/Manifest.lock",
301
+ );
302
+ name = "[CP] Check Pods Manifest.lock";
337
303
  outputFileListPaths = (
338
- "${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources-${CONFIGURATION}-output-files.xcfilelist",
304
+ );
305
+ outputPaths = (
306
+ "$(DERIVED_FILE_DIR)/Pods-SimpleMixpanel-SimpleMixpanelTests-checkManifestLockResult.txt",
339
307
  );
340
308
  runOnlyForDeploymentPostprocessing = 0;
341
309
  shellPath = /bin/sh;
342
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources.sh\"\n";
310
+ 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";
343
311
  showEnvVarsInLog = 0;
344
312
  };
345
- 96EF9658E9B74C8EAECD5891 /* [CP] Check Pods Manifest.lock */ = {
313
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
346
314
  isa = PBXShellScriptBuildPhase;
347
315
  buildActionMask = 2147483647;
348
316
  files = (
@@ -364,7 +332,7 @@
364
332
  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";
365
333
  showEnvVarsInLog = 0;
366
334
  };
367
- CB35DA6CEF7E7EDB6A7D0077 /* [CP] Embed Pods Frameworks */ = {
335
+ C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = {
368
336
  isa = PBXShellScriptBuildPhase;
369
337
  buildActionMask = 2147483647;
370
338
  files = (
@@ -381,23 +349,38 @@
381
349
  shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-frameworks.sh\"\n";
382
350
  showEnvVarsInLog = 0;
383
351
  };
384
- FD10A7F022414F080027D42C /* Start Packager */ = {
352
+ E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
385
353
  isa = PBXShellScriptBuildPhase;
386
354
  buildActionMask = 2147483647;
387
355
  files = (
388
356
  );
389
357
  inputFileListPaths = (
358
+ "${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources-${CONFIGURATION}-input-files.xcfilelist",
390
359
  );
391
- inputPaths = (
392
- );
393
- name = "Start Packager";
360
+ name = "[CP] Copy Pods Resources";
394
361
  outputFileListPaths = (
362
+ "${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources-${CONFIGURATION}-output-files.xcfilelist",
395
363
  );
396
- outputPaths = (
364
+ runOnlyForDeploymentPostprocessing = 0;
365
+ shellPath = /bin/sh;
366
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources.sh\"\n";
367
+ showEnvVarsInLog = 0;
368
+ };
369
+ F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = {
370
+ isa = PBXShellScriptBuildPhase;
371
+ buildActionMask = 2147483647;
372
+ files = (
373
+ );
374
+ inputFileListPaths = (
375
+ "${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources-${CONFIGURATION}-input-files.xcfilelist",
376
+ );
377
+ name = "[CP] Copy Pods Resources";
378
+ outputFileListPaths = (
379
+ "${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources-${CONFIGURATION}-output-files.xcfilelist",
397
380
  );
398
381
  runOnlyForDeploymentPostprocessing = 0;
399
382
  shellPath = /bin/sh;
400
- shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n";
383
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources.sh\"\n";
401
384
  showEnvVarsInLog = 0;
402
385
  };
403
386
  /* End PBXShellScriptBuildPhase section */
@@ -415,8 +398,7 @@
415
398
  isa = PBXSourcesBuildPhase;
416
399
  buildActionMask = 2147483647;
417
400
  files = (
418
- 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
419
- 8678DF7526B290DB00D79E6C /* File.swift in Sources */,
401
+ 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
420
402
  13B07FC11A68108700A75B9A /* main.m in Sources */,
421
403
  );
422
404
  runOnlyForDeploymentPostprocessing = 0;
@@ -434,16 +416,15 @@
434
416
  /* Begin XCBuildConfiguration section */
435
417
  00E356F61AD99517003FC87E /* Debug */ = {
436
418
  isa = XCBuildConfiguration;
437
- baseConfigurationReference = 4DF27CA6B98EF6271133F786 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */;
419
+ baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */;
438
420
  buildSettings = {
439
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
440
421
  BUNDLE_LOADER = "$(TEST_HOST)";
441
422
  GCC_PREPROCESSOR_DEFINITIONS = (
442
423
  "DEBUG=1",
443
424
  "$(inherited)",
444
425
  );
445
426
  INFOPLIST_FILE = SimpleMixpanelTests/Info.plist;
446
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
427
+ IPHONEOS_DEPLOYMENT_TARGET = 13.4;
447
428
  LD_RUNPATH_SEARCH_PATHS = (
448
429
  "$(inherited)",
449
430
  "@executable_path/Frameworks",
@@ -462,13 +443,12 @@
462
443
  };
463
444
  00E356F71AD99517003FC87E /* Release */ = {
464
445
  isa = XCBuildConfiguration;
465
- baseConfigurationReference = 4A04A584A264CCE868DD43C2 /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */;
446
+ baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */;
466
447
  buildSettings = {
467
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
468
448
  BUNDLE_LOADER = "$(TEST_HOST)";
469
449
  COPY_PHASE_STRIP = NO;
470
450
  INFOPLIST_FILE = SimpleMixpanelTests/Info.plist;
471
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
451
+ IPHONEOS_DEPLOYMENT_TARGET = 13.4;
472
452
  LD_RUNPATH_SEARCH_PATHS = (
473
453
  "$(inherited)",
474
454
  "@executable_path/Frameworks",
@@ -487,18 +467,18 @@
487
467
  };
488
468
  13B07F941A680F5B00A75B9A /* Debug */ = {
489
469
  isa = XCBuildConfiguration;
490
- baseConfigurationReference = F15E50B7C014A9FEFC82D6A8 /* Pods-SimpleMixpanel.debug.xcconfig */;
470
+ baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-SimpleMixpanel.debug.xcconfig */;
491
471
  buildSettings = {
492
472
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
493
473
  CLANG_ENABLE_MODULES = YES;
494
474
  CURRENT_PROJECT_VERSION = 1;
495
475
  ENABLE_BITCODE = NO;
496
476
  INFOPLIST_FILE = SimpleMixpanel/Info.plist;
497
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
498
477
  LD_RUNPATH_SEARCH_PATHS = (
499
478
  "$(inherited)",
500
479
  "@executable_path/Frameworks",
501
480
  );
481
+ MARKETING_VERSION = 1.0;
502
482
  OTHER_LDFLAGS = (
503
483
  "$(inherited)",
504
484
  "-ObjC",
@@ -506,7 +486,6 @@
506
486
  );
507
487
  PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
508
488
  PRODUCT_NAME = SimpleMixpanel;
509
- SWIFT_OBJC_BRIDGING_HEADER = "SimpleMixpanel-Bridging-Header.h";
510
489
  SWIFT_OPTIMIZATION_LEVEL = "-Onone";
511
490
  SWIFT_VERSION = 5.0;
512
491
  VERSIONING_SYSTEM = "apple-generic";
@@ -515,17 +494,17 @@
515
494
  };
516
495
  13B07F951A680F5B00A75B9A /* Release */ = {
517
496
  isa = XCBuildConfiguration;
518
- baseConfigurationReference = B8026F8D66041E8A3B5B5179 /* Pods-SimpleMixpanel.release.xcconfig */;
497
+ baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-SimpleMixpanel.release.xcconfig */;
519
498
  buildSettings = {
520
499
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
521
500
  CLANG_ENABLE_MODULES = YES;
522
501
  CURRENT_PROJECT_VERSION = 1;
523
502
  INFOPLIST_FILE = SimpleMixpanel/Info.plist;
524
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
525
503
  LD_RUNPATH_SEARCH_PATHS = (
526
504
  "$(inherited)",
527
505
  "@executable_path/Frameworks",
528
506
  );
507
+ MARKETING_VERSION = 1.0;
529
508
  OTHER_LDFLAGS = (
530
509
  "$(inherited)",
531
510
  "-ObjC",
@@ -533,7 +512,6 @@
533
512
  );
534
513
  PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
535
514
  PRODUCT_NAME = SimpleMixpanel;
536
- SWIFT_OBJC_BRIDGING_HEADER = "SimpleMixpanel-Bridging-Header.h";
537
515
  SWIFT_VERSION = 5.0;
538
516
  VERSIONING_SYSTEM = "apple-generic";
539
517
  };
@@ -543,8 +521,9 @@
543
521
  isa = XCBuildConfiguration;
544
522
  buildSettings = {
545
523
  ALWAYS_SEARCH_USER_PATHS = NO;
524
+ CC = "";
546
525
  CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
547
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
526
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
548
527
  CLANG_CXX_LIBRARY = "libc++";
549
528
  CLANG_ENABLE_MODULES = YES;
550
529
  CLANG_ENABLE_OBJC_ARC = YES;
@@ -570,9 +549,10 @@
570
549
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
571
550
  "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
572
551
  COPY_PHASE_STRIP = NO;
552
+ CXX = "";
573
553
  ENABLE_STRICT_OBJC_MSGSEND = YES;
574
554
  ENABLE_TESTABILITY = YES;
575
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 ";
555
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
576
556
  GCC_C_LANGUAGE_STANDARD = gnu99;
577
557
  GCC_DYNAMIC_NO_PIC = NO;
578
558
  GCC_NO_COMMON_BLOCKS = YES;
@@ -588,18 +568,35 @@
588
568
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
589
569
  GCC_WARN_UNUSED_FUNCTION = YES;
590
570
  GCC_WARN_UNUSED_VARIABLE = YES;
591
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
571
+ IPHONEOS_DEPLOYMENT_TARGET = 13.4;
572
+ LD = "";
573
+ LDPLUSPLUS = "";
592
574
  LD_RUNPATH_SEARCH_PATHS = (
593
575
  /usr/lib/swift,
594
576
  "$(inherited)",
595
577
  );
596
578
  LIBRARY_SEARCH_PATHS = (
579
+ "\"$(SDKROOT)/usr/lib/swift\"",
597
580
  "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
598
581
  "\"$(inherited)\"",
599
582
  );
600
583
  MTL_ENABLE_DEBUG_INFO = YES;
601
584
  ONLY_ACTIVE_ARCH = YES;
585
+ OTHER_CPLUSPLUSFLAGS = (
586
+ "$(OTHER_CFLAGS)",
587
+ "-DFOLLY_NO_CONFIG",
588
+ "-DFOLLY_MOBILE=1",
589
+ "-DFOLLY_USE_LIBCPP=1",
590
+ "-DFOLLY_CFG_NO_COROUTINES=1",
591
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
592
+ );
593
+ OTHER_LDFLAGS = (
594
+ "$(inherited)",
595
+ " ",
596
+ );
597
+ REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
602
598
  SDKROOT = iphoneos;
599
+ USE_HERMES = true;
603
600
  };
604
601
  name = Debug;
605
602
  };
@@ -607,8 +604,9 @@
607
604
  isa = XCBuildConfiguration;
608
605
  buildSettings = {
609
606
  ALWAYS_SEARCH_USER_PATHS = NO;
607
+ CC = "";
610
608
  CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
611
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
609
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
612
610
  CLANG_CXX_LIBRARY = "libc++";
613
611
  CLANG_ENABLE_MODULES = YES;
614
612
  CLANG_ENABLE_OBJC_ARC = YES;
@@ -634,9 +632,10 @@
634
632
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
635
633
  "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
636
634
  COPY_PHASE_STRIP = YES;
635
+ CXX = "";
637
636
  ENABLE_NS_ASSERTIONS = NO;
638
637
  ENABLE_STRICT_OBJC_MSGSEND = YES;
639
- "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 ";
638
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
640
639
  GCC_C_LANGUAGE_STANDARD = gnu99;
641
640
  GCC_NO_COMMON_BLOCKS = YES;
642
641
  GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -645,17 +644,34 @@
645
644
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
646
645
  GCC_WARN_UNUSED_FUNCTION = YES;
647
646
  GCC_WARN_UNUSED_VARIABLE = YES;
648
- IPHONEOS_DEPLOYMENT_TARGET = 10.0;
647
+ IPHONEOS_DEPLOYMENT_TARGET = 13.4;
648
+ LD = "";
649
+ LDPLUSPLUS = "";
649
650
  LD_RUNPATH_SEARCH_PATHS = (
650
651
  /usr/lib/swift,
651
652
  "$(inherited)",
652
653
  );
653
654
  LIBRARY_SEARCH_PATHS = (
655
+ "\"$(SDKROOT)/usr/lib/swift\"",
654
656
  "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
655
657
  "\"$(inherited)\"",
656
658
  );
657
659
  MTL_ENABLE_DEBUG_INFO = NO;
660
+ OTHER_CPLUSPLUSFLAGS = (
661
+ "$(OTHER_CFLAGS)",
662
+ "-DFOLLY_NO_CONFIG",
663
+ "-DFOLLY_MOBILE=1",
664
+ "-DFOLLY_USE_LIBCPP=1",
665
+ "-DFOLLY_CFG_NO_COROUTINES=1",
666
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
667
+ );
668
+ OTHER_LDFLAGS = (
669
+ "$(inherited)",
670
+ " ",
671
+ );
672
+ REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
658
673
  SDKROOT = iphoneos;
674
+ USE_HERMES = true;
659
675
  VALIDATE_PRODUCT = YES;
660
676
  };
661
677
  name = Release;
@@ -13,7 +13,7 @@
13
13
 
14
14
  @implementation SimpleMixpanelTests
15
15
 
16
- - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
16
+ - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test
17
17
  {
18
18
  if (test(view)) {
19
19
  return YES;
@@ -34,23 +34,25 @@
34
34
 
35
35
  __block NSString *redboxError = nil;
36
36
  #ifdef DEBUG
37
- RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
38
- if (level >= RCTLogLevelError) {
39
- redboxError = message;
40
- }
41
- });
37
+ RCTSetLogFunction(
38
+ ^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
39
+ if (level >= RCTLogLevelError) {
40
+ redboxError = message;
41
+ }
42
+ });
42
43
  #endif
43
44
 
44
45
  while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
45
46
  [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
46
47
  [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
47
48
 
48
- foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) {
49
- if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
50
- return YES;
51
- }
52
- return NO;
53
- }];
49
+ foundElement = [self findSubviewInView:vc.view
50
+ matching:^BOOL(UIView *view) {
51
+ if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
52
+ return YES;
53
+ }
54
+ return NO;
55
+ }];
54
56
  }
55
57
 
56
58
  #ifdef DEBUG
@@ -61,5 +63,4 @@
61
63
  XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
62
64
  }
63
65
 
64
-
65
66
  @end