mixpanel-react-native 1.3.2 → 1.3.6

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.
@@ -73,7 +73,7 @@ jobs:
73
73
  run: yarn install
74
74
  - name: Setup iOS
75
75
  working-directory: ./Samples/SimpleMixpanel/ios
76
- run: pod install
76
+ run: pod install --repo-update
77
77
  - name: Test iOS
78
78
  working-directory: ./Samples/SimpleMixpanel
79
79
  run: yarn ios
@@ -25,8 +25,8 @@ jobs:
25
25
  enhancementLabel: '### Enhancements'
26
26
  stripGeneratorNotice: true
27
27
  bugsLabel: '### Fixes'
28
- issues: true
29
- issuesWoLabels: true
28
+ issues: false
29
+ issuesWoLabels: false
30
30
  pullRequests: true
31
31
  prWoLabels: true
32
32
  author: false
@@ -56,8 +56,8 @@ jobs:
56
56
  enhancementLabel: '### Enhancements'
57
57
  stripGeneratorNotice: true
58
58
  bugsLabel: '### Fixes'
59
- issues: true
60
- issuesWoLabels: true
59
+ issues: false
60
+ issuesWoLabels: false
61
61
  pullRequests: true
62
62
  prWoLabels: true
63
63
  author: false
package/CHANGELOG.md CHANGED
@@ -1,5 +1,93 @@
1
1
  #
2
2
 
3
+ ## [v1.3.6](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.6) (2022-01-13)
4
+
5
+ ### Fixes
6
+
7
+ - Fix common mobile events not showing 'react-native' as property value for 'Mixpanel Library' [\#122](https://github.com/mixpanel/mixpanel-react-native/pull/122)
8
+
9
+ #
10
+
11
+ ## [v1.3.5](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.5) (2022-01-04)
12
+
13
+ **Closed issues:**
14
+
15
+ - iOS app crashes when `optOutTrackingDefault` is set - `Assertion failed: You have to call initialize\(token:\) before calling the main instance, or define a new main instance if removing the main one` [\#114](https://github.com/mixpanel/mixpanel-react-native/issues/114)
16
+ - Cannot get users properties? [\#113](https://github.com/mixpanel/mixpanel-react-native/issues/113)
17
+ - Users shows undefined Email of tracked user [\#112](https://github.com/mixpanel/mixpanel-react-native/issues/112)
18
+ - FirstAppOpen event not triggered from iOS [\#111](https://github.com/mixpanel/mixpanel-react-native/issues/111)
19
+ - Set user properties [\#107](https://github.com/mixpanel/mixpanel-react-native/issues/107)
20
+ - Events missing on web dashboard. [\#106](https://github.com/mixpanel/mixpanel-react-native/issues/106)
21
+ - Feature Request: functionality to get promise on mixpanel.track\(\) [\#105](https://github.com/mixpanel/mixpanel-react-native/issues/105)
22
+ - "TS2554: Expected 1 arguments, but got 0." error when implementing Samples/ContextAPIMixpanel/Analytics.js [\#86](https://github.com/mixpanel/mixpanel-react-native/issues/86)
23
+
24
+ **Merged pull requests:**
25
+
26
+ - nested dictionary should be a valid type in iOS [\#119](https://github.com/mixpanel/mixpanel-react-native/pull/119)
27
+ - fix setGroup array properties [\#118](https://github.com/mixpanel/mixpanel-react-native/pull/118)
28
+ - bump SDk dependencies [\#116](https://github.com/mixpanel/mixpanel-react-native/pull/116)
29
+ - Fix Expo SDK 44 build error [\#115](https://github.com/mixpanel/mixpanel-react-native/pull/115)
30
+
31
+ #
32
+
33
+ ## [v1.3.4](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.4) (2021-09-25)
34
+
35
+ **Closed issues:**
36
+
37
+ - ANDROID\_NDK\_HOME error when building Android with version 1.3.3 [\#101](https://github.com/mixpanel/mixpanel-react-native/issues/101)
38
+ - \[Android\] Build fails after Maven migration [\#94](https://github.com/mixpanel/mixpanel-react-native/issues/94)
39
+ - \[Android\] Mixpanel not working after upgrading React Native to 0.65.0 [\#93](https://github.com/mixpanel/mixpanel-react-native/issues/93)
40
+ - Mixpanel.library is always displayed react-native [\#92](https://github.com/mixpanel/mixpanel-react-native/issues/92)
41
+ - App Session events don't seem to be logged after v1.2.4 [\#91](https://github.com/mixpanel/mixpanel-react-native/issues/91)
42
+
43
+ **Merged pull requests:**
44
+
45
+ - Bump native SDK dependencies [\#102](https://github.com/mixpanel/mixpanel-react-native/pull/102)
46
+
47
+ #
48
+
49
+ ## [v1.3.3](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.3) (2021-09-21)
50
+
51
+ ### Fixes
52
+
53
+ - Enable automatic events in iOS [\#99](https://github.com/mixpanel/mixpanel-react-native/pull/99)
54
+ - replace JCenter with Maven [\#95](https://github.com/mixpanel/mixpanel-react-native/pull/95)
55
+
56
+ **Closed issues:**
57
+
58
+ - library not found for -lMixpanelReactNative for iOS [\#96](https://github.com/mixpanel/mixpanel-react-native/issues/96)
59
+ - mixpanel.register not supported in react-native library [\#90](https://github.com/mixpanel/mixpanel-react-native/issues/90)
60
+ - Mixpanel.addPushDeviceToken ? [\#89](https://github.com/mixpanel/mixpanel-react-native/issues/89)
61
+ - Are the types correct on the latest version? [\#83](https://github.com/mixpanel/mixpanel-react-native/issues/83)
62
+
63
+ **Merged pull requests:**
64
+
65
+ - Bump tmpl from 1.0.4 to 1.0.5 in /Samples/ContextAPIMixpanel [\#100](https://github.com/mixpanel/mixpanel-react-native/pull/100)
66
+ - Bump tmpl from 1.0.4 to 1.0.5 [\#98](https://github.com/mixpanel/mixpanel-react-native/pull/98)
67
+ - Bump tmpl from 1.0.4 to 1.0.5 in /Samples/MixpanelDemo [\#97](https://github.com/mixpanel/mixpanel-react-native/pull/97)
68
+ - Bump path-parse from 1.0.6 to 1.0.7 in /Samples/MixpanelDemo [\#87](https://github.com/mixpanel/mixpanel-react-native/pull/87)
69
+ - Bump path-parse from 1.0.6 to 1.0.7 [\#84](https://github.com/mixpanel/mixpanel-react-native/pull/84)
70
+ - Bump react-native from 0.64.0 to 0.64.1 in /Samples/MixpanelDemo [\#80](https://github.com/mixpanel/mixpanel-react-native/pull/80)
71
+
72
+ #
73
+
74
+ ## [v1.3.2](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.2) (2021-08-23)
75
+
76
+ ### Fixes
77
+
78
+ - Add constructor method type definition [\#85](https://github.com/mixpanel/mixpanel-react-native/pull/85)
79
+
80
+ **Closed issues:**
81
+
82
+ - Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceId [\#75](https://github.com/mixpanel/mixpanel-react-native/issues/75)
83
+ - It only track on Android in iOS nothing at all [\#72](https://github.com/mixpanel/mixpanel-react-native/issues/72)
84
+ - Mixpanel React Native is null [\#71](https://github.com/mixpanel/mixpanel-react-native/issues/71)
85
+ - Are the documented initializations correct? [\#70](https://github.com/mixpanel/mixpanel-react-native/issues/70)
86
+ - Getting "MixpanelReactNative is null" on fresh install [\#46](https://github.com/mixpanel/mixpanel-react-native/issues/46)
87
+ - Example using ContextAPI and functional components [\#17](https://github.com/mixpanel/mixpanel-react-native/issues/17)
88
+
89
+ #
90
+
3
91
  ## [v1.3.1](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.1) (2021-07-29)
4
92
 
5
93
  ### Fixes
@@ -52,3 +140,13 @@
52
140
 
53
141
 
54
142
 
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+
@@ -19,5 +19,5 @@ Pod::Spec.new do |s|
19
19
  s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
20
20
 
21
21
  s.dependency "React"
22
- s.dependency "Mixpanel-swift", '2.9.3'
22
+ s.dependency "Mixpanel-swift", '3.1.0'
23
23
  end
package/README.md CHANGED
@@ -45,7 +45,8 @@ npm install mixpanel-react-native
45
45
  pod install
46
46
  ```
47
47
  Please note: You do not need to update your Podfile to add Mixpanel.
48
- 3. For Xcode 12.5+, there is a known compile issue, please refer to this **[workaround](https://github.com/mixpanel/mixpanel-react-native/issues/43#issuecomment-829599732)**.
48
+
49
+ 3. Since Xcode 12.5, there is a known swift compile issue, please refer to this **[workaround](https://github.com/mixpanel/mixpanel-react-native/issues/43#issuecomment-829599732)**. However the compile issue has been resolved in Xcode 13.2.1+, there is no extra step required as long as you upgrade to Xcode 13.2.1+.
49
50
 
50
51
 
51
52
  ### 2. Initialize Mixpanel
@@ -0,0 +1,28 @@
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>1632526110612</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>
@@ -4831,7 +4831,7 @@ mixin-deep@^1.2.0:
4831
4831
  is-extendable "^1.0.1"
4832
4832
 
4833
4833
  "mixpanel-react-native@file:../..":
4834
- version "1.3.2"
4834
+ version "1.3.6"
4835
4835
 
4836
4836
  mkdirp@^0.5.1:
4837
4837
  version "0.5.5"
@@ -6253,9 +6253,9 @@ through2@^2.0.1:
6253
6253
  xtend "~4.0.1"
6254
6254
 
6255
6255
  tmpl@1.0.x:
6256
- version "1.0.4"
6257
- resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
6258
- integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
6256
+ version "1.0.5"
6257
+ resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"
6258
+ integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==
6259
6259
 
6260
6260
  to-fast-properties@^2.0.0:
6261
6261
  version "2.0.0"
@@ -0,0 +1,28 @@
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>1632526110615</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>
@@ -468,20 +468,10 @@
468
468
  );
469
469
  inputPaths = (
470
470
  "${PODS_ROOT}/Target Support Files/Pods-MixpanelDemo/Pods-MixpanelDemo-resources.sh",
471
- "${PODS_ROOT}/Mixpanel-swift/Sources/MiniNotificationViewController.xib",
472
- "${PODS_ROOT}/Mixpanel-swift/Sources/placeholder-image.png",
473
- "${PODS_ROOT}/Mixpanel-swift/Sources/TakeoverNotificationViewController~ipad.xib",
474
- "${PODS_ROOT}/Mixpanel-swift/Sources/TakeoverNotificationViewController~iphonelandscape.xib",
475
- "${PODS_ROOT}/Mixpanel-swift/Sources/TakeoverNotificationViewController~iphoneportrait.xib",
476
471
  "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
477
472
  );
478
473
  name = "[CP] Copy Pods Resources";
479
474
  outputPaths = (
480
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MiniNotificationViewController.nib",
481
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/placeholder-image.png",
482
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TakeoverNotificationViewController~ipad.nib",
483
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TakeoverNotificationViewController~iphonelandscape.nib",
484
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TakeoverNotificationViewController~iphoneportrait.nib",
485
475
  "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
486
476
  );
487
477
  runOnlyForDeploymentPostprocessing = 0;
@@ -496,20 +486,10 @@
496
486
  );
497
487
  inputPaths = (
498
488
  "${PODS_ROOT}/Target Support Files/Pods-MixpanelDemo-MixpanelDemoTests/Pods-MixpanelDemo-MixpanelDemoTests-resources.sh",
499
- "${PODS_ROOT}/Mixpanel-swift/Sources/MiniNotificationViewController.xib",
500
- "${PODS_ROOT}/Mixpanel-swift/Sources/placeholder-image.png",
501
- "${PODS_ROOT}/Mixpanel-swift/Sources/TakeoverNotificationViewController~ipad.xib",
502
- "${PODS_ROOT}/Mixpanel-swift/Sources/TakeoverNotificationViewController~iphonelandscape.xib",
503
- "${PODS_ROOT}/Mixpanel-swift/Sources/TakeoverNotificationViewController~iphoneportrait.xib",
504
489
  "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
505
490
  );
506
491
  name = "[CP] Copy Pods Resources";
507
492
  outputPaths = (
508
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MiniNotificationViewController.nib",
509
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/placeholder-image.png",
510
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TakeoverNotificationViewController~ipad.nib",
511
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TakeoverNotificationViewController~iphonelandscape.nib",
512
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TakeoverNotificationViewController~iphoneportrait.nib",
513
493
  "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
514
494
  );
515
495
  runOnlyForDeploymentPostprocessing = 0;
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "mixpanel-react-native": "file:../..",
14
14
  "react": "17.0.1",
15
- "react-native": "0.64.0",
15
+ "react-native": "0.64.1",
16
16
  "react-native-gesture-handler": "^1.8.0",
17
17
  "react-native-interactable": "^2.0.1",
18
18
  "react-native-ionicons": "^4.6.5",
@@ -4734,7 +4734,7 @@ mixin-deep@^1.2.0:
4734
4734
  is-extendable "^1.0.1"
4735
4735
 
4736
4736
  "mixpanel-react-native@file:../..":
4737
- version "1.3.2"
4737
+ version "1.3.6"
4738
4738
 
4739
4739
  mkdirp@^0.5.1:
4740
4740
  version "0.5.5"
@@ -5174,9 +5174,9 @@ path-key@^3.0.0, path-key@^3.1.0:
5174
5174
  integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
5175
5175
 
5176
5176
  path-parse@^1.0.6:
5177
- version "1.0.6"
5178
- resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
5179
- integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
5177
+ version "1.0.7"
5178
+ resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
5179
+ integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
5180
5180
 
5181
5181
  path-to-regexp@^1.8.0:
5182
5182
  version "1.8.0"
@@ -5434,10 +5434,10 @@ react-native-screens@^2.13.0:
5434
5434
  resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-2.18.1.tgz#47b9991c6f762d00d0ed3233e5283d523e859885"
5435
5435
  integrity sha512-r5WZLpmx2hHjC1RgMdPq5YpSU9tEhBpUaZ5M1SUtNIONyiLqQVxabhRCINdebIk4depJiIl7yw2Q85zJyeX6fw==
5436
5436
 
5437
- react-native@0.64.0:
5438
- version "0.64.0"
5439
- resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.64.0.tgz#c3bde5b638bf8bcf12bae6e094930d39cb942ab7"
5440
- integrity sha512-8dhSHBthgGwAjU+OjqUEA49229ThPMQH7URH0u8L0xoQFCnZO2sZ9Wc6KcbxI0x9KSmjCMFFZqRe3w3QsRv64g==
5437
+ react-native@0.64.1:
5438
+ version "0.64.1"
5439
+ resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.64.1.tgz#cd38f5b47b085549686f34eb0c9dcd466f307635"
5440
+ integrity sha512-jvSj+hNAfwvhaSmxd5KHJ5HidtG0pDXzoH6DaqNpU74g3CmAiA8vuk58B5yx/DYuffGq6PeMniAcwuh3Xp4biQ==
5441
5441
  dependencies:
5442
5442
  "@jest/create-cache-key-function" "^26.5.0"
5443
5443
  "@react-native-community/cli" "^5.0.1-alpha.0"
@@ -6401,9 +6401,9 @@ through2@^2.0.1:
6401
6401
  xtend "~4.0.1"
6402
6402
 
6403
6403
  tmpl@1.0.x:
6404
- version "1.0.4"
6405
- resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
6406
- integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
6404
+ version "1.0.5"
6405
+ resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"
6406
+ integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==
6407
6407
 
6408
6408
  to-fast-properties@^2.0.0:
6409
6409
  version "2.0.0"
@@ -0,0 +1,28 @@
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>1632526110607</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>