Maries
1
I have been working with ionic + firebase, everything was working well in serve and android, but ultimately doesn’t work on android, the error is:
This error came when I started to use a repository.
I don’t understand what happened.
Nota: I am using cdn to firebase and angularFire
Had the same error, try to reoganize the order you import the scripts in your index.html.
try this sequence
<script src='https://cdn.firebase.com/js/client/2.2.1/firebase.js'></script>
<script src="lib/ionic/js/ionic.bundle.js"></script>
<script src="https://cdn.firebase.com/libs/angularfire/1.0.0/angularfire.min.js"></script>
<script src="cordova.js"></script>
EDIT: Avoid use the URL to firebase site , download the js file and put in you lib folder.