iarjunsk / ionic-firebase-shopping-cart

HTML5 shopping cart using Firebase
MIT License
238 stars 163 forks source link

Login Issue #3

Closed itsmeusama closed 7 years ago

itsmeusama commented 7 years ago

Couldn't Login to the app....

arjunsk commented 7 years ago

Please see this video: https://www.youtube.com/watch?v=GKlnjdbmPxU

itsmeusama commented 7 years ago

thanks for the video thats pretty helpful. <3

itsmeusama commented 7 years ago

bro! i just follow the video tutorial and setup the Firebase and login but i couldn't see anything in the menu (burger photos and etc stuff as it is shown in your screen shots). why is that?

On Wed, Apr 26, 2017 at 8:42 AM, Arjun SK notifications@github.com wrote:

Closed #3 https://github.com/arjunsk/ionic-firebase-shopping-cart/issues/3.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arjunsk/ionic-firebase-shopping-cart/issues/3#event-1057777434, or mute the thread https://github.com/notifications/unsubscribe-auth/AUP3dVQo7xxl7D9ISTzQBbJLVg4HxtBFks5rzrYIgaJpZM4NISty .

arjunsk commented 7 years ago

Read these articles: http://www.arjunsk.com/tag/shopping-cart/ You will most likely solve your issue.

itsmeusama commented 7 years ago

I saw that bro. Login part is ok but once I logged in I couldn't see any items in menu

itsmeusama commented 7 years ago

this is the error bro

ionic.bundle.js:25642 Error: permission_denied: Client doesn't have permission to access the desired data. at J (firebase.js:120) at Object.J (firebase.js:201) at firebase.js:187 at wh.h.Fd (firebase.js:191) at kh.Fd (firebase.js:182) at ch.wg (firebase.js:180) at fh (firebase.js:174) at WebSocket.va.onmessage (firebase.js:173) (anonymous) @ ionic.bundle.js:25642 $$error @ angularfire.min.js:12 (anonymous) @ angularfire.min.js:12 (anonymous) @ angularfire.min.js:12 $eval @ ionic.bundle.js:29158 $digest @ ionic.bundle.js:28969 (anonymous) @ ionic.bundle.js:29197 completeOutstandingRequest @ ionic.bundle.js:18706 (anonymous) @ ionic.bundle.js:18978

arjunsk commented 7 years ago

May be, you didn't set the database rules to auth=true.

Please refer the video

itsmeusama commented 7 years ago

yep bro there was an issue in setting up the firebase. its working now. Thanks a Lot