Skip to content

Commit 0c276fc

Browse files
Merge pull request #688 from BranchMetrics/RELEASE/fix_merge_conflicts_3_1_0
Fix merge conflicts 3.1.0
2 parents 726f407 + 56239d3 commit 0c276fc

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,11 @@ You can check out a [full demo application](https://github.com/BranchMetrics/Bra
231231

232232
**1. Initialize the Branch SDK**
233233

234-
Head to your _core library project_, where your Application class is defined and drop in the snippet of code to the onCreate() method as follows. If you plan on deep linking from your Android Instant App to your full Android app after its installed, you'll need to add the line `enablePlayStoreReferrer`. This adds a delay to the initialization to wait for the Google Play Referrer, which can take up to a second.
234+
Head to your _core library project_, where your Application class is defined and drop in the snippet of code to the onCreate() method as follows.
235235

236236
```java
237237
public void onCreate() {
238238
super.onCreate();
239-
// This is needed to deferred deep link from an Android Instant App to a full app
240-
// It tells the Branch initialization to wait for the Google Play Referrer before proceeding.
241-
Branch.enablePlayStoreReferrer(1000L);
242239

243240
// Initialize the Branch SDK
244241
Branch.getAutoInstance(this);
@@ -488,15 +485,6 @@ Some example events you might want to track:
488485
"finished_level_ten"
489486
```
490487

491-
### Matching Through Install Listener
492-
```java
493-
Branch.enablePlayStoreReferrer(long delay); //from your Application class before getAutoInstance.
494-
//test sending broadcasts via:
495-
adb shell am broadcast -a com.android.vending.INSTALL_REFERRER -n io.branch.branchandroiddemo/io.branch.referral.InstallListener --es "referrer" "link_click_id=123"
496-
```
497-
498-
Enable to pass link_click_id from Google Play to Branch through your Install Listener. As broadcasts can arrive at different times, you can set the amount of time Branch should wait for the install listener broadcast before posting. Requires including io.branch.referral.InstallListener in your Manifest file. You can test sending broadcasts to your app using the above adb shell command.
499-
500488
# Branch Universal Object
501489

502490
## Branch Universal Object (for deep links, content analytics and indexing)

0 commit comments

Comments
 (0)