Android Question Any Android 8+ requirements for a launcher app ?

peacemaker

Expert
Licensed User
Longtime User
Hi, All

Maybe some new requirements for launcher apps for Android 8+ recently?
My custom special launcher app for a customer always worked OK before.
But when the customer bought Android 8 devices from Huawei (MediaPad M5 8.4 LTE, 32GB) - he has found funny thing: after some days of usage on 20 devices, 17 pcs stopped to run my app.
No crash, started my launcher-app is just immediately closed, and default system launcher is shown.
But 3 devices now continue to work OK.

One test device after hard reset also was working OK some time - and now again stopped to work.
Is it chinese tricks ? Or Android 8's ?
 
Last edited:

peacemaker

Expert
Licensed User
Longtime User
Extra info, 2 latest facts:
1) my launcher app was compiled for android:targetSdkVersion="26" - and these 17 Huawei Android8 devices kill the app after battery discharge up to some low level (seems, < 40%).
2) If to compile for android:targetSdkVersion="14" - no problem, Ansroid8 does not kill the app ! Even if low battery.

But how to setup Android8, if an app must be compatible with android:targetSdkVersion="26", published on the Market and "always running" ?
 
Last edited:
Upvote 0
Top