Code Monkey home page Code Monkey logo

Comments (6)

paulsouche avatar paulsouche commented on July 24, 2024 5

@JiaLiPassion I'm already on [email protected] and as I said, I was trying to use its cordova patch. But my issue is that if cordova.js script is loaded before zone.js one, sometimes (it depends on how cordova plugins are resolved) cordova FileReader is patched by zone.js instead of window FileReader. And as @ionic-native/file is using global FileReader, something is broken. import zone.js cordova patch do not fix things in this case.

BTW I think that cordova FileReader should not be global and we should not have this conversation but @joewoodhouse's workaround is more a hack than something reliable and that's why I'm asking for help of somebody who know more about cordova @ionic-native/file & zone.js than me.

Thank you for the great job anyway

from ionic2-app-base.

pdrosos avatar pdrosos commented on July 24, 2024

I am also interested in the answer and if this appears to be safe thing to do, it would be great if Ionic's base project could be updated to include it. This issue took me a lot of time and seems fixed now, so it's best to be initially fixed for other people in the base project. Thanks!

from ionic2-app-base.

mgaert avatar mgaert commented on July 24, 2024

I would know this as well. Thanks!

from ionic2-app-base.

joewoodhouse avatar joewoodhouse commented on July 24, 2024

Anyone out there?

from ionic2-app-base.

paulsouche avatar paulsouche commented on July 24, 2024

Hi,

I found angular/zone.js/868 and I can't find a way to use @JiaLiPassion cordova patch properly. If anyone can help it would be great.

Thank you

from ionic2-app-base.

JiaLiPassion avatar JiaLiPassion commented on July 24, 2024

@paulsouche , if it is the same issue which angular/zone.js#868 resolved, you could just use the newest version of zone.js.

from ionic2-app-base.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.