class TunePreloadSystemData {
private static final String SYSTEM_PROPERTIES_CLASS_KEY = "android.os.SystemProperties";
private static final String TUNE_BRANCH_PREINSTALL_PROP_KEY = "io.branch.tune.preinstall.apps.path";
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
class KotlinActivity : AppCompatActivity() { | |
val text = "Made with Kotlin" | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_kotlin) | |
init() | |
} |
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
import android.view.animation.DecelerateInterpolator; | |
import android.view.animation.Interpolator; | |
class ReverseInterpolator implements Interpolator { | |
private Interpolator interpolator; | |
public ReverseInterpolator(Interpolator interpolator) { | |
this.interpolator = interpolator; |
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(); |