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

Doesn't work on launch #26

Open
ttooo opened this issue May 18, 2016 · 4 comments
Open

Doesn't work on launch #26

ttooo opened this issue May 18, 2016 · 4 comments

Comments

@ttooo
Copy link

ttooo commented May 18, 2016

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

@jouderianjr
Copy link

Hey man, you fix that? i have the same problem

@ttooo
Copy link
Author

ttooo commented Jul 7, 2016

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

@apanly
Copy link

apanly commented Oct 8, 2016

oop,I have the same problem ,want to cry

debug on ios . like don't exec the directive cacheSrc

@apanly
Copy link

apanly commented Oct 8, 2016

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 : #10 (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