Last active
May 30, 2018 05:36
-
-
Save code-crusher/f3b7e9fe73dd2d3472784f65430f14d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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