Page 1 of 2

Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 1:45 pm
by Appmos

I would like to create a obligatory registration screen that shows just one time, with 03 fields: (name/email/age). This data must be registred in the database and vinculated with the ID number that will be created automatically. I also want to add the user ́s city using geolocation. It is necessary that from the record, all user actions can be tracked by ID number. Any help?


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 2:58 pm
by Maryna Brodina

Hello! I'm not sure I understand your question. Could you clarify please what are you going to do with user's ID? Here you can find more information about database http://help.gotiggr.com/documentation....


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 4:40 pm
by Appmos

Hi Marina. I intend to create a multi-choice application and I want to know which participant has already voted by ID.


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 5:07 pm
by maxkatz

Just to add to what Marina said. The registration/sign up pages would need to be created by you. If you use Tiggzi's database, we do have a User API that allows you to do exactly that (other API backend providers have a similar feature). This example shows how to use the User API: http://help.tiggzi.com/getting-starte...


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 6:10 pm
by Appmos

Thanks Max.

How can I do to create an ID automaticalli for each user? How to identify the ID in the next time that the user return to application and vote?

I intend to use other database to register de votes by ID. How to link this two dbs?

Thanks


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 6:59 pm
by maxkatz

When you register a new user or sign in, you get a session toke which identifies the user session.


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 7:21 pm
by Appmos

And how to link two databases?


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 7:34 pm
by maxkatz

What's the other database? You can save the token session (or similar) in the other database, for example.


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 8:01 pm
by Appmos

1st db to register user data and 2nd db to register votes. ID information in both dbs


Registration before acessing the app in the 1th time

Posted: Thu Sep 06, 2012 11:05 pm
by maxkatz

You would need to use some id, and place it in both collections.