restart_app icon indicating copy to clipboard operation
restart_app copied to clipboard

StateError - ensureInitialized

Open kevinzezel opened this issue 1 year ago • 1 comments

Hi,

I got this error, i need restart application in android. I'm calling Restart.restartApp(); inside an isolate.

StateError (Bad state: The BackgroundIsolateBinaryMessenger.instance value is invalid until BackgroundIsolateBinaryMessenger.ensureInitialized is executed.)

Regards, Kevin

kevinzezel avatar Dec 19 '23 16:12 kevinzezel