We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72af393 commit 8f4ccb3Copy full SHA for 8f4ccb3
README.md
@@ -119,6 +119,20 @@ dependencies {
119
If you're using an older version of Gradle, you may need `compile` instead of
120
`implementation`.
121
122
+It is recommended to replace `Branch.getAutoInstance` in your `Application.onCreate`
123
+method with `RNBranchModule.getAutoInstance`. This is required in order to set Branch
124
+keys in the `branch.json` file.
125
+
126
+```java
127
+@Override
128
+public void onCreate() {
129
+ super.onCreate();
130
+ SoLoader.init(this, /* native exopackage */ false);
131
+ // Replace Branch.getAutoInstance(this); with:
132
+ RNBranchModule.getAutoInstance(this);
133
+}
134
+```
135
136
___
137
138
### Register Your App
0 commit comments