Meteor Apk Release Build Not Working
I'm working on a mobile app using Meteor and ionic. When I built the apk for android, the apk generated (release-unsigned.apk) didn't work on my device. It does show the splash scr
Solution 1:
After posting the question in meteor forums, one of the MDG staff (Urigo) suggested that I ran the app in angular's strictDi
https://docs.angularjs.org/guide/di
I found out that there was a problem with onEnter of ui-router, because I wrote it like this:
onEnter:function($state){
//code here
}
But in fact I should have wrote it like this:
onEnter:['$state',function($state){
//code here
}]
And of course it goes without saying that this should be applied to controllers, services... too For more details, read this: https://docs.angularjs.org/error/$injector/strictdi
This might help too: https://gist.github.com/jonnolen/fff606247f24cae8e81d
Post a Comment for "Meteor Apk Release Build Not Working"