Authentication in mit app inventor

Is there any way to authenticate the information in mit app inventor and store it till the app uninstalls?

You can use a TinyDB to store data locally on your phone, or a File component for storing files inside the ASD. The data will be lost when you uninstall the app.

Can it serve the purpose if i want to login in my app for only one time?

Yes, when you log in successfully, TinyDb.storeValue("isLogin", true).

In Screen.Initialize,
if (TinyDB.getValue("isLogin",false))
then go to main page
else go to login page

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.