After use --prod code not work
danillo10: this.platform.registerBackButtonAction(() => { ... } This code was running normally, but when compiling with --prod, it does not work in the app.
View ArticleCannot set property 'id' of null
Cannot set property 'currentBill' of null Also, I am not so sure about "function" and snapshot in your code
View ArticleCannot set property 'id' of null
it's working very well on my screen. Add a ) at the end if you try it. I forgot it in my example. You should also be able to access 'this', which you can't do with your previous function. That's...
View ArticleBuild & Serve ionic 2 as a web app
It's been a while since the latest response but I find that this build what I need without launching and killing ionic serve: ionic cordova build browser --release
View ArticleCannot set property 'id' of null
Missed to mention this.currentBill = angFire.list('/Bills'); Can it help?
View ArticleCannot set property 'id' of null
You definitely missed that one. Try angFire.list('Bills');
View ArticleCannot set property 'id' of null
and above constructor, try currentBill: FirebaseListObservable + <any[]>without the +.
View ArticleCannot set property 'id' of null
Same error.. Had tried these earlier too. Seems something else is missing...
View ArticleVideo Edit
I want trim video function, but there is only for ios version.Can I use this on android also?
View ArticleCannot set property 'id' of null
I don't know man. Your coding is mui different than mine.
View ArticleCannot set property 'id' of null
No. May be its different.. I have used similar logic to get the results earlier... Seems somthing naive here. Lets see
View ArticleCannot set property 'id' of null
I guess, in my view, I see a ton of functions returning functions and references in order to get this.currentBill = firebase.database().ref('Bills');when you could just writethis.currentBill =...
View ArticleAuthentication Ionic + Laravel
Hi guys, I need your helpI got this code example around, I dont remenberI dont know if this code is good service-provider.ts export class ServiceProvider { api: string =...
View ArticleTrying to save as Object Array but keeps getting saved as Array of Array
I am trying to implement an interface to make it easier to post data to my database. A user can select multiple products and when they go back to search for more products the page is refreshed so I...
View ArticleCannot set property 'id' of null
My last suggestion is trying to start from the ground up. let myConnection = firebase.database().ref('/'); myConnection.orderByKey().on("child_added", function(snapshot) { console.log("Got");...
View ArticleIonic Swipeable Tabs are now here!
pangotherthis: oesn't work even though I used scrollTabs="true" Have you tested it on a device?
View ArticleTrying to save as Object Array but keeps getting saved as Array of Array
thanks @RezaRahmati had to change save() to save(data): Promise<any> { return this.getData().then((products: any[]) => { if (products) { products = products.concat(data); return...
View Article