-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Faild to fetch style version 0.51.0 #7586
Comments
@ansarikhurshid786 could you please describe this issue in more detail?
|
I am using ionic 3 framework. Application is running in webview in android. Running application on file protocol. When application running http protocol then working fine. |
What Android version are you using? Do you know what Webkit/Blink version is in use by the Webview? I suspect that this problem may be caused by #7371 |
I am using Android 8. web view version update. |
I am getting following error in console log: polyfills.js:3 Fetch API cannot load file:///android_asset/www/assets/style.json. URL scheme "file" is not supported. |
@ansarikhurshid786 Mapbox GL doesn't include a |
I am using ionic 3. Ionic 3 use polypill. |
Well, if your framework modifies browser builtins, there's not a lot that Mapbox GL can do. Please file an issue with Ionic to fix their polyfill. |
It looks like this comment might be related: eec8cd5#commitcomment-31351193 |
I didn't find this issue as it was closed but it looks related, yes. After further investigation it also breaks any asset loading (icon images etc.) in this context. |
Thanks. I got the solution. |
I am using mapbox since version 0.47.0. I have added custom style in json formate. it is working fine upto mapbox v 0.50.0. I have updated to 0.51.0. Now it is through error "Faild to fetch style".
The text was updated successfully, but these errors were encountered: