mixpanel-react-native 3.0.6 → 3.0.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
#
|
|
2
2
|
|
|
3
|
+
## [v3.0.8](https://github.com/mixpanel/mixpanel-react-native/tree/v3.0.8) (2024-11-21)
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- encodeURIComponent body JSON data [\#277](https://github.com/mixpanel/mixpanel-react-native/pull/277)
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
|
|
11
|
+
## [v3.0.7](https://github.com/mixpanel/mixpanel-react-native/tree/v3.0.7) (2024-09-26)
|
|
12
|
+
|
|
13
|
+
### Fixes
|
|
14
|
+
|
|
15
|
+
- Revert the minSDK to 21 [\#271](https://github.com/mixpanel/mixpanel-react-native/pull/271)
|
|
16
|
+
- revert android [\#267](https://github.com/mixpanel/mixpanel-react-native/pull/267)
|
|
17
|
+
|
|
18
|
+
#
|
|
19
|
+
|
|
3
20
|
## [v3.0.6](https://github.com/mixpanel/mixpanel-react-native/tree/v3.0.6) (2024-09-10)
|
|
4
21
|
|
|
5
22
|
### Enhancements
|
|
@@ -461,3 +478,7 @@ This major release removes all remaining calls to Mixpanel's `/decide` API endpo
|
|
|
461
478
|
|
|
462
479
|
|
|
463
480
|
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
|
package/android/build.gradle
CHANGED
|
@@ -21,7 +21,7 @@ android {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
defaultConfig {
|
|
24
|
-
minSdkVersion
|
|
24
|
+
minSdkVersion 21
|
|
25
25
|
targetSdkVersion 34
|
|
26
26
|
versionCode 1
|
|
27
27
|
versionName "1.0"
|
|
@@ -41,5 +41,5 @@ repositories {
|
|
|
41
41
|
|
|
42
42
|
dependencies {
|
|
43
43
|
implementation 'com.facebook.react:react-native:+'
|
|
44
|
-
implementation 'com.mixpanel.android:mixpanel-android:7.5.
|
|
44
|
+
implementation 'com.mixpanel.android:mixpanel-android:7.5.2'
|
|
45
45
|
}
|
|
@@ -26,7 +26,7 @@ export const MixpanelNetwork = (() => {
|
|
|
26
26
|
headers: {
|
|
27
27
|
"Content-Type": "application/x-www-form-urlencoded",
|
|
28
28
|
},
|
|
29
|
-
body: `data=${JSON.stringify(data)}`,
|
|
29
|
+
body: `data=${encodeURIComponent(JSON.stringify(data))}`,
|
|
30
30
|
});
|
|
31
31
|
|
|
32
32
|
const responseBody = await response.json();
|