Skip to content Skip to sidebar Skip to footer

Ionic Storage Is Not Working On Android Device

I'm new to the Ionic Framework, and I'm doing an app that preserves the user login so it can show a different page when user is logged. And for doing this, I'm saving the user ID i

Solution 1:

I just figured out my problem and built a solution. On the very first access in my app userLoggedID is completely empty (it wasn't neither undefined nor null), so I attached a catch() instruction and now the code works fine.

enter image description here

LOG: enter image description here

Post a Comment for "Ionic Storage Is Not Working On Android Device"