Skip to content

Commit 0953290

Browse files
Morgan Cromellhassankhan
authored andcommitted
fix(react-native-branch): re-init branch session when resumed from background
1 parent be667a4 commit 0953290

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/react-native-branch/android/src/main/java/expo/modules/adapters/branch/BranchReactActivityLifecycleListener.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import io.branch.rnbranch.RNBranchModule
99

1010

1111
class BranchReactActivityLifecycleListener(activityContext: Context) : ReactActivityLifecycleListener {
12-
override fun onCreate(activity: Activity, savedInstanceState: Bundle?) {
12+
override fun onResume(activity: Activity) {
1313
RNBranchModule.initSession(activity.getIntent().getData(), activity);
1414
}
1515

0 commit comments

Comments
 (0)