How to get a minimized app to foreground in flutter

136 views Asked by At

I am working on an app which listen a socket event. When the the socket event is received and the app is in background(background), It should be foreground. I have tried different packages here:

AppToForeground.appToForeground();

but the code is not executed on while the app is on the background. Any solution is appreciated

0

There are 0 answers