File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
browser_example/android/app/src/main/java/com/browser_example
testbed_native_android/android/app/src/main/java/io/branch/testbed_native_android
testbed_simple/android/app/src/main/java/com/testbed_simple Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 88import io .branch .rnbranch .RNBranchPackage ;
99import com .reactnativecommunity .webview .RNCWebViewPackage ;
1010
11- import io .branch .referral . Branch ;
11+ import io .branch .rnbranch . RNBranchModule ;
1212import com .facebook .react .ReactNativeHost ;
1313import com .facebook .react .ReactPackage ;
1414import com .facebook .react .shell .MainReactPackage ;
@@ -49,7 +49,7 @@ public ReactNativeHost getReactNativeHost() {
4949 public void onCreate () {
5050 super .onCreate ();
5151 SoLoader .init (this , /* native exopackage */ false );
52- Branch .getAutoInstance (this );
52+ RNBranchModule .getAutoInstance (this );
5353 }
5454
5555 @ Override
Original file line number Diff line number Diff line change 44import android .support .multidex .MultiDex ;
55import android .support .multidex .MultiDexApplication ;
66
7- import io .branch .referral . Branch ;
7+ import io .branch .rnbranch . RNBranchModule ;
88
99/**
1010 * Created by jdee on 3/30/17.
@@ -14,7 +14,7 @@ public class MainApplication extends MultiDexApplication {
1414 @ Override
1515 public void onCreate () {
1616 super .onCreate ();
17- Branch .getAutoInstance (this );
17+ RNBranchModule .getAutoInstance (this );
1818 }
1919
2020 @ Override
Original file line number Diff line number Diff line change 77import com .facebook .react .ReactApplication ;
88import io .branch .rnbranch .RNBranchPackage ;
99
10- import io .branch .referral . Branch ;
10+ import io .branch .rnbranch . RNBranchModule ;
1111import com .facebook .react .ReactNativeHost ;
1212import com .facebook .react .ReactPackage ;
1313import com .facebook .react .shell .MainReactPackage ;
@@ -47,7 +47,7 @@ public ReactNativeHost getReactNativeHost() {
4747 public void onCreate () {
4848 super .onCreate ();
4949 SoLoader .init (this , /* native exopackage */ false );
50- Branch .getAutoInstance (this );
50+ RNBranchModule .getAutoInstance (this );
5151 }
5252
5353 @ Override
You can’t perform that action at this time.
0 commit comments