the HeadsetState returns null during Isolate, The return value of _channel.invokeMethod<int?>('getCurrentState') is -1 Tested it on Android. and the isolate is spawn when receiving the background push notification. Thanks
the HeadsetState returns null during Isolate, The return value of _channel.invokeMethod<int?>('getCurrentState') is -1
Tested it on Android. and the isolate is spawn when receiving the background push notification.
Thanks