You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Release-2.0.0.md
+25-6Lines changed: 25 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,19 +16,34 @@ production. Please open issues in this repo with any questions or problems.
16
16
Further plans for 2.0.0:
17
17
18
18
- Provide a script to automate project configuration changes, such as adding a Branch key and setting up Universal Link/App Link domains.
19
-
- Provide a testbed_native_android illustrating integration into an existing Android app.
19
+
- Review/flesh out the native API for link routing on both platforms.
20
+
- Consistent error codes across the two platforms.
20
21
- TBD
21
22
22
23
## Changes
23
24
24
-
- The native iOS SDK source (version 0.13.5) is now included in the RNBranch project and is no longer a required external dependency.
25
-
- A jar file (version 2.5.9) is included for the Android SDK.
25
+
- The native iOS SDK source (version 0.14.12) is now included in the RNBranch project and is no longer a required external dependency.
26
+
- A jar file (version 2.6.1) is included for the Android SDK.
26
27
- A Branch-SDK podspec is included in the NPM module for use in native apps that use the React pod from node_modules.
27
-
-Two new testbed apps are available:
28
+
-Five new testbed apps are available:
28
29
+ testbed_simple illustrates the simplest way to integrate the SDK using `react-native link`.
29
30
+ testbed_native_ios illustrates including `react-native-branch` in a React Native component within a native iOS app.
31
+
+ testbed_native_android illustrates including `react-native-branch` in a React Native component within a native Android app.
32
+
+ webview_example is a realistic example of SDK integration following best practices.
33
+
+ webview_example_native_ios is a realistic example of SDK integration in a React Native component within a Swift app.
30
34
31
-
There have so far been no API changes in 2.0.0.
35
+
### JS API changes
36
+
37
+
Added missing `AddToCartEvent`, which was listed in the docs but not present in the SDK.
38
+
39
+
### iOS API changes
40
+
41
+
An `RNBranchLinkOpenedNotification` was added to allow link routing in native apps that integrate `react-native-branch`.
42
+
See testbed_native_ios and webview_example_native_ios for examples.
43
+
44
+
### Android API changes
45
+
46
+
An overload of `Branch.initSession` was introduced that accepts a `Branch.BranchUniversalReferralInitListener` to allow link routing in native apps that integrate `react-native-branch`. An `RNBranchModule.NATIVE_INIT_SESSION_FINISHED_EVENT` local broadcast is also available for the same purpose. See testbed_native_android for an example.
32
47
33
48
## SDK Integration
34
49
@@ -37,7 +52,7 @@ There have so far been no API changes in 2.0.0.
0 commit comments