Skip to content

Commit 8eb3418

Browse files
committed
Docs updates for 2.0.0-beta.5
1 parent c3037e0 commit 8eb3418

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

ChangeLog.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,14 @@
118118
Swift support.
119119
* Improvements to webview_example_native_ios to take advantage of full Swift support.
120120
* Includes native SDKs 0.14.12 (iOS), 2.6.1 (Android).
121+
122+
2017-05-19 Version 2.0.0-beta.5
123+
124+
* This release disables the unsupportable `setDebug()` method and provides new native methods to
125+
take its place. See https://rnbranch.app.link/hGj7E61EhD for details.
126+
* Removed the filter in the native layers that was passing null `params` to the `branch.subscribe` callback.
127+
Now `params` will never be null in the callback. Non-Branch links are
128+
available using the `+non_branch_link` parameter, like the rest of Branch's SDKs. See in particular the
129+
webview_example for updated usage. The `uri` parameter still exists, and its behavior is largely unchanged, but
130+
it should now be considered deprecated and will be removed in a future release.
131+
* Includes native SDKs 0.14.12 (iOS), 2.8.0 (Android).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This is a repository of our open source React Native SDK. Huge shoutout to our f
1111

1212
[Release 2.0.0]: ./docs/Release-2.0.0.md
1313

14-
Version 2.0.0-beta.4 is now available in NPM with a simplified SDK integration process. See [Release 2.0.0] for details.
14+
Version 2.0.0-beta.5 is now available in NPM with a simplified SDK integration process. See [Release 2.0.0] for details.
1515

1616
**v1.1.0** The `createBranchUniversalObject` method is now async, so be sure to use `await` or handle the promise resolution, e.g.
1717
```js

docs/Release-2.0.0.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ Further plans for 2.0.0:
2222

2323
## Changes
2424

25+
### Building, configuration and examples
26+
2527
- 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.
28+
- A jar file (version 2.8.0) is included for the Android SDK.
2729
- A Branch-SDK podspec is included in the NPM module for use in native apps that use the React pod from node_modules.
2830
- Five new testbed apps are available:
2931
+ testbed_simple illustrates the simplest way to integrate the SDK using `react-native link`.
@@ -34,7 +36,14 @@ Further plans for 2.0.0:
3436

3537
### JS API changes
3638

37-
Added missing `AddToCartEvent`, which was listed in the docs but not present in the SDK.
39+
- Added missing `AddToCartEvent`, which was listed in the docs but not present in the SDK.
40+
- Disabled `setDebug()`, which has never worked and is unsupportable. See https://rnbranch.app.link/hGj7E61EhD
41+
for details.
42+
- Removed the filter in the native layers that was passing null `params` to the `branch.subscribe` callback.
43+
Now `params` will never be null in the callback. Non-Branch links are
44+
available using the `+non_branch_link` parameter, like the rest of Branch's SDKs. See in particular the
45+
webview_example for updated usage. The `uri` parameter still exists, and its behavior is largely unchanged, but
46+
it should now be considered deprecated and will be removed in a future release.
3847

3948
### iOS API changes
4049

@@ -52,7 +61,7 @@ An overload of `Branch.initSession` was introduced that accepts a `Branch.Branch
5261
#### Simple
5362

5463
```bash
55-
npm install --save [email protected].4
64+
npm install --save [email protected].5
5665
react-native link react-native-branch
5766
```
5867

0 commit comments

Comments
 (0)