Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ If you'd like to support, you can donate some Ether to this address: 0x4cD5D72FF
## Additional Step for iOS ##
- Install Mixpanel iOS SDK via either Cocoapods or manually [more info here](https://mixpanel.com/help/reference/ios)

## Additional info for Android (version >= 1.1.2) ##

From version 1.1.2 module uses Mixpanel SDK >= 5.6.0 that requires FCM

- Migration steps can be found [here](https://github.com/mixpanel/mixpanel-android/releases/tag/v5.5.0)
- 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)


# Manual Installation

Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ android {
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
}
}

dependencies {
compile 'com.facebook.react:react-native:+'
compile "com.mixpanel.android:mixpanel-android:5.6.0"
implementation 'com.facebook.react:react-native:+'
api "com.mixpanel.android:mixpanel-android:5.6.0"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-mixpanel",
"version": "1.1.1",
"version": "1.1.2",
"description": "A React Native wrapper for Mixpanel tracking",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion react-native-mixpanel.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/davodesign84/react-native-mixpanel.git" }
s.source_files = 'RNMixpanel/*'
s.platform = :ios, "7.0"
s.dependency 'Mixpanel'
s.dependency 'Mixpanel', '~> 3.4.5'
s.dependency 'React'
end