简体   繁体   中英

HockeyApp launch my app and make it behave differently. What's the cause (how to debug)?

I have an Android app, when I compile and run works fine. Part of the CI process, we uses HockeyApp for our tester to download the App.

When the App is downloaded by HockeyApp and Launched directly, the behavior of the App differs from when I compile and run it.

If I just download and install from HockeyApp, and instead of launch it directly (eg the HockeyApp will ask if we want to launch it), I click DONE and then manually launch it, the App behaves normal.

I don't know where to start debug such issue... and why HockeyApp could cause different behavior if we use it to launch. Perhaps this is not a real issue, as when we install from GooglePlay and launch it, it shouldn't have the problem... but I'm not fully sure.

Any guide how should I start debugging the issue?

p/s: Just to add on, the different behavior is, the set value (selected TAB on TABBAR) doesn't stays persistent. It reset to it's initial value when we go to background and come back. This happens even if DON'T KEEP ACTIVITY is OFF. Note: in normal behavior, the value is persist, and stored it properly using SavedInstanceState ie even when we have DON"T KEEP ACTIVITY, it persists on without any issue.

I'm the developer of the HockeyApp app for Android. Can you post screenshots on how the app behaves differently when you launch it after installed through HockeyApp than through your IDE? This was not really clear to me from your post.

Feel free to open a support request , where you can also post screenshots explaining the issue. I will make sure to handle this directly.

Some background: HockeyApp only downloads the APK. Once the download is completed, the APK is handed over to the Android package manager, which is taking care of installation and launching the app. This is the only way how non-system apps can install APKs on Android.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM