mixpanel-react-native 3.0.3 → 3.0.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/CHANGELOG.md +11 -0
- package/Samples/MixpanelExpo/package.json +1 -1
- package/Samples/MixpanelExpo/yarn.lock +7052 -0
- package/Samples/SimpleMixpanel/ios/Podfile.lock +1414 -0
- package/docs/Mixpanel.html +33 -33
- package/docs/MixpanelGroup.html +7 -7
- package/docs/People.html +12 -12
- package/docs/index.html +1 -1
- package/docs/index.js.html +8 -18
- package/index.d.ts +7 -5
- package/index.js +7 -17
- package/javascript/mixpanel-network.js +2 -2
- package/package.json +1 -1
- package/Samples/ContextAPIMixpanel/android/.project +0 -28
- package/Samples/MixpanelDemo/android/.project +0 -28
- package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +0 -1895
- package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +0 -2343
- package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +0 -2542
- package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpecJSI.h +0 -8693
- package/Samples/SimpleMixpanel/ios/build/generated/ios/RCTModulesConformingToProtocolsProvider.h +0 -18
- package/Samples/SimpleMixpanel/ios/build/generated/ios/RCTModulesConformingToProtocolsProvider.mm +0 -33
- package/Samples/SimpleMixpanel/ios/build/generated/ios/React-Codegen.podspec.json +0 -1
- package/android/bin/.gradle/5.5/executionHistory/executionHistory.lock +0 -0
- package/android/bin/.gradle/5.5/fileChanges/last-build.bin +0 -0
- package/android/bin/.gradle/5.5/fileHashes/fileHashes.bin +0 -0
- package/android/bin/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
- package/android/bin/.gradle/5.5/gc.properties +0 -0
- package/android/bin/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/bin/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/bin/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/bin/.gradle/vcs-1/gc.properties +0 -0
- package/android/bin/.idea/caches/build_file_checksums.ser +0 -0
- package/android/bin/.idea/compiler.xml +0 -6
- package/android/bin/.idea/gradle.xml +0 -21
- package/android/bin/.idea/jarRepositories.xml +0 -30
- package/android/bin/.idea/libraries/Gradle__com_android_support_appcompat_v7_23_0_1_aar.xml +0 -16
- package/android/bin/.idea/libraries/Gradle__com_android_support_recyclerview_v7_23_0_1_aar.xml +0 -13
- package/android/bin/.idea/libraries/Gradle__com_android_support_support_annotations_23_0_1.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_android_support_support_v4_23_0_1_aar.xml +0 -17
- package/android/bin/.idea/libraries/Gradle__com_facebook_fresco_drawee_0_8_1_aar.xml +0 -13
- package/android/bin/.idea/libraries/Gradle__com_facebook_fresco_fbcore_0_8_1_aar.xml +0 -13
- package/android/bin/.idea/libraries/Gradle__com_facebook_fresco_fresco_0_8_1_aar.xml +0 -13
- package/android/bin/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_0_8_1_aar.xml +0 -13
- package/android/bin/.idea/libraries/Gradle__com_facebook_fresco_imagepipeline_okhttp_0_8_1_aar.xml +0 -13
- package/android/bin/.idea/libraries/Gradle__com_facebook_react_react_native_0_20_1_aar.xml +0 -17
- package/android/bin/.idea/libraries/Gradle__com_facebook_stetho_stetho_1_2_0.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_facebook_stetho_stetho_okhttp_1_2_0.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_fasterxml_jackson_core_jackson_core_2_2_3.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_google_code_findbugs_jsr305_3_0_0.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_mixpanel_android_mixpanel_android_6_0_0_beta1_aar.xml +0 -16
- package/android/bin/.idea/libraries/Gradle__com_nineoldandroids_library_2_4_0.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_parse_bolts_bolts_android_1_1_4.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_2_5_0.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_squareup_okhttp_okhttp_ws_2_5_0.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__com_squareup_okio_okio_1_6_0.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__commons_cli_commons_cli_1_2.xml +0 -11
- package/android/bin/.idea/libraries/Gradle__org_webkit_android_jsc_r174650_aar.xml +0 -11
- package/android/bin/.idea/misc.xml +0 -9
- package/android/bin/.idea/modules.xml +0 -8
- package/android/bin/.idea/vcs.xml +0 -6
- package/android/bin/.idea/workspace.xml +0 -57
- package/android/bin/.project +0 -34
- package/android/bin/.settings/org.eclipse.buildship.core.prefs +0 -13
- package/android/bin/build.gradle +0 -45
- package/android/bin/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/bin/gradle/wrapper/gradle-wrapper.properties +0 -6
- package/android/bin/gradlew +0 -172
- package/android/bin/gradlew.bat +0 -84
- package/android/bin/local.properties +0 -8
- package/android/bin/src/main/AndroidManifest.xml +0 -2
package/docs/Mixpanel.html
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
|
|
94
94
|
<dt class="tag-source">Source:</dt>
|
|
95
95
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
96
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
96
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line38">line 38</a>
|
|
97
97
|
</li></ul></dd>
|
|
98
98
|
|
|
99
99
|
|
|
@@ -309,7 +309,7 @@ Initializes Mixpanel and return an instance of Mixpanel the given project token.
|
|
|
309
309
|
|
|
310
310
|
<dt class="tag-source">Source:</dt>
|
|
311
311
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
312
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
312
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line100">line 100</a>
|
|
313
313
|
</li></ul></dd>
|
|
314
314
|
|
|
315
315
|
|
|
@@ -469,7 +469,7 @@ Initializes Mixpanel and return an instance of Mixpanel the given project token.
|
|
|
469
469
|
|
|
470
470
|
<dt class="tag-source">Source:</dt>
|
|
471
471
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
472
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
472
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line389">line 389</a>
|
|
473
473
|
</li></ul></dd>
|
|
474
474
|
|
|
475
475
|
|
|
@@ -634,7 +634,7 @@ Multiple aliases can point to the same identifier.
|
|
|
634
634
|
|
|
635
635
|
<dt class="tag-source">Source:</dt>
|
|
636
636
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
637
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
637
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line264">line 264</a>
|
|
638
638
|
</li></ul></dd>
|
|
639
639
|
|
|
640
640
|
|
|
@@ -727,7 +727,7 @@ superProperties registered before the clearSuperProperties method was called.
|
|
|
727
727
|
|
|
728
728
|
<dt class="tag-source">Source:</dt>
|
|
729
729
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
730
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
730
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line497">line 497</a>
|
|
731
731
|
</li></ul></dd>
|
|
732
732
|
|
|
733
733
|
|
|
@@ -889,7 +889,7 @@ to Group Analytics using the same group value will create and store new values.<
|
|
|
889
889
|
|
|
890
890
|
<dt class="tag-source">Source:</dt>
|
|
891
891
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
892
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
892
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line417">line 417</a>
|
|
893
893
|
</li></ul></dd>
|
|
894
894
|
|
|
895
895
|
|
|
@@ -1026,7 +1026,7 @@ to Group Analytics using the same group value will create and store new values.<
|
|
|
1026
1026
|
|
|
1027
1027
|
<dt class="tag-source">Source:</dt>
|
|
1028
1028
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1029
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1029
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line522">line 522</a>
|
|
1030
1030
|
</li></ul></dd>
|
|
1031
1031
|
|
|
1032
1032
|
|
|
@@ -1142,7 +1142,7 @@ send all remaining messages to the server.
|
|
|
1142
1142
|
|
|
1143
1143
|
<dt class="tag-source">Source:</dt>
|
|
1144
1144
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1145
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1145
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line582">line 582</a>
|
|
1146
1146
|
</li></ul></dd>
|
|
1147
1147
|
|
|
1148
1148
|
|
|
@@ -1238,7 +1238,7 @@ const deviceId = await mixpanel.getDeviceId();
|
|
|
1238
1238
|
|
|
1239
1239
|
<dt class="tag-source">Source:</dt>
|
|
1240
1240
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1241
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1241
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line569">line 569</a>
|
|
1242
1242
|
</li></ul></dd>
|
|
1243
1243
|
|
|
1244
1244
|
|
|
@@ -1356,7 +1356,7 @@ const distinctId = await mixpanel.getDistinctId();
|
|
|
1356
1356
|
|
|
1357
1357
|
<dt class="tag-source">Source:</dt>
|
|
1358
1358
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1359
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1359
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line551">line 551</a>
|
|
1360
1360
|
</li></ul></dd>
|
|
1361
1361
|
|
|
1362
1362
|
|
|
@@ -1539,7 +1539,7 @@ Group Analytics properties.
|
|
|
1539
1539
|
|
|
1540
1540
|
<dt class="tag-source">Source:</dt>
|
|
1541
1541
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1542
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1542
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line369">line 369</a>
|
|
1543
1543
|
</li></ul></dd>
|
|
1544
1544
|
|
|
1545
1545
|
|
|
@@ -1639,7 +1639,7 @@ People Analytics properties.
|
|
|
1639
1639
|
|
|
1640
1640
|
<dt class="tag-source">Source:</dt>
|
|
1641
1641
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1642
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1642
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line306">line 306</a>
|
|
1643
1643
|
</li></ul></dd>
|
|
1644
1644
|
|
|
1645
1645
|
|
|
@@ -1753,7 +1753,7 @@ and persist beyond the lifetime of your application.
|
|
|
1753
1753
|
|
|
1754
1754
|
<dt class="tag-source">Source:</dt>
|
|
1755
1755
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1756
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1756
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line485">line 485</a>
|
|
1757
1757
|
</li></ul></dd>
|
|
1758
1758
|
|
|
1759
1759
|
|
|
@@ -1863,7 +1863,7 @@ and persist beyond the lifetime of your application.
|
|
|
1863
1863
|
|
|
1864
1864
|
<dt class="tag-source">Source:</dt>
|
|
1865
1865
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1866
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1866
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line189">line 189</a>
|
|
1867
1867
|
</li></ul></dd>
|
|
1868
1868
|
|
|
1869
1869
|
|
|
@@ -2034,7 +2034,7 @@ your application.
|
|
|
2034
2034
|
|
|
2035
2035
|
<dt class="tag-source">Source:</dt>
|
|
2036
2036
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2037
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2037
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line234">line 234</a>
|
|
2038
2038
|
</li></ul></dd>
|
|
2039
2039
|
|
|
2040
2040
|
|
|
@@ -2256,7 +2256,7 @@ your application.
|
|
|
2256
2256
|
|
|
2257
2257
|
<dt class="tag-source">Source:</dt>
|
|
2258
2258
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2259
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2259
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line70">line 70</a>
|
|
2260
2260
|
</li></ul></dd>
|
|
2261
2261
|
|
|
2262
2262
|
|
|
@@ -2346,7 +2346,7 @@ This method will internally track an opt-in event to your project.
|
|
|
2346
2346
|
|
|
2347
2347
|
<dt class="tag-source">Source:</dt>
|
|
2348
2348
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2349
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2349
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line199">line 199</a>
|
|
2350
2350
|
</li></ul></dd>
|
|
2351
2351
|
|
|
2352
2352
|
|
|
@@ -2438,7 +2438,7 @@ This method will also remove any user-related information from the device.
|
|
|
2438
2438
|
|
|
2439
2439
|
<dt class="tag-source">Source:</dt>
|
|
2440
2440
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2441
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2441
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line210">line 210</a>
|
|
2442
2442
|
</li></ul></dd>
|
|
2443
2443
|
|
|
2444
2444
|
|
|
@@ -2585,7 +2585,7 @@ to remove a superProperty, call unregisterSuperProperty() or clearSuperPropertie
|
|
|
2585
2585
|
|
|
2586
2586
|
<dt class="tag-source">Source:</dt>
|
|
2587
2587
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2588
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2588
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line439">line 439</a>
|
|
2589
2589
|
</li></ul></dd>
|
|
2590
2590
|
|
|
2591
2591
|
|
|
@@ -2725,7 +2725,7 @@ same names has already been registered.
|
|
|
2725
2725
|
|
|
2726
2726
|
<dt class="tag-source">Source:</dt>
|
|
2727
2727
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2728
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2728
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line454">line 454</a>
|
|
2729
2729
|
</li></ul></dd>
|
|
2730
2730
|
|
|
2731
2731
|
|
|
@@ -2885,7 +2885,7 @@ same names has already been registered.
|
|
|
2885
2885
|
|
|
2886
2886
|
<dt class="tag-source">Source:</dt>
|
|
2887
2887
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2888
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2888
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line402">line 402</a>
|
|
2889
2889
|
</li></ul></dd>
|
|
2890
2890
|
|
|
2891
2891
|
|
|
@@ -2974,7 +2974,7 @@ same names has already been registered.
|
|
|
2974
2974
|
|
|
2975
2975
|
<dt class="tag-source">Source:</dt>
|
|
2976
2976
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
2977
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
2977
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line533">line 533</a>
|
|
2978
2978
|
</li></ul></dd>
|
|
2979
2979
|
|
|
2980
2980
|
|
|
@@ -3113,7 +3113,7 @@ Defaults to true.</td>
|
|
|
3113
3113
|
|
|
3114
3114
|
<dt class="tag-source">Source:</dt>
|
|
3115
3115
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3116
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3116
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line180">line 180</a>
|
|
3117
3117
|
</li></ul></dd>
|
|
3118
3118
|
|
|
3119
3119
|
|
|
@@ -3251,7 +3251,7 @@ when the app enters the background on iOS. This is set to true by default.
|
|
|
3251
3251
|
|
|
3252
3252
|
<dt class="tag-source">Source:</dt>
|
|
3253
3253
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3254
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3254
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line146">line 146</a>
|
|
3255
3255
|
</li></ul></dd>
|
|
3256
3256
|
|
|
3257
3257
|
|
|
@@ -3411,7 +3411,7 @@ when the app enters the background on iOS. This is set to true by default.
|
|
|
3411
3411
|
|
|
3412
3412
|
<dt class="tag-source">Source:</dt>
|
|
3413
3413
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3414
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3414
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line353">line 353</a>
|
|
3415
3415
|
</li></ul></dd>
|
|
3416
3416
|
|
|
3417
3417
|
|
|
@@ -3550,7 +3550,7 @@ you are running into issues with the SDK that you want to debug
|
|
|
3550
3550
|
|
|
3551
3551
|
<dt class="tag-source">Source:</dt>
|
|
3552
3552
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3553
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3553
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line135">line 135</a>
|
|
3554
3554
|
</li></ul></dd>
|
|
3555
3555
|
|
|
3556
3556
|
|
|
@@ -3689,7 +3689,7 @@ To route data to Mixpanel's EU servers, set to https://api-eu.mixpanel.com
|
|
|
3689
3689
|
|
|
3690
3690
|
<dt class="tag-source">Source:</dt>
|
|
3691
3691
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3692
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3692
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line123">line 123</a>
|
|
3693
3693
|
</li></ul></dd>
|
|
3694
3694
|
|
|
3695
3695
|
|
|
@@ -3829,7 +3829,7 @@ Defaults to true.</td>
|
|
|
3829
3829
|
|
|
3830
3830
|
<dt class="tag-source">Source:</dt>
|
|
3831
3831
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3832
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3832
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line165">line 165</a>
|
|
3833
3833
|
</li></ul></dd>
|
|
3834
3834
|
|
|
3835
3835
|
|
|
@@ -3968,7 +3968,7 @@ property, representing the number of seconds between your calls.
|
|
|
3968
3968
|
|
|
3969
3969
|
<dt class="tag-source">Source:</dt>
|
|
3970
3970
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
3971
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
3971
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line508">line 508</a>
|
|
3972
3972
|
</li></ul></dd>
|
|
3973
3973
|
|
|
3974
3974
|
|
|
@@ -4134,7 +4134,7 @@ that event.
|
|
|
4134
4134
|
|
|
4135
4135
|
<dt class="tag-source">Source:</dt>
|
|
4136
4136
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4137
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
4137
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line286">line 286</a>
|
|
4138
4138
|
</li></ul></dd>
|
|
4139
4139
|
|
|
4140
4140
|
|
|
@@ -4323,7 +4323,7 @@ that event. Group key/value pairs are upserted into the property map before trac
|
|
|
4323
4323
|
|
|
4324
4324
|
<dt class="tag-source">Source:</dt>
|
|
4325
4325
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4326
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
4326
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line329">line 329</a>
|
|
4327
4327
|
</li></ul></dd>
|
|
4328
4328
|
|
|
4329
4329
|
|
|
@@ -4464,7 +4464,7 @@ To clear all superProperties, use clearSuperProperties()
|
|
|
4464
4464
|
|
|
4465
4465
|
<dt class="tag-source">Source:</dt>
|
|
4466
4466
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
4467
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
4467
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line470">line 470</a>
|
|
4468
4468
|
</li></ul></dd>
|
|
4469
4469
|
|
|
4470
4470
|
|
|
@@ -4516,7 +4516,7 @@ To clear all superProperties, use clearSuperProperties()
|
|
|
4516
4516
|
<br class="clear">
|
|
4517
4517
|
|
|
4518
4518
|
<footer>
|
|
4519
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on
|
|
4519
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
|
|
4520
4520
|
</footer>
|
|
4521
4521
|
|
|
4522
4522
|
<script> prettyPrint(); </script>
|
package/docs/MixpanelGroup.html
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
|
|
96
96
|
<dt class="tag-source">Source:</dt>
|
|
97
97
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
98
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
98
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line804">line 804</a>
|
|
99
99
|
</li></ul></dd>
|
|
100
100
|
|
|
101
101
|
|
|
@@ -284,7 +284,7 @@ If the property exists and is not list-valued, the remove will be ignored.
|
|
|
284
284
|
|
|
285
285
|
<dt class="tag-source">Source:</dt>
|
|
286
286
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
287
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
287
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line890">line 890</a>
|
|
288
288
|
</li></ul></dd>
|
|
289
289
|
|
|
290
290
|
|
|
@@ -446,7 +446,7 @@ possibly overwriting an existing property with the same name.
|
|
|
446
446
|
|
|
447
447
|
<dt class="tag-source">Source:</dt>
|
|
448
448
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
449
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
449
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line823">line 823</a>
|
|
450
450
|
</li></ul></dd>
|
|
451
451
|
|
|
452
452
|
|
|
@@ -606,7 +606,7 @@ possibly overwriting an existing property with the same name.
|
|
|
606
606
|
|
|
607
607
|
<dt class="tag-source">Source:</dt>
|
|
608
608
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
609
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
609
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line847">line 847</a>
|
|
610
610
|
</li></ul></dd>
|
|
611
611
|
|
|
612
612
|
|
|
@@ -768,7 +768,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
768
768
|
|
|
769
769
|
<dt class="tag-source">Source:</dt>
|
|
770
770
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
771
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
771
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line912">line 912</a>
|
|
772
772
|
</li></ul></dd>
|
|
773
773
|
|
|
774
774
|
|
|
@@ -905,7 +905,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
905
905
|
|
|
906
906
|
<dt class="tag-source">Source:</dt>
|
|
907
907
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
908
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
908
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line870">line 870</a>
|
|
909
909
|
</li></ul></dd>
|
|
910
910
|
|
|
911
911
|
|
|
@@ -957,7 +957,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
957
957
|
<br class="clear">
|
|
958
958
|
|
|
959
959
|
<footer>
|
|
960
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on
|
|
960
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
|
|
961
961
|
</footer>
|
|
962
962
|
|
|
963
963
|
<script> prettyPrint(); </script>
|
package/docs/People.html
CHANGED
|
@@ -100,7 +100,7 @@ call to identify using a different id.</div>
|
|
|
100
100
|
|
|
101
101
|
<dt class="tag-source">Source:</dt>
|
|
102
102
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
103
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
103
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line598">line 598</a>
|
|
104
104
|
</li></ul></dd>
|
|
105
105
|
|
|
106
106
|
|
|
@@ -289,7 +289,7 @@ currently have a list value, the append will be ignored.
|
|
|
289
289
|
|
|
290
290
|
<dt class="tag-source">Source:</dt>
|
|
291
291
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
292
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
292
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line693">line 693</a>
|
|
293
293
|
</li></ul></dd>
|
|
294
294
|
|
|
295
295
|
|
|
@@ -377,7 +377,7 @@ currently have a list value, the append will be ignored.
|
|
|
377
377
|
|
|
378
378
|
<dt class="tag-source">Source:</dt>
|
|
379
379
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
380
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
380
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line784">line 784</a>
|
|
381
381
|
</li></ul></dd>
|
|
382
382
|
|
|
383
383
|
|
|
@@ -468,7 +468,7 @@ to People Analytics using the same distinct id will create and store new values.
|
|
|
468
468
|
|
|
469
469
|
<dt class="tag-source">Source:</dt>
|
|
470
470
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
471
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
471
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line794">line 794</a>
|
|
472
472
|
</li></ul></dd>
|
|
473
473
|
|
|
474
474
|
|
|
@@ -630,7 +630,7 @@ provide a negative number for the value.
|
|
|
630
630
|
|
|
631
631
|
<dt class="tag-source">Source:</dt>
|
|
632
632
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
633
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
633
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line657">line 657</a>
|
|
634
634
|
</li></ul></dd>
|
|
635
635
|
|
|
636
636
|
|
|
@@ -792,7 +792,7 @@ If the property exists and is not list-valued, the remove will be ignored.
|
|
|
792
792
|
|
|
793
793
|
<dt class="tag-source">Source:</dt>
|
|
794
794
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
795
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
795
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line738">line 738</a>
|
|
796
796
|
</li></ul></dd>
|
|
797
797
|
|
|
798
798
|
|
|
@@ -954,7 +954,7 @@ possibly overwriting an existing property with the same name.
|
|
|
954
954
|
|
|
955
955
|
<dt class="tag-source">Source:</dt>
|
|
956
956
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
957
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
957
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line615">line 615</a>
|
|
958
958
|
</li></ul></dd>
|
|
959
959
|
|
|
960
960
|
|
|
@@ -1114,7 +1114,7 @@ possibly overwriting an existing property with the same name.
|
|
|
1114
1114
|
|
|
1115
1115
|
<dt class="tag-source">Source:</dt>
|
|
1116
1116
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1117
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1117
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line634">line 634</a>
|
|
1118
1118
|
</li></ul></dd>
|
|
1119
1119
|
|
|
1120
1120
|
|
|
@@ -1274,7 +1274,7 @@ possibly overwriting an existing property with the same name.
|
|
|
1274
1274
|
|
|
1275
1275
|
<dt class="tag-source">Source:</dt>
|
|
1276
1276
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1277
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1277
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line770">line 770</a>
|
|
1278
1278
|
</li></ul></dd>
|
|
1279
1279
|
|
|
1280
1280
|
|
|
@@ -1436,7 +1436,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
1436
1436
|
|
|
1437
1437
|
<dt class="tag-source">Source:</dt>
|
|
1438
1438
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1439
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1439
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line716">line 716</a>
|
|
1440
1440
|
</li></ul></dd>
|
|
1441
1441
|
|
|
1442
1442
|
|
|
@@ -1573,7 +1573,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
1573
1573
|
|
|
1574
1574
|
<dt class="tag-source">Source:</dt>
|
|
1575
1575
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
1576
|
-
<a href="index.js.html">index.js</a>, <a href="index.js.html#
|
|
1576
|
+
<a href="index.js.html">index.js</a>, <a href="index.js.html#line757">line 757</a>
|
|
1577
1577
|
</li></ul></dd>
|
|
1578
1578
|
|
|
1579
1579
|
|
|
@@ -1625,7 +1625,7 @@ If the property exists and is not list-valued, the union will be ignored.
|
|
|
1625
1625
|
<br class="clear">
|
|
1626
1626
|
|
|
1627
1627
|
<footer>
|
|
1628
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on
|
|
1628
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
|
|
1629
1629
|
</footer>
|
|
1630
1630
|
|
|
1631
1631
|
<script> prettyPrint(); </script>
|
package/docs/index.html
CHANGED
|
@@ -203,7 +203,7 @@ Please refer to our <a href="https://mixpanel.com/legal/app-store-privacy-detai
|
|
|
203
203
|
<br class="clear">
|
|
204
204
|
|
|
205
205
|
<footer>
|
|
206
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on
|
|
206
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
|
|
207
207
|
</footer>
|
|
208
208
|
|
|
209
209
|
<script> prettyPrint(); </script>
|
package/docs/index.js.html
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
import {Platform, NativeModules} from "react-native";
|
|
32
32
|
import packageJson from "./package.json";
|
|
33
33
|
const {MixpanelReactNative} = NativeModules;
|
|
34
|
-
import MixpanelMain from "mixpanel-react-native/javascript/mixpanel-main";
|
|
35
34
|
|
|
36
35
|
const DevicePlatform = {
|
|
37
36
|
Unknown: "Unknown",
|
|
@@ -74,27 +73,18 @@ export class Mixpanel {
|
|
|
74
73
|
}
|
|
75
74
|
this.token = token;
|
|
76
75
|
this.trackAutomaticEvents = trackAutomaticEvents;
|
|
77
|
-
if (!useNative) {
|
|
78
|
-
this.mixpanelImpl = new MixpanelMain(
|
|
79
|
-
token,
|
|
80
|
-
trackAutomaticEvents,
|
|
81
|
-
storage
|
|
82
|
-
);
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
76
|
|
|
86
|
-
if (
|
|
77
|
+
if (useNative && MixpanelReactNative) {
|
|
78
|
+
this.mixpanelImpl = MixpanelReactNative;
|
|
79
|
+
return;
|
|
80
|
+
} else if (useNative) {
|
|
87
81
|
console.warn(
|
|
88
82
|
"MixpanelReactNative is not available; using JavaScript mode. If you prefer not to use the JavaScript mode, please follow the guide in the GitHub repository: https://github.com/mixpanel/mixpanel-react-native."
|
|
89
83
|
);
|
|
90
|
-
this.mixpanelImpl = new MixpanelMain(
|
|
91
|
-
token,
|
|
92
|
-
trackAutomaticEvents,
|
|
93
|
-
storage
|
|
94
|
-
);
|
|
95
|
-
} else {
|
|
96
|
-
this.mixpanelImpl = MixpanelReactNative;
|
|
97
84
|
}
|
|
85
|
+
|
|
86
|
+
const MixpanelMain = require("mixpanel-react-native/javascript/mixpanel-main");
|
|
87
|
+
this.mixpanelImpl = new MixpanelMain(token, trackAutomaticEvents, storage);
|
|
98
88
|
}
|
|
99
89
|
|
|
100
90
|
/**
|
|
@@ -1048,7 +1038,7 @@ class ObjectHelper {
|
|
|
1048
1038
|
<br class="clear">
|
|
1049
1039
|
|
|
1050
1040
|
<footer>
|
|
1051
|
-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on
|
|
1041
|
+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Mon May 13 2024 11:52:17 GMT-0700 (Pacific Daylight Time)
|
|
1052
1042
|
</footer>
|
|
1053
1043
|
|
|
1054
1044
|
<script> prettyPrint(); </script>
|
package/index.d.ts
CHANGED
|
@@ -2,16 +2,18 @@ type MixpanelType = any;
|
|
|
2
2
|
type MixpanelProperties = {[key: string]: MixpanelType};
|
|
3
3
|
|
|
4
4
|
export type MixpanelAsyncStorage = {
|
|
5
|
-
getItem(key: string): Promise<string | null
|
|
6
|
-
setItem(key: string, value: string): Promise<void
|
|
7
|
-
removeItem(key: string): Promise<void
|
|
8
|
-
}
|
|
5
|
+
getItem(key: string): Promise<string | null>;
|
|
6
|
+
setItem(key: string, value: string): Promise<void>;
|
|
7
|
+
removeItem(key: string): Promise<void>;
|
|
8
|
+
};
|
|
9
9
|
|
|
10
10
|
export class Mixpanel {
|
|
11
|
+
constructor(token: string, trackAutoMaticEvents: boolean);
|
|
12
|
+
constructor(token: string, trackAutoMaticEvents: boolean, useNative: true);
|
|
11
13
|
constructor(
|
|
12
14
|
token: string,
|
|
13
15
|
trackAutomaticEvents: boolean,
|
|
14
|
-
useNative
|
|
16
|
+
useNative: false,
|
|
15
17
|
storage?: MixpanelAsyncStorage
|
|
16
18
|
);
|
|
17
19
|
static init(
|
package/index.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import {Platform, NativeModules} from "react-native";
|
|
4
4
|
import packageJson from "./package.json";
|
|
5
5
|
const {MixpanelReactNative} = NativeModules;
|
|
6
|
-
import MixpanelMain from "mixpanel-react-native/javascript/mixpanel-main";
|
|
7
6
|
|
|
8
7
|
const DevicePlatform = {
|
|
9
8
|
Unknown: "Unknown",
|
|
@@ -46,27 +45,18 @@ export class Mixpanel {
|
|
|
46
45
|
}
|
|
47
46
|
this.token = token;
|
|
48
47
|
this.trackAutomaticEvents = trackAutomaticEvents;
|
|
49
|
-
if (!useNative) {
|
|
50
|
-
this.mixpanelImpl = new MixpanelMain(
|
|
51
|
-
token,
|
|
52
|
-
trackAutomaticEvents,
|
|
53
|
-
storage
|
|
54
|
-
);
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
48
|
|
|
58
|
-
if (
|
|
49
|
+
if (useNative && MixpanelReactNative) {
|
|
50
|
+
this.mixpanelImpl = MixpanelReactNative;
|
|
51
|
+
return;
|
|
52
|
+
} else if (useNative) {
|
|
59
53
|
console.warn(
|
|
60
54
|
"MixpanelReactNative is not available; using JavaScript mode. If you prefer not to use the JavaScript mode, please follow the guide in the GitHub repository: https://github.com/mixpanel/mixpanel-react-native."
|
|
61
55
|
);
|
|
62
|
-
this.mixpanelImpl = new MixpanelMain(
|
|
63
|
-
token,
|
|
64
|
-
trackAutomaticEvents,
|
|
65
|
-
storage
|
|
66
|
-
);
|
|
67
|
-
} else {
|
|
68
|
-
this.mixpanelImpl = MixpanelReactNative;
|
|
69
56
|
}
|
|
57
|
+
|
|
58
|
+
const MixpanelMain = require("mixpanel-react-native/javascript/mixpanel-main");
|
|
59
|
+
this.mixpanelImpl = new MixpanelMain(token, trackAutomaticEvents, storage);
|
|
70
60
|
}
|
|
71
61
|
|
|
72
62
|
/**
|
|
@@ -24,9 +24,9 @@ export const MixpanelNetwork = (() => {
|
|
|
24
24
|
const response = await fetch(url, {
|
|
25
25
|
method: "POST",
|
|
26
26
|
headers: {
|
|
27
|
-
"Content-Type": "application/
|
|
27
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
28
28
|
},
|
|
29
|
-
body: JSON.stringify(data)
|
|
29
|
+
body: `data=${JSON.stringify(data)}`,
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
const responseBody = await response.json();
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<projectDescription>
|
|
3
|
-
<name>android_</name>
|
|
4
|
-
<comment>Project android_ created by Buildship.</comment>
|
|
5
|
-
<projects>
|
|
6
|
-
</projects>
|
|
7
|
-
<buildSpec>
|
|
8
|
-
<buildCommand>
|
|
9
|
-
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
10
|
-
<arguments>
|
|
11
|
-
</arguments>
|
|
12
|
-
</buildCommand>
|
|
13
|
-
</buildSpec>
|
|
14
|
-
<natures>
|
|
15
|
-
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
16
|
-
</natures>
|
|
17
|
-
<filteredResources>
|
|
18
|
-
<filter>
|
|
19
|
-
<id>1686200212448</id>
|
|
20
|
-
<name></name>
|
|
21
|
-
<type>30</type>
|
|
22
|
-
<matcher>
|
|
23
|
-
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
24
|
-
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
25
|
-
</matcher>
|
|
26
|
-
</filter>
|
|
27
|
-
</filteredResources>
|
|
28
|
-
</projectDescription>
|