|
| 1 | +2019-04-19 Version 3.0.0-rc.1 |
| 2 | + * Removed docs folder from distro. |
| 3 | + * Updated to iOS SDK 0.26.0, Android 3.1.1. |
| 4 | + * Removed Branch-SDK & react-native-branch-segment podspecs. Removed Branch |
| 5 | + iOS SDK source code from distribution in favor of using CocoaPods. |
| 6 | + * Renamed cached_initial_event parameter +rn_cached_initial_event. |
| 7 | + * Updated all examples to RN 0.59.6, React 16.8.6. |
| 8 | + * NPM is not currently supported (#433). package-lock.json removed from all |
| 9 | + examples. NPM removed from instructions in docs. |
| 10 | + |
| 11 | + **Updating to 3.0.0** |
| 12 | + - If using the `cached_initial_event` parameter, change it to |
| 13 | + `+rn_cached_initial_event`. |
| 14 | + - \[Android] Add `implementation 'io.branch.sdk.android:library:3.+'` to `app/build.gradle`. |
| 15 | + - \[Android] Change the call to `Branch.getAutoInstance` in `Application.onCreate` to |
| 16 | + `RNBranchModule.getAutoInstance`. |
| 17 | + - \[iOS] Add version 0.26.0 of the Branch pod to your Podfile: |
| 18 | + |
| 19 | + **Pure RN app with react-native link** |
| 20 | + - If you already have a Podfile, add `pod 'Branch', '0.26.0'`. Then run |
| 21 | + `pod install`. |
| 22 | + - If you don't have a Podfile, add one to your `ios` subdirectory using |
| 23 | + these contents: |
| 24 | + ```Ruby |
| 25 | + platform :ios, "9.0" |
| 26 | + |
| 27 | + use_frameworks! |
| 28 | + |
| 29 | + pod "Branch", "0.26.0" |
| 30 | + |
| 31 | + target "MyApp" |
| 32 | + ``` |
| 33 | + Change `MyApp` to the name of your application target. Install CocoaPods |
| 34 | + if necessary: https://guides.cocoapods.org/using/getting-started.html#installation. |
| 35 | + Run `pod install` in the ios subdirectory. |
| 36 | + Note that this creates a workspace called `MyApp.xcworkspace` in the same |
| 37 | + directory. From now on, open the workspace, not the project. |
| 38 | + - Note that if your local podspec repo is quite old, you may need to update |
| 39 | + it to get the current version of the Branch SDK. Do this by running |
| 40 | + `pod install --repo-update` or by running `pod repo update` before |
| 41 | + `pod install`. |
| 42 | + |
| 43 | + **Native iOS app with the react-native-branch pod** |
| 44 | + - Remove `pod 'Branch-SDK'` from your Podfile. Run `pod install`. |
| 45 | + |
1 | 46 | 2019-03-27 Version 2.3.5 |
2 | 47 | * Remove docs folder from distro. |
3 | 48 | * Updated to iOS SDK 0.26.0. |
|
0 commit comments