Matt tutorial : Ionic creator // Firebase not working on android (iphone OK)


#1

Hi everyone,
I followed Matt Kremer tutorial video about Ionic creator + Firebase (https://www.youtube.com/watch?v=IrwrZBBOiP8&t=948s)
Everything is working on iphone and on creator but firebase connection is not working on Android

here is my service :
.service(‘Todos’, [’$firebaseArray’, function($firebaseArray){
var ref = firebase.database().ref().child(‘todos’);
var items = $firebaseArray(ref);
/*
var items = [
{
‘title’:‘t1’,
‘finished’:false,
‘id’:1
},
{
‘title’:‘t2’,
‘finished’:true,
‘id’:2
}
];
*/
var todos = {
‘items’ : items
}
return todos;
}]);


#2

If you’re using version 1, and a tutorial that is over a year old, you’re asking for trouble. Use Ionic 3, and follow the official docs and Github projects of Ionic and Angular.


#3

I am using Ionic creator that’s the latest available with custom code editing
if you have a more recent tutorial for ionic creator I d gladly follow it