Skip to content

Commit 90d4f3e

Browse files
Merge pull request #7 from lorenc-tomasz/1.2.6
1.2.6
2 parents e88dad7 + 7039ff0 commit 90d4f3e

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
# 1.2.6
2+
3+
- Fix issue with `showInAppMessageIfAvailable()` that throws "Unhandled promise rejection", ReferenceError : Can't find variable: token
4+
15
# 1.2.5
26

7+
- [iOS][tvOS] deployment_target changed to 10.0
38
- [Android] Update SDK to 5.8.4 (https://github.com/mixpanel/mixpanel-android/releases/tag/v5.8.4)
49
- [Android] Add option to disable automatic flushing when the app goes into the background. Add the following to you <application> tag on your AndroidManifest.xml if you don't want the SDK to automatically flush its queues when the app goes into the background: (https://github.com/mixpanel/mixpanel-android/releases/tag/v5.8.3)
510
- [iOS] Update SDK to 3.6.2 (https://github.com/mixpanel/mixpanel-iphone/releases/tag/v3.6.2)

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ export default {
483483

484484
showInAppMessageIfAvailable() {
485485
if (!defaultInstance) throw new Error(NO_INSTANCE_ERROR)
486-
defaultInstance.showInAppMessageIfAvailable(token)
486+
defaultInstance.showInAppMessageIfAvailable()
487487
},
488488

489489
optInTracking() {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-mixpanel",
3-
"version": "1.2.5",
3+
"version": "1.2.6",
44
"description": "A React Native wrapper for Mixpanel tracking",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)