You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need some clue using this package,
I would like to build an application that forward automatically received SMS
Eveythings works perfectly in the foreground. I am struggling to access my data in the background context in his function :
onBackgroundMessage(SmsMessage message) {
debugPrint("onBackgroundMessage called");
// i would like to get a list of phone numbers store in foreground.
}
Could not figure out how to get some data from my app in this function . I tried riverpod, i tried singleton, i tried sharedpreference , i allways get null values.
i am new to flutter and android dev. seems the forground an background are "isolated" ... i feel lost. Any hints appreciated.
Thanks all
The text was updated successfully, but these errors were encountered:
Hello all dev,
I need some clue using this package,
I would like to build an application that forward automatically received SMS
Eveythings works perfectly in the foreground. I am struggling to access my data in the background context in his function :
onBackgroundMessage(SmsMessage message) {
debugPrint("onBackgroundMessage called");
// i would like to get a list of phone numbers store in foreground.
}
Could not figure out how to get some data from my app in this function . I tried riverpod, i tried singleton, i tried sharedpreference , i allways get null values.
i am new to flutter and android dev. seems the forground an background are "isolated" ... i feel lost. Any hints appreciated.
Thanks all
The text was updated successfully, but these errors were encountered: