mixpanel-react-native 1.3.3 → 1.3.7

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,59 @@
1
1
  #
2
2
 
3
+ ## [v1.3.7](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.7) (2022-01-26)
4
+
5
+ ### Fixes
6
+
7
+ - Bump iOS SDK to v3.1.2 [\#125](https://github.com/mixpanel/mixpanel-react-native/pull/125)
8
+
9
+ #
10
+
11
+ ## [v1.3.6](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.6) (2022-01-13)
12
+
13
+ ### Fixes
14
+
15
+ - Fix common mobile events not showing 'react-native' as property value for 'Mixpanel Library' [\#122](https://github.com/mixpanel/mixpanel-react-native/pull/122)
16
+
17
+ #
18
+
19
+ ## [v1.3.5](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.5) (2022-01-04)
20
+
21
+ **Closed issues:**
22
+
23
+ - 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)
24
+ - Cannot get users properties? [\#113](https://github.com/mixpanel/mixpanel-react-native/issues/113)
25
+ - Users shows undefined Email of tracked user [\#112](https://github.com/mixpanel/mixpanel-react-native/issues/112)
26
+ - FirstAppOpen event not triggered from iOS [\#111](https://github.com/mixpanel/mixpanel-react-native/issues/111)
27
+ - Set user properties [\#107](https://github.com/mixpanel/mixpanel-react-native/issues/107)
28
+ - Events missing on web dashboard. [\#106](https://github.com/mixpanel/mixpanel-react-native/issues/106)
29
+ - Feature Request: functionality to get promise on mixpanel.track\(\) [\#105](https://github.com/mixpanel/mixpanel-react-native/issues/105)
30
+ - "TS2554: Expected 1 arguments, but got 0." error when implementing Samples/ContextAPIMixpanel/Analytics.js [\#86](https://github.com/mixpanel/mixpanel-react-native/issues/86)
31
+
32
+ **Merged pull requests:**
33
+
34
+ - nested dictionary should be a valid type in iOS [\#119](https://github.com/mixpanel/mixpanel-react-native/pull/119)
35
+ - fix setGroup array properties [\#118](https://github.com/mixpanel/mixpanel-react-native/pull/118)
36
+ - bump SDk dependencies [\#116](https://github.com/mixpanel/mixpanel-react-native/pull/116)
37
+ - Fix Expo SDK 44 build error [\#115](https://github.com/mixpanel/mixpanel-react-native/pull/115)
38
+
39
+ #
40
+
41
+ ## [v1.3.4](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.4) (2021-09-25)
42
+
43
+ **Closed issues:**
44
+
45
+ - ANDROID\_NDK\_HOME error when building Android with version 1.3.3 [\#101](https://github.com/mixpanel/mixpanel-react-native/issues/101)
46
+ - \[Android\] Build fails after Maven migration [\#94](https://github.com/mixpanel/mixpanel-react-native/issues/94)
47
+ - \[Android\] Mixpanel not working after upgrading React Native to 0.65.0 [\#93](https://github.com/mixpanel/mixpanel-react-native/issues/93)
48
+ - Mixpanel.library is always displayed react-native [\#92](https://github.com/mixpanel/mixpanel-react-native/issues/92)
49
+ - App Session events don't seem to be logged after v1.2.4 [\#91](https://github.com/mixpanel/mixpanel-react-native/issues/91)
50
+
51
+ **Merged pull requests:**
52
+
53
+ - Bump native SDK dependencies [\#102](https://github.com/mixpanel/mixpanel-react-native/pull/102)
54
+
55
+ #
56
+
3
57
  ## [v1.3.3](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.3) (2021-09-21)
4
58
 
5
59
  ### Fixes
@@ -98,3 +152,11 @@
98
152
 
99
153
 
100
154
 
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2020 Mixpanel, Inc.
1
+ Copyright 2022 Mixpanel, Inc.
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this work except in compliance with the License.
@@ -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.2'
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>
@@ -10,7 +10,7 @@
10
10
  "lint": "eslint ."
11
11
  },
12
12
  "dependencies": {
13
- "mixpanel-react-native": "file:../../",
13
+ "mixpanel-react-native": "file:../..",
14
14
  "react": "17.0.1",
15
15
  "react-native": "0.64.2"
16
16
  },
@@ -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.3"
4834
+ version "1.3.7"
4835
4835
 
4836
4836
  mkdirp@^0.5.1:
4837
4837
  version "0.5.5"
@@ -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;
@@ -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.3"
4737
+ version "1.3.7"
4738
4738
 
4739
4739
  mkdirp@^0.5.1:
4740
4740
  version "0.5.5"
@@ -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>