MajedDH / bring_to_foreground

A flutter plugin that brings an in-background android app to the foreground
MIT License
9 stars 20 forks source link

The example is not working on android 10 #5

Open moho12n opened 4 years ago

moho12n commented 4 years ago

I tried to run the example on multiple devices and noticed that the example is not working on android 10, I'm trying to figure out the reason but couldn't find it

MajedDH commented 4 years ago

Android 10 has new conditions for services to run activities from the background. Unfortunately, I don't have time to work on it right now. Everyone is more than welcome to contribute!

tetsuo191 commented 3 years ago

Hi, can you point me to some resource or otherwise give me an idea to what these new conditions are? I am only starting out with flutter/android but I am willing to dig into the Java side as well.

Knotworking commented 3 years ago

@tetsuo191 https://developer.android.com/guide/components/activities/background-starts

abusaadp commented 2 years ago

Any idea how to make it work for Android 10 and above.

MajedDH commented 2 years ago

@abusaadp take a look here https://stackoverflow.com/questions/58534450/a-way-to-get-a-minimized-app-to-foreground-in-flutter I made this right after this lib.