ionic-cache-src
ionic-cache-src copied to clipboard
Doesn't work on launch
Dear Ben,
When I launch the app on Android it doesn't work, I have to go to an other view and then come back it just after that it works fine all the time ! But how to make it works from the beginning ?
For iOS, it never works... I correctly activate the "NSAppTransportSecurity", but still same issue : I just have the loader that appears and doesn't start.
What do you suggest ?
Thanks in advance
To
Hey man, you fix that? i have the same problem
Hi !
Actually not... So I found an other library that do the trick for me.
https://github.com/andrewmcgivery/ionic-ion-imageCacheFactory
You just have to create a loop to initialize all your images when the controller starts. I don't have so much images on my side, so what I wanted to do it's to keep them in cache so next time the user open my app he can see them even without internet connection. I don't know if it's what you are looking for.
To
oop,I have the same problem ,want to cry
debug on ios . like don't exec the directive cacheSrc
i found the solution to fix this
edit the ionic-coach-src.js (line 353) ,change attrs.$observe('cacheSrc',
to scope.$watch('attrs.cacheSrc',
then ionic run ios --device ,it's ok
Let's cheer
refer to : https://github.com/BenBBear/ionic-cache-src/issues/10#issuecomment-162844820