trepdas Active Member Licensed User Longtime User Feb 26, 2018 #1 hi. for my project I need the app user to anonymously login in order to READ ONLY the project's database. only after login he may modify this database. I work in B4A. I've been searching around at the last couple of days for solutions and got completely lost... Can someone throw me a lead on how to start this ? Thanks
hi. for my project I need the app user to anonymously login in order to READ ONLY the project's database. only after login he may modify this database. I work in B4A. I've been searching around at the last couple of days for solutions and got completely lost... Can someone throw me a lead on how to start this ? Thanks
Alexander Stolte Expert Licensed User Longtime User Feb 26, 2018 #2 trepdas said: READ ONLY the project's database Click to expand... wich database? Firebase Reatimedatabase? SQLite? Upvote 0
trepdas said: READ ONLY the project's database Click to expand... wich database? Firebase Reatimedatabase? SQLite?
trepdas Active Member Licensed User Longtime User Feb 26, 2018 #3 Reatimedatabase Last edited: Feb 26, 2018 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 27, 2018 #4 It is simple to do it with FirebaseStorage. You just need to set a rule that allows all to read: https://www.b4x.com/android/forum/threads/firebasestorage-simple-file-storage-backend.68350/ I'm not familiar with Firebase RealtimeDatabase. Upvote 0
It is simple to do it with FirebaseStorage. You just need to set a rule that allows all to read: https://www.b4x.com/android/forum/threads/firebasestorage-simple-file-storage-backend.68350/ I'm not familiar with Firebase RealtimeDatabase.
trepdas Active Member Licensed User Longtime User Feb 27, 2018 #5 yes it looks much simplier. I think I will aim to storage files instead of handling database for now. I will keep the database (file) structured as json for future use Thank you ! Upvote 0
yes it looks much simplier. I think I will aim to storage files instead of handling database for now. I will keep the database (file) structured as json for future use Thank you !
DonManfred Expert Licensed User Longtime User Feb 27, 2018 #6 You may also have a look at this: It is using Firebase to store the Location of Drivers. Upvote 0
Alexander Stolte Expert Licensed User Longtime User Feb 27, 2018 #7 trepdas said: Reatimedatabase Click to expand... You can do this with the reatimedatabase too, both have the same rule system Storage and Realtime. Upvote 0
trepdas said: Reatimedatabase Click to expand... You can do this with the reatimedatabase too, both have the same rule system Storage and Realtime.
trepdas Active Member Licensed User Longtime User Feb 27, 2018 #8 Alexander Stolte said: You can do this with the reatimedatabase too, both have the same rule system Storage and Realtime. Click to expand... ok, after long hours of considering the pros and cons (that included registering an apache sql , checking out xampp, playing around in coding csv to json, etc... I think I'll go for the realtime... if you can't beat them , join them hmm..so Back to title ? right... so my next question would be : with the firebaseauth lib, I couldn't find the code to anonymously login to firebase... I understood that I would need the OKhttp library .... Attachments anonymdata.jpg 65.5 KB · Views: 300 Last edited: Feb 27, 2018 Upvote 0
Alexander Stolte said: You can do this with the reatimedatabase too, both have the same rule system Storage and Realtime. Click to expand... ok, after long hours of considering the pros and cons (that included registering an apache sql , checking out xampp, playing around in coding csv to json, etc... I think I'll go for the realtime... if you can't beat them , join them hmm..so Back to title ? right... so my next question would be : with the firebaseauth lib, I couldn't find the code to anonymously login to firebase... I understood that I would need the OKhttp library ....