Register as a user to db
Hi, firstly I am wanting to have users register when they first download the app. Then if they have registered not to show the registration form again, is this possible? Not sure where to start
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hi, firstly I am wanting to have users register when they first download the app. Then if they have registered not to show the registration form again, is this possible? Not sure where to start
Are you building a native (hybrid) or mobile web app? If you are creating a native app, then the app is downloaded from the app store -- there is no option to place a registration for the actual download.
I am building a native app, so if they download the app and the first screen has a signup form this will not work?
It will work, the first screen once the app is downloaded and installed can be a registration form.
Great so how do I go about setting this up? So that once they have registered they won't have to see the registration page again?
You would need to save some sort of a token in the browser once the user has registered. Every time the app is running, you would check the token and decide whether to show the registration page or another page.
So Max, can this post be reactivated. This is basically my question but see there has not been any activity for a while. I want to know if the app user can register once and not have to login everytime either? i want the users info saved so they can purchase products. I have read this tutorial: http://docs.appery.io/tutorials/build... and is about 98% what I need. .Thanks for answering this and reopening the post.
Once the user signs in, you can save a special variable to indicate the user has already registered. You will still need to sign in and get a user session token as the token does expire. When it expires, you won't be able to invoke any user services (without signing back)
So how do I get the special variable and where does it go? At the test tab for the dBASE service? When you say 'you will still need to sign in...' does that mean the user can't just register once after downloading the app and just open it up to browse or scan products without having to login every time? I am trying to closely mirror Amazon's concept of registering then the app saves user info once reopening app...thx
Right now the user session token expires in two hours (with no activity). If the user runs the app within the two hours, the user doesn't need to sign in again. However, if the token expires, you will need to do a new login.