Android app calls Branch multiple times when resuming

This behavior is often a consequence of the launchMode parameter in the Android manifest being set incorrectly. Make sure that launchMode in the manifest is set as follows:


When this is not set, or is set incorrectly, the activity may fire twice.