when I was browsing the code and I found that backgroundInstance and foregroundinstantness are using the same channel
both are being initialised with _FOREGROUND_CHANNEL, but shouldn't the backgroundInstance be instilized with _BACKGROUND_CHANNEL argument
static final Telephony _instance = Telephony._newInstance(
const MethodChannel(_FOREGROUND_CHANNEL), const LocalPlatform());
static final Telephony _backgroundInstance = Telephony._newInstance(
const MethodChannel(_FOREGROUND_CHANNEL), const LocalPlatform());
note : when I changed it it throw an exception of un handled method or so
2. and the other one is : is there any way that we can send sms even if the app is killed or not running at all (in My case I'm trying to use it with FCM background messages ) ?
Lib v:.01.4 I have two questions first one:
_FOREGROUND_CHANNEL
, but shouldn't the backgroundInstance be instilized with_BACKGROUND_CHANNEL
argument