Skip to content

Instantly share code, notes, and snippets.

@code-crusher
Last active May 30, 2018 05:36
Show Gist options
  • Save code-crusher/f3b7e9fe73dd2d3472784f65430f14d1 to your computer and use it in GitHub Desktop.
Save code-crusher/f3b7e9fe73dd2d3472784f65430f14d1 to your computer and use it in GitHub Desktop.
# Debugging 201
===
**Android**
1. Best way to debug Android is to use Charles always, at least we do not add cert pinning.
2. How to see and tackle common issues:
1. *Deferred deep linking is not working part 1:* This happens when the Branch SDK is not initialised in the Launcher Activity. Make sure this is implemented correctly.
2. *Deferred deep linking is not working part 2:* Even if the partner has set the initSession() within the Launcher Activity, deferred deep linking can still fail. This happens due to Java:. Here’s an example:
``` Java
protected void onStart(){
super.onStart();
initialiseBranch();
}
private void initialiseBranch(){
branch.initSesison();
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment