Skip to content

Commit

Permalink
Use RNBranchModule.onNewIntent() in webview_example
Browse files Browse the repository at this point in the history
  • Loading branch information
jdee committed Aug 27, 2020
1 parent b86c150 commit e1673b5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
2020-08-27 Version 5.0.0
- Requires react-native >= 0.60
- This release includes Branch native SDKs Android 5.0.3 and iOS 0.35.0.
- Added RNBranchModule.onNewIntent for Android. This replaces calling
`setIntent` and `RNBranchModule.reInitSession`.
```java
@Override
public void onNewIntent(Intent intent) {
super.onNewIntent(intent);
RNBranchModule.onNewIntent(intent);
}
```
- Added `cachedInitialEvent` Boolean parameter to `onOpenStart` callback.
- Improved support of in-app linking via `branch.openURL()`. The `newActivity`
option for Android was removed.
- There is a known issue with in-app linking on Android. When opening a link
within an app via `branch.openURL()`, there is no `onOpenStart` callback
and no `uri` parameter in the `onOpenComplete` callback. This will be
addressed in the next release.
- Rebuilt `testbed_simple`, `webview_example` and `browser_example` with
RN 0.62.2.

2020-07-23 Version 5.0.0-rc.1
- Requires react-native >= 0.60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ protected void onStart() {
@Override
public void onNewIntent(Intent intent) {
super.onNewIntent(intent);
setIntent(intent);
RNBranchModule.onNewIntent(intent);
}

/**
Expand Down

0 comments on commit e1673b5

Please sign in to comment.