Skip to content
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

Ionicons not showing up when using in Cordova Environment #552

Closed
paulstelzer opened this issue May 24, 2018 · 3 comments
Closed

Ionicons not showing up when using in Cordova Environment #552

paulstelzer opened this issue May 24, 2018 · 3 comments

Comments

@paulstelzer
Copy link

If using Ionicons in Cordova Environment, the icons are not showing up. The error message is:

Fetch API cannot load file:///android_asset/www/svg/md-add-circle.svg. URL scheme "file" is not supported.

The reason for this is located at:

req = fetch(url, { cache: 'force-cache' }).then(rsp => {

Please see: JakeChampion/fetch#92 (comment)

@matheusdavidson
Copy link

Same problem here

@pixelbucket-dev
Copy link

pixelbucket-dev commented Jul 13, 2018

Yes, I have the same problem.

In my case I use a Stencil component with Ionicons inside that then gets used in a Cordova app. That is built for iOS. Icons are not being fetched because of the above error.

@paulstelzer
Copy link
Author

This should be fixed, see ionic-team/ionic-framework#14509 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants