Closed alexacz closed 5 years ago
Oh? I'll give it a try.
I've tested your example on iPhone 8 flutter doctor:
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G84, locale en-CZ) [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. [✓] Xcode - develop for iOS and macOS (Xcode 10.3) [✓] iOS tools - develop for iOS devices [!] Android Studio (not installed) [✓] VS Code (version 1.36.1) [✓] Connected device (2 available)
I see what could cause the error you've encountered. Happens in certain circumstances, but as this is a library package, I'll make an effort to prevent the error at the very least. Can't be blowing up other people's app, now can we! Thanks.
0.12.0 has been deployed. Those errors will continue because of the Beta plugin, but this Library package will now catch them and allow you to continue successfully.
Hello there, Alexacz. Has the issue now been fixed with the latest version? How are things going?
The example code doesn't work when I run the app with initOption 2 or 3, like this:
void main() { runApp(MyApp(initOption: 3)); }
I've got the following exception:
id is different every startup
p.s.: the following example works without any issue:
void main() { runApp(MyApp(initOption: 1)); }