Skip to content

Commit

Permalink
docs: 7c's for disable listener warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Nov 18, 2016
1 parent 8f71e9c commit b5654cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
- [Link Domain: Custom](#link-domain-custom)
- [Link Domain: Bnc.lt](#link-domain-bnclt)
- [Link Data: Convert to Ionic/Angular](#link-data-convert-to-ionicangular)
- [Link Data: Depreciated Methods](#link-data-depreciated-methods)
- [Link Data: Global Listener Warning](#link-data-global-listener-warning)
- [Compiling: Updating the Branch SDK](#compiling-updating-the-branch-sdk)
- [Compiling: Cordova Dependencies](#compiling-cordova-dependencies)
- [Compiling: Visual Studio TACO](#compiling-visual-studio-taco)
Expand Down Expand Up @@ -982,11 +982,11 @@
```
</details>
- #### Link Data: Depreciated Methods
- #### Link Data: Global Listener Warning
- Before version `2.4.0`, Branch used globally defined listeners to pass events generated by clicking on links outside your cordova app into it. To make this behavior more explicit, we've shifted to event listeners passed to the branch object via the branch.initSession(onBranchLinkHook) and branch.onNonBranchLink(hook). If you don't want to use these new methods and instead prefer the old global hooks without seeing warnings, call branch.disableGlobalListenersWarning().
- After Branch SDK `2.4.0`, deep link data is handled within `Branch.initSession(DeepLinkDataFunction);`
- `branch.disableGlobalListenersWarnings();` turns off warnings about using global listeners.
- Use `Branch.disableGlobalListenersWarnings();` to turn off the warning errors generated from `DeepLinkHandler` and `NonBranchLinkHandler`
- #### Compiling: Updating the Branch SDK
Expand Down

0 comments on commit b5654cb

Please sign in to comment.