Comments (6)
@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.
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.
I would know this as well. Thanks!
from ionic2-app-base.
Anyone out there?
from ionic2-app-base.
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.
@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)
- ionic-native is not supposed to be updated? HOT 2
- Network native plugin HOT 1
- Use @angular/router: UNMET PEER DEPENDENCY and transpile failed HOT 2
- EPEERINVALID on "ionic start" HOT 1
- Dependency problem HOT 3
- Cannot find module "ionic-native" HOT 4
- ionic 2 page redirection automatically HOT 1
- unmet dependencies upon upgrading to ionic 3 HOT 1
- Things in resources folder are not used HOT 1
- deprecated main.dev.ts
- Native cor dep will cause unmet peers with the versions from ionic native plugins HOT 2
- Ionic icons are not getting cached in PWA HOT 2
- question: why was declarations.d.ts removed? HOT 1
- @ionic/app-scripts 2.0.0 live update not work HOT 1
- Add vendor.js to service-worker? HOT 1
- Outdated native package versions HOT 1
- "Homepage" name may be repeated
- Evaluate this repo for closure HOT 1
- Unexpected token ILLEGAL in main.js
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ionic2-app-base.