mixpanel-react-native 1.3.5 → 1.3.8
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/.github/workflows/release.yml +4 -4
- package/CHANGELOG.md +55 -0
- package/LICENSE +1 -1
- package/MixpanelReactNative.podspec +1 -1
- package/Samples/ContextAPIMixpanel/package.json +1 -1
- package/Samples/ContextAPIMixpanel/yarn.lock +1 -1
- package/Samples/MixpanelDemo/yarn.lock +1 -1
- package/Samples/SimpleMixpanel/App.js +1 -1
- package/Samples/SimpleMixpanel/yarn.lock +1464 -1405
- package/__tests__/index.test.js +7 -1
- package/android/src/main/java/com/mixpanel/reactnative/MixpanelReactNativeModule.java +3 -3
- package/docs/Mixpanel.html +58 -35
- package/docs/MixpanelGroup.html +7 -7
- package/docs/People.html +12 -12
- package/docs/index.html +1 -1
- package/docs/index.js.html +24 -23
- package/index.d.ts +4 -1
- package/index.js +23 -22
- package/ios/MixpanelReactNative.swift +3 -3
- package/package.json +24 -25
- package/release.py +3 -3
|
@@ -25,8 +25,8 @@ jobs:
|
|
|
25
25
|
enhancementLabel: '### Enhancements'
|
|
26
26
|
stripGeneratorNotice: true
|
|
27
27
|
bugsLabel: '### Fixes'
|
|
28
|
-
issues:
|
|
29
|
-
issuesWoLabels:
|
|
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:
|
|
60
|
-
issuesWoLabels:
|
|
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,52 @@
|
|
|
1
1
|
#
|
|
2
2
|
|
|
3
|
+
## [v1.3.8](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.8) (2022-02-25)
|
|
4
|
+
|
|
5
|
+
### Enhancements
|
|
6
|
+
|
|
7
|
+
- add init super props & declare multi-prop interfaces [\#127](https://github.com/mixpanel/mixpanel-react-native/pull/127)
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
## [v1.3.7](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.7) (2022-01-26)
|
|
12
|
+
|
|
13
|
+
### Fixes
|
|
14
|
+
|
|
15
|
+
- Bump iOS SDK to v3.1.2 [\#125](https://github.com/mixpanel/mixpanel-react-native/pull/125)
|
|
16
|
+
|
|
17
|
+
#
|
|
18
|
+
|
|
19
|
+
## [v1.3.6](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.6) (2022-01-13)
|
|
20
|
+
### Caution: Please DO NOT use this build! In this version, we have a bug in iOS that event names with `&` or `%` will be rejected by the server. We recommend you update to 1.3.7 or above.
|
|
21
|
+
|
|
22
|
+
### Fixes
|
|
23
|
+
|
|
24
|
+
- Fix common mobile events not showing 'react-native' as property value for 'Mixpanel Library' [\#122](https://github.com/mixpanel/mixpanel-react-native/pull/122)
|
|
25
|
+
|
|
26
|
+
#
|
|
27
|
+
|
|
28
|
+
## [v1.3.5](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.5) (2022-01-04)
|
|
29
|
+
|
|
30
|
+
**Closed issues:**
|
|
31
|
+
|
|
32
|
+
- 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)
|
|
33
|
+
- Cannot get users properties? [\#113](https://github.com/mixpanel/mixpanel-react-native/issues/113)
|
|
34
|
+
- Users shows undefined Email of tracked user [\#112](https://github.com/mixpanel/mixpanel-react-native/issues/112)
|
|
35
|
+
- FirstAppOpen event not triggered from iOS [\#111](https://github.com/mixpanel/mixpanel-react-native/issues/111)
|
|
36
|
+
- Set user properties [\#107](https://github.com/mixpanel/mixpanel-react-native/issues/107)
|
|
37
|
+
- Events missing on web dashboard. [\#106](https://github.com/mixpanel/mixpanel-react-native/issues/106)
|
|
38
|
+
- Feature Request: functionality to get promise on mixpanel.track\(\) [\#105](https://github.com/mixpanel/mixpanel-react-native/issues/105)
|
|
39
|
+
- "TS2554: Expected 1 arguments, but got 0." error when implementing Samples/ContextAPIMixpanel/Analytics.js [\#86](https://github.com/mixpanel/mixpanel-react-native/issues/86)
|
|
40
|
+
|
|
41
|
+
**Merged pull requests:**
|
|
42
|
+
|
|
43
|
+
- nested dictionary should be a valid type in iOS [\#119](https://github.com/mixpanel/mixpanel-react-native/pull/119)
|
|
44
|
+
- fix setGroup array properties [\#118](https://github.com/mixpanel/mixpanel-react-native/pull/118)
|
|
45
|
+
- bump SDk dependencies [\#116](https://github.com/mixpanel/mixpanel-react-native/pull/116)
|
|
46
|
+
- Fix Expo SDK 44 build error [\#115](https://github.com/mixpanel/mixpanel-react-native/pull/115)
|
|
47
|
+
|
|
48
|
+
#
|
|
49
|
+
|
|
3
50
|
## [v1.3.4](https://github.com/mixpanel/mixpanel-react-native/tree/v1.3.4) (2021-09-25)
|
|
4
51
|
|
|
5
52
|
**Closed issues:**
|
|
@@ -115,4 +162,12 @@
|
|
|
115
162
|
|
|
116
163
|
|
|
117
164
|
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
118
173
|
|
package/LICENSE
CHANGED
|
@@ -2,7 +2,7 @@ import React, { Component } from 'react';
|
|
|
2
2
|
import { Button, SafeAreaView } from "react-native";
|
|
3
3
|
import { Mixpanel } from 'mixpanel-react-native';
|
|
4
4
|
|
|
5
|
-
const mixpanel = new Mixpanel("
|
|
5
|
+
const mixpanel = new Mixpanel("Your Project Token");
|
|
6
6
|
mixpanel.init();
|
|
7
7
|
|
|
8
8
|
// *************************************
|