Hi altogether,
I want to publish a standalone App for iOS and Android.
This App should be personalized for every user by phonenumber and/or mailaddress.
So at the first startUp, the user has to register with these (and optional some further information).
Most Apps I know provide the service that for all later logins the user is not obliged to login explicitly. Instead, the data input from the first session is used again.
Has anyone an idea how this can be realized ?
I would be thankful for any advice.
Best regards
Ulrich
storing personalization data in a mobile app
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: storing personalization data in a mobile app
Hi Ulrich,
For one on my apps I use a simple file .txt in a folder of documents folder.
If this file doesn't exist that signify that is the first opening and I open a cd for login and save it.
I use this in local but I think this works with a file on a server.
Best regards
Jean-Marc
For one on my apps I use a simple file .txt in a folder of documents folder.
If this file doesn't exist that signify that is the first opening and I open a cd for login and save it.
I use this in local but I think this works with a file on a server.
Best regards
Jean-Marc
https://alternatic.ch
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: storing personalization data in a mobile app
Jean-Marc wrote...
Dixie
I do the same... and yes, this method will work on a server, if you are not placing the details in a database..For one on my apps I use a simple file .txt in a folder of documents folder.
If this file doesn't exist that signify that is the first opening and I open a cd for login and save it.
I use this in local but I think this works with a file on a server.
Dixie
Re: storing personalization data in a mobile app
Hi Jean-Marc and Dixie,
thanks for your hints.
Just to ensure that we have the same understanding:
The App is running on a mobile (iOS or Android)
There is no known context about the user (as the phonenumber cannot be read from LC)
How should a server file or database content help identifying the user´?
IMHO, this file (like an .ini) would have to be placed on the phone.
Am I wrong and if yes, could you please give a more detailed comment
If no, how do I work with files on mobiles, I've never done this...
Best regards for your help
Ulrich
thanks for your hints.
Just to ensure that we have the same understanding:
The App is running on a mobile (iOS or Android)
There is no known context about the user (as the phonenumber cannot be read from LC)
How should a server file or database content help identifying the user´?
IMHO, this file (like an .ini) would have to be placed on the phone.
Am I wrong and if yes, could you please give a more detailed comment
If no, how do I work with files on mobiles, I've never done this...
Best regards for your help
Ulrich
Dixie wrote:Jean-Marc wrote...I do the same... and yes, this method will work on a server, if you are not placing the details in a database..For one on my apps I use a simple file .txt in a folder of documents folder.
If this file doesn't exist that signify that is the first opening and I open a cd for login and save it.
I use this in local but I think this works with a file on a server.
Dixie
Re: storing personalization data in a mobile app
sorry, this was thought to complicated by me
Problem is solved through file on the mobile's home-Directory as advised in the LC-lessons http://lessons.livecode.com/m/4069/l/14 ... -on-mobile and the forum http://forums.livecode.com/viewtopic.php?f=18&t=2320
Best regards
Ulrich
Problem is solved through file on the mobile's home-Directory as advised in the LC-lessons http://lessons.livecode.com/m/4069/l/14 ... -on-mobile and the forum http://forums.livecode.com/viewtopic.php?f=18&t=2320
Best regards
Ulrich
UKMC wrote:Hi Jean-Marc and Dixie,
thanks for your hints.
Just to ensure that we have the same understanding:
The App is running on a mobile (iOS or Android)
There is no known context about the user (as the phonenumber cannot be read from LC)
How should a server file or database content help identifying the user´?
IMHO, this file (like an .ini) would have to be placed on the phone.
Am I wrong and if yes, could you please give a more detailed comment
If no, how do I work with files on mobiles, I've never done this...
Best regards for your help
Ulrich
Dixie wrote:Jean-Marc wrote...I do the same... and yes, this method will work on a server, if you are not placing the details in a database..For one on my apps I use a simple file .txt in a folder of documents folder.
If this file doesn't exist that signify that is the first opening and I open a cd for login and save it.
I use this in local but I think this works with a file on a server.
Dixie