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
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