Cynnexis / tide

🌊 Tide is an application that helps reduce panic attacks with a simple breathing exercise.
https://cynnexis.github.io/tide/
GNU Affero General Public License v3.0
2 stars 0 forks source link

:arrow_forward: Google Play Console report IllegalStateException #40

Open Cynnexis opened 2 years ago

Cynnexis commented 2 years ago

Describe the bug When creating a release for Tide v1.0.0, the Google Play Console reports the following error:

FATAL EXCEPTION: main
Process: jp.co.sharp.android.iwnnime.ml, PID: 7472
java.lang.RuntimeException: Unable to start receiver jp.co.sharp.android.iwnnime.ml.DecoEmojiListener: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=jp.co.omronsoft.android.decoemojimanager_docomo/.DecoEmojiManager }: app is in background uid null
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:3521)
    at android.app.ActivityThread.access$1400(ActivityThread.java:209)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1753)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:6846)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:883)
Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=jp.co.omronsoft.android.decoemojimanager_docomo/.DecoEmojiManager }: app is in background uid null
    at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1577)
    at android.app.ContextImpl.startService(ContextImpl.java:1532)
    at android.content.ContextWrapper.startService(ContextWrapper.java:664)
    at android.content.ContextWrapper.startService(ContextWrapper.java:664)
    at jp.co.sharp.android.iwnnime.ml.DecoEmojiListener.updateConfirm(DecoEmojiListener.java:211)
    at jp.co.sharp.android.iwnnime.ml.DecoEmojiListener.onReceive(DecoEmojiListener.java:184)
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:3508)
    ... 8 more

Expected behavior No error in the Google Play Console.

Smartphone (please complete the following information):

Screenshots

Screenshot of the Google Play Page. All texts were already described in this issue.

Additional context Here is a video of the testing that caused the error:

video

MRami153 commented 2 years ago

Hello any update on this ?