-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PlatformException(STYLE IS NULL, The style is null. Has onStyleLoaded() already been invoked?, null) #384
Comments
@hussenIbrahim Does this error occur when you add images? If yes, when do you add the images? |
i don't know where or when it occurs and this error not every time thrown Future addImageFromAsset() async { }` |
getting this error in profile mode
|
@hussenIbrahim As noted in the documentation, please only call addImage() after onStyleLoaded callback has been invoked. Otherwise you might get this error, as images are added to a style, which isn't possible when the style hasn't been completely loaded, yet. |
the error is solved for release and profile mode |
@hussenIbrahim Interesting, that sounds similar to what has been described in #347 (but only for iOS so far). Unfortunately I haven't been able to reproduce that, yet, but I'll look out for it if you also experience this on Android. |
getting this error in released app Which causes symbols not to appear
on android real device
Flutter 1.21.0-7.0.pre • channel dev
package version 0.7.0
this is my code
` MapboxMap(
The text was updated successfully, but these errors were encountered: