Skip to content

Commit 975e6c4

Browse files
lorenc-tomaszdavide-scalzo
authored andcommitted
Lock iOS on 3.4.5 and update Android to 5.6.0 (davide-scalzo#175)
* Update Android SDK to 5.6.0 * Lock iOS podspec to 3.4.4 * Updater package * Update Readme * Change implementation to api within gradle build * Lock iOS podspec to 3.4.5
1 parent cb757f7 commit 975e6c4

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ If you'd like to support, you can donate some Ether to this address: 0x4cD5D72FF
1616
## Additional Step for iOS ##
1717
- Install Mixpanel iOS SDK via either Cocoapods or manually [more info here](https://mixpanel.com/help/reference/ios)
1818

19+
## Additional info for Android (version >= 1.1.2) ##
20+
21+
From version 1.1.2 module uses Mixpanel SDK >= 5.6.0 that requires FCM
22+
23+
- Migration steps can be found [here](https://github.com/mixpanel/mixpanel-android/releases/tag/v5.5.0)
24+
- Allow sub-classes to override push notifications payload and Support when more than one push provider is used [more info here](https://github.com/mixpanel/mixpanel-android/releases/tag/v5.5.1)
25+
1926

2027
# Manual Installation
2128

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ android {
1010
versionCode 1
1111
versionName "1.0"
1212
ndk {
13-
abiFilters "armeabi-v7a", "x86"
13+
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
1414
}
1515
}
1616
}
1717

1818
dependencies {
19-
compile 'com.facebook.react:react-native:+'
20-
compile "com.mixpanel.android:mixpanel-android:5.6.0"
19+
implementation 'com.facebook.react:react-native:+'
20+
api "com.mixpanel.android:mixpanel-android:5.6.0"
2121
}

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.1.1",
3+
"version": "1.1.2",
44
"description": "A React Native wrapper for Mixpanel tracking",
55
"main": "index.js",
66
"repository": {

react-native-mixpanel.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Pod::Spec.new do |s|
99
s.source = { :git => "https://github.com/davodesign84/react-native-mixpanel.git" }
1010
s.source_files = 'RNMixpanel/*'
1111
s.platform = :ios, "7.0"
12-
s.dependency 'Mixpanel'
12+
s.dependency 'Mixpanel', '~> 3.4.5'
1313
s.dependency 'React'
1414
end

0 commit comments

Comments
 (0)