mixpanel-react-native 1.3.3 → 1.3.4
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/MixpanelReactNative.podspec +1 -1
- package/__tests__/index.test.js +1 -1
- package/android/build.gradle +1 -1
- package/docs/Mixpanel.html +1 -1
- package/docs/MixpanelGroup.html +1 -1
- package/docs/People.html +1 -1
- package/docs/index.html +1 -1
- package/docs/index.js.html +1 -1
- package/ios/Constants.swift +0 -1
- package/ios/MixpanelReactNative.swift +1 -1
- package/package.json +1 -1
- package/release.py +3 -3
- package/Samples/ContextAPIMixpanel/.buckconfig +0 -6
- package/Samples/ContextAPIMixpanel/.editorconfig +0 -3
- package/Samples/ContextAPIMixpanel/.eslintrc.js +0 -4
- package/Samples/ContextAPIMixpanel/.flowconfig +0 -66
- package/Samples/ContextAPIMixpanel/.gitattributes +0 -3
- package/Samples/ContextAPIMixpanel/.prettierrc.js +0 -7
- package/Samples/ContextAPIMixpanel/.watchmanconfig +0 -1
- package/Samples/ContextAPIMixpanel/Analytics.js +0 -18
- package/Samples/ContextAPIMixpanel/App.js +0 -17
- package/Samples/ContextAPIMixpanel/Screens/SampleScreen.js +0 -17
- package/Samples/ContextAPIMixpanel/__tests__/App-test.js +0 -14
- package/Samples/ContextAPIMixpanel/android/app/BUCK +0 -55
- package/Samples/ContextAPIMixpanel/android/app/build.gradle +0 -222
- package/Samples/ContextAPIMixpanel/android/app/build_defs.bzl +0 -19
- package/Samples/ContextAPIMixpanel/android/app/debug.keystore +0 -0
- package/Samples/ContextAPIMixpanel/android/app/proguard-rules.pro +0 -10
- package/Samples/ContextAPIMixpanel/android/app/src/debug/AndroidManifest.xml +0 -13
- package/Samples/ContextAPIMixpanel/android/app/src/debug/java/com/contextapimixpanel/ReactNativeFlipper.java +0 -72
- package/Samples/ContextAPIMixpanel/android/app/src/main/AndroidManifest.xml +0 -25
- package/Samples/ContextAPIMixpanel/android/app/src/main/java/com/contextapimixpanel/MainActivity.java +0 -15
- package/Samples/ContextAPIMixpanel/android/app/src/main/java/com/contextapimixpanel/MainApplication.java +0 -80
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/values/strings.xml +0 -3
- package/Samples/ContextAPIMixpanel/android/app/src/main/res/values/styles.xml +0 -9
- package/Samples/ContextAPIMixpanel/android/build.gradle +0 -38
- package/Samples/ContextAPIMixpanel/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/Samples/ContextAPIMixpanel/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/Samples/ContextAPIMixpanel/android/gradle.properties +0 -28
- package/Samples/ContextAPIMixpanel/android/gradlew +0 -185
- package/Samples/ContextAPIMixpanel/android/gradlew.bat +0 -89
- package/Samples/ContextAPIMixpanel/android/settings.gradle +0 -3
- package/Samples/ContextAPIMixpanel/app.json +0 -4
- package/Samples/ContextAPIMixpanel/babel.config.js +0 -3
- package/Samples/ContextAPIMixpanel/index.js +0 -9
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel/AppDelegate.h +0 -8
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel/AppDelegate.m +0 -62
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel/Images.xcassets/Contents.json +0 -6
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel/Info.plist +0 -55
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel/LaunchScreen.storyboard +0 -47
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel/main.m +0 -9
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel-Bridging-Header.h +0 -4
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel.xcodeproj/project.pbxproj +0 -694
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel.xcodeproj/xcshareddata/xcschemes/ContextAPIMixpanel.xcscheme +0 -88
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel.xcworkspace/contents.xcworkspacedata +0 -10
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanelTests/ContextAPIMixpanelTests.m +0 -65
- package/Samples/ContextAPIMixpanel/ios/ContextAPIMixpanelTests/Info.plist +0 -24
- package/Samples/ContextAPIMixpanel/ios/File.swift +0 -8
- package/Samples/ContextAPIMixpanel/ios/Podfile +0 -29
- package/Samples/ContextAPIMixpanel/metro.config.js +0 -17
- package/Samples/ContextAPIMixpanel/package.json +0 -30
- package/Samples/ContextAPIMixpanel/yarn.lock +0 -6770
- package/Samples/MixpanelDemo/.buckconfig +0 -6
- package/Samples/MixpanelDemo/.eslintrc.js +0 -4
- package/Samples/MixpanelDemo/.flowconfig +0 -73
- package/Samples/MixpanelDemo/.gitattributes +0 -1
- package/Samples/MixpanelDemo/.prettierrc.js +0 -6
- package/Samples/MixpanelDemo/.watchmanconfig +0 -1
- package/Samples/MixpanelDemo/Analytics.js +0 -15
- package/Samples/MixpanelDemo/App.js +0 -11
- package/Samples/MixpanelDemo/Router.js +0 -35
- package/Samples/MixpanelDemo/__tests__/App-test.js +0 -3
- package/Samples/MixpanelDemo/android/app/BUCK +0 -55
- package/Samples/MixpanelDemo/android/app/build.gradle +0 -219
- package/Samples/MixpanelDemo/android/app/build_defs.bzl +0 -19
- package/Samples/MixpanelDemo/android/app/debug.keystore +0 -0
- package/Samples/MixpanelDemo/android/app/proguard-rules.pro +0 -10
- package/Samples/MixpanelDemo/android/app/src/debug/AndroidManifest.xml +0 -8
- package/Samples/MixpanelDemo/android/app/src/debug/java/com/mixpaneldemo/ReactNativeFlipper.java +0 -72
- package/Samples/MixpanelDemo/android/app/src/main/AndroidManifest.xml +0 -27
- package/Samples/MixpanelDemo/android/app/src/main/java/com/MixpanelDemo/MainActivity.java +0 -15
- package/Samples/MixpanelDemo/android/app/src/main/java/com/MixpanelDemo/MainApplication.java +0 -81
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/Samples/MixpanelDemo/android/app/src/main/res/values/strings.xml +0 -3
- package/Samples/MixpanelDemo/android/app/src/main/res/values/styles.xml +0 -9
- package/Samples/MixpanelDemo/android/build.gradle +0 -37
- package/Samples/MixpanelDemo/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/Samples/MixpanelDemo/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/Samples/MixpanelDemo/android/gradle.properties +0 -28
- package/Samples/MixpanelDemo/android/gradlew +0 -183
- package/Samples/MixpanelDemo/android/gradlew.bat +0 -103
- package/Samples/MixpanelDemo/android/settings.gradle +0 -5
- package/Samples/MixpanelDemo/app.json +0 -5
- package/Samples/MixpanelDemo/babel.config.js +0 -3
- package/Samples/MixpanelDemo/index.js +0 -9
- package/Samples/MixpanelDemo/ios/Empty.swift +0 -8
- package/Samples/MixpanelDemo/ios/MixpanelDemo/AppDelegate.h +0 -8
- package/Samples/MixpanelDemo/ios/MixpanelDemo/AppDelegate.m +0 -58
- package/Samples/MixpanelDemo/ios/MixpanelDemo/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- package/Samples/MixpanelDemo/ios/MixpanelDemo/Images.xcassets/Contents.json +0 -6
- package/Samples/MixpanelDemo/ios/MixpanelDemo/Info.plist +0 -57
- package/Samples/MixpanelDemo/ios/MixpanelDemo/LaunchScreen.storyboard +0 -58
- package/Samples/MixpanelDemo/ios/MixpanelDemo/main.m +0 -9
- package/Samples/MixpanelDemo/ios/MixpanelDemo-Bridging-Header.h +0 -4
- package/Samples/MixpanelDemo/ios/MixpanelDemo-tvOS/Info.plist +0 -53
- package/Samples/MixpanelDemo/ios/MixpanelDemo-tvOSTests/Info.plist +0 -24
- package/Samples/MixpanelDemo/ios/MixpanelDemo.xcodeproj/project.pbxproj +0 -997
- package/Samples/MixpanelDemo/ios/MixpanelDemo.xcodeproj/xcshareddata/xcschemes/MixpanelDemo-tvOS.xcscheme +0 -88
- package/Samples/MixpanelDemo/ios/MixpanelDemo.xcodeproj/xcshareddata/xcschemes/MixpanelDemo.xcscheme +0 -88
- package/Samples/MixpanelDemo/ios/MixpanelDemo.xcworkspace/contents.xcworkspacedata +0 -10
- package/Samples/MixpanelDemo/ios/MixpanelDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/Samples/MixpanelDemo/ios/MixpanelDemoTests/Info.plist +0 -24
- package/Samples/MixpanelDemo/ios/MixpanelDemoTests/MixpanelDemoTests.m +0 -65
- package/Samples/MixpanelDemo/ios/Podfile +0 -24
- package/Samples/MixpanelDemo/metro.config.js +0 -17
- package/Samples/MixpanelDemo/package.json +0 -40
- package/Samples/MixpanelDemo/screens/EventScreen.js +0 -156
- package/Samples/MixpanelDemo/screens/GDPRScreen.js +0 -63
- package/Samples/MixpanelDemo/screens/GroupScreen.js +0 -142
- package/Samples/MixpanelDemo/screens/Home.js +0 -54
- package/Samples/MixpanelDemo/screens/ProfileScreen.js +0 -184
- package/Samples/MixpanelDemo/yarn.lock +0 -6945
- package/Samples/README.md +0 -39
- package/Samples/SimpleMixpanel/.buckconfig +0 -6
- package/Samples/SimpleMixpanel/.editorconfig +0 -3
- package/Samples/SimpleMixpanel/.eslintrc.js +0 -4
- package/Samples/SimpleMixpanel/.flowconfig +0 -66
- package/Samples/SimpleMixpanel/.gitattributes +0 -3
- package/Samples/SimpleMixpanel/.prettierrc.js +0 -7
- package/Samples/SimpleMixpanel/.watchmanconfig +0 -1
- package/Samples/SimpleMixpanel/App.js +0 -42
- package/Samples/SimpleMixpanel/__tests__/App-test.js +0 -14
- package/Samples/SimpleMixpanel/android/app/BUCK +0 -55
- package/Samples/SimpleMixpanel/android/app/build.gradle +0 -222
- package/Samples/SimpleMixpanel/android/app/build_defs.bzl +0 -19
- package/Samples/SimpleMixpanel/android/app/debug.keystore +0 -0
- package/Samples/SimpleMixpanel/android/app/proguard-rules.pro +0 -10
- package/Samples/SimpleMixpanel/android/app/src/debug/AndroidManifest.xml +0 -13
- package/Samples/SimpleMixpanel/android/app/src/debug/java/com/simplemixpanel/ReactNativeFlipper.java +0 -72
- package/Samples/SimpleMixpanel/android/app/src/main/AndroidManifest.xml +0 -25
- package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainActivity.java +0 -15
- package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainApplication.java +0 -80
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/values/strings.xml +0 -3
- package/Samples/SimpleMixpanel/android/app/src/main/res/values/styles.xml +0 -9
- package/Samples/SimpleMixpanel/android/build.gradle +0 -38
- package/Samples/SimpleMixpanel/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/Samples/SimpleMixpanel/android/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/Samples/SimpleMixpanel/android/gradle.properties +0 -28
- package/Samples/SimpleMixpanel/android/gradlew +0 -185
- package/Samples/SimpleMixpanel/android/gradlew.bat +0 -89
- package/Samples/SimpleMixpanel/android/settings.gradle +0 -3
- package/Samples/SimpleMixpanel/app.json +0 -4
- package/Samples/SimpleMixpanel/babel.config.js +0 -3
- package/Samples/SimpleMixpanel/index.js +0 -9
- package/Samples/SimpleMixpanel/ios/File.swift +0 -8
- package/Samples/SimpleMixpanel/ios/Podfile +0 -29
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.h +0 -8
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.m +0 -62
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Images.xcassets/Contents.json +0 -6
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Info.plist +0 -55
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/LaunchScreen.storyboard +0 -47
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/main.m +0 -9
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel-Bridging-Header.h +0 -4
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcodeproj/project.pbxproj +0 -694
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcodeproj/xcshareddata/xcschemes/SimpleMixpanel.xcscheme +0 -88
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcworkspace/contents.xcworkspacedata +0 -10
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/Samples/SimpleMixpanel/ios/SimpleMixpanelTests/Info.plist +0 -24
- package/Samples/SimpleMixpanel/ios/SimpleMixpanelTests/SimpleMixpanelTests.m +0 -65
- package/Samples/SimpleMixpanel/metro.config.js +0 -17
- package/Samples/SimpleMixpanel/package.json +0 -30
- package/Samples/SimpleMixpanel/yarn.lock +0 -6770
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "1210"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "YES"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
18
|
-
BuildableName = "ContextAPIMixpanel.app"
|
|
19
|
-
BlueprintName = "ContextAPIMixpanel"
|
|
20
|
-
ReferencedContainer = "container:ContextAPIMixpanel.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
</BuildActionEntries>
|
|
24
|
-
</BuildAction>
|
|
25
|
-
<TestAction
|
|
26
|
-
buildConfiguration = "Debug"
|
|
27
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
28
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
|
-
<Testables>
|
|
31
|
-
<TestableReference
|
|
32
|
-
skipped = "NO">
|
|
33
|
-
<BuildableReference
|
|
34
|
-
BuildableIdentifier = "primary"
|
|
35
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
36
|
-
BuildableName = "ContextAPIMixpanelTests.xctest"
|
|
37
|
-
BlueprintName = "ContextAPIMixpanelTests"
|
|
38
|
-
ReferencedContainer = "container:ContextAPIMixpanel.xcodeproj">
|
|
39
|
-
</BuildableReference>
|
|
40
|
-
</TestableReference>
|
|
41
|
-
</Testables>
|
|
42
|
-
</TestAction>
|
|
43
|
-
<LaunchAction
|
|
44
|
-
buildConfiguration = "Debug"
|
|
45
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
46
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
47
|
-
launchStyle = "0"
|
|
48
|
-
useCustomWorkingDirectory = "NO"
|
|
49
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
50
|
-
debugDocumentVersioning = "YES"
|
|
51
|
-
debugServiceExtension = "internal"
|
|
52
|
-
allowLocationSimulation = "YES">
|
|
53
|
-
<BuildableProductRunnable
|
|
54
|
-
runnableDebuggingMode = "0">
|
|
55
|
-
<BuildableReference
|
|
56
|
-
BuildableIdentifier = "primary"
|
|
57
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
58
|
-
BuildableName = "ContextAPIMixpanel.app"
|
|
59
|
-
BlueprintName = "ContextAPIMixpanel"
|
|
60
|
-
ReferencedContainer = "container:ContextAPIMixpanel.xcodeproj">
|
|
61
|
-
</BuildableReference>
|
|
62
|
-
</BuildableProductRunnable>
|
|
63
|
-
</LaunchAction>
|
|
64
|
-
<ProfileAction
|
|
65
|
-
buildConfiguration = "Release"
|
|
66
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
67
|
-
savedToolIdentifier = ""
|
|
68
|
-
useCustomWorkingDirectory = "NO"
|
|
69
|
-
debugDocumentVersioning = "YES">
|
|
70
|
-
<BuildableProductRunnable
|
|
71
|
-
runnableDebuggingMode = "0">
|
|
72
|
-
<BuildableReference
|
|
73
|
-
BuildableIdentifier = "primary"
|
|
74
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
75
|
-
BuildableName = "ContextAPIMixpanel.app"
|
|
76
|
-
BlueprintName = "ContextAPIMixpanel"
|
|
77
|
-
ReferencedContainer = "container:ContextAPIMixpanel.xcodeproj">
|
|
78
|
-
</BuildableReference>
|
|
79
|
-
</BuildableProductRunnable>
|
|
80
|
-
</ProfileAction>
|
|
81
|
-
<AnalyzeAction
|
|
82
|
-
buildConfiguration = "Debug">
|
|
83
|
-
</AnalyzeAction>
|
|
84
|
-
<ArchiveAction
|
|
85
|
-
buildConfiguration = "Release"
|
|
86
|
-
revealArchiveInOrganizer = "YES">
|
|
87
|
-
</ArchiveAction>
|
|
88
|
-
</Scheme>
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
#import <UIKit/UIKit.h>
|
|
2
|
-
#import <XCTest/XCTest.h>
|
|
3
|
-
|
|
4
|
-
#import <React/RCTLog.h>
|
|
5
|
-
#import <React/RCTRootView.h>
|
|
6
|
-
|
|
7
|
-
#define TIMEOUT_SECONDS 600
|
|
8
|
-
#define TEXT_TO_LOOK_FOR @"Welcome to React"
|
|
9
|
-
|
|
10
|
-
@interface ContextAPIMixpanelTests : XCTestCase
|
|
11
|
-
|
|
12
|
-
@end
|
|
13
|
-
|
|
14
|
-
@implementation ContextAPIMixpanelTests
|
|
15
|
-
|
|
16
|
-
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
|
17
|
-
{
|
|
18
|
-
if (test(view)) {
|
|
19
|
-
return YES;
|
|
20
|
-
}
|
|
21
|
-
for (UIView *subview in [view subviews]) {
|
|
22
|
-
if ([self findSubviewInView:subview matching:test]) {
|
|
23
|
-
return YES;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return NO;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
- (void)testRendersWelcomeScreen
|
|
30
|
-
{
|
|
31
|
-
UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];
|
|
32
|
-
NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];
|
|
33
|
-
BOOL foundElement = NO;
|
|
34
|
-
|
|
35
|
-
__block NSString *redboxError = nil;
|
|
36
|
-
#ifdef DEBUG
|
|
37
|
-
RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
|
38
|
-
if (level >= RCTLogLevelError) {
|
|
39
|
-
redboxError = message;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
#endif
|
|
43
|
-
|
|
44
|
-
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
|
45
|
-
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
46
|
-
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
47
|
-
|
|
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
|
-
}];
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
#ifdef DEBUG
|
|
57
|
-
RCTSetLogFunction(RCTDefaultLogFunction);
|
|
58
|
-
#endif
|
|
59
|
-
|
|
60
|
-
XCTAssertNil(redboxError, @"RedBox error: %@", redboxError);
|
|
61
|
-
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
@end
|
|
@@ -1,24 +0,0 @@
|
|
|
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>CFBundleDevelopmentRegion</key>
|
|
6
|
-
<string>en</string>
|
|
7
|
-
<key>CFBundleExecutable</key>
|
|
8
|
-
<string>$(EXECUTABLE_NAME)</string>
|
|
9
|
-
<key>CFBundleIdentifier</key>
|
|
10
|
-
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
11
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
-
<string>6.0</string>
|
|
13
|
-
<key>CFBundleName</key>
|
|
14
|
-
<string>$(PRODUCT_NAME)</string>
|
|
15
|
-
<key>CFBundlePackageType</key>
|
|
16
|
-
<string>BNDL</string>
|
|
17
|
-
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>1.0</string>
|
|
19
|
-
<key>CFBundleSignature</key>
|
|
20
|
-
<string>????</string>
|
|
21
|
-
<key>CFBundleVersion</key>
|
|
22
|
-
<string>1</string>
|
|
23
|
-
</dict>
|
|
24
|
-
</plist>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
2
|
-
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
3
|
-
|
|
4
|
-
platform :ios, '10.0'
|
|
5
|
-
|
|
6
|
-
target 'ContextAPIMixpanel' do
|
|
7
|
-
config = use_native_modules!
|
|
8
|
-
|
|
9
|
-
use_react_native!(
|
|
10
|
-
:path => config[:reactNativePath],
|
|
11
|
-
# to enable hermes on iOS, change `false` to `true` and then install pods
|
|
12
|
-
:hermes_enabled => false
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
target 'ContextAPIMixpanelTests' do
|
|
16
|
-
inherit! :complete
|
|
17
|
-
# Pods for testing
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
# Enables Flipper.
|
|
21
|
-
#
|
|
22
|
-
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
23
|
-
# you should disable the next line.
|
|
24
|
-
use_flipper!()
|
|
25
|
-
|
|
26
|
-
post_install do |installer|
|
|
27
|
-
react_native_post_install(installer)
|
|
28
|
-
end
|
|
29
|
-
end
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Metro configuration for React Native
|
|
3
|
-
* https://github.com/facebook/react-native
|
|
4
|
-
*
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
module.exports = {
|
|
9
|
-
transformer: {
|
|
10
|
-
getTransformOptions: async () => ({
|
|
11
|
-
transform: {
|
|
12
|
-
experimentalImportSupport: false,
|
|
13
|
-
inlineRequires: true,
|
|
14
|
-
},
|
|
15
|
-
}),
|
|
16
|
-
},
|
|
17
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "ContextAPIMixpanel",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"android": "react-native run-android",
|
|
7
|
-
"ios": "react-native run-ios",
|
|
8
|
-
"start": "react-native start",
|
|
9
|
-
"test": "jest",
|
|
10
|
-
"lint": "eslint ."
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"mixpanel-react-native": "file:../../",
|
|
14
|
-
"react": "17.0.1",
|
|
15
|
-
"react-native": "0.64.2"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@babel/core": "^7.14.8",
|
|
19
|
-
"@babel/runtime": "^7.14.8",
|
|
20
|
-
"@react-native-community/eslint-config": "^3.0.0",
|
|
21
|
-
"babel-jest": "^27.0.6",
|
|
22
|
-
"eslint": "^7.31.0",
|
|
23
|
-
"jest": "^27.0.6",
|
|
24
|
-
"metro-react-native-babel-preset": "^0.66.2",
|
|
25
|
-
"react-test-renderer": "17.0.1"
|
|
26
|
-
},
|
|
27
|
-
"jest": {
|
|
28
|
-
"preset": "react-native"
|
|
29
|
-
}
|
|
30
|
-
}
|