Threaded View

  1. #1
    Sencha User kukuoc's Avatar
    Join Date
    May 2012
    Posts
    7
    Vote Rating
    0
    kukuoc is on a distinguished road

      0  

    Default Answered: how to an app work offline and store data without authentication

    Answered: how to an app work offline and store data without authentication


    hi,

    I have an app called "TodoList" with follow functionalites:
    - Login/registration to sencha touch
    - Create new task and list todo tasks.

    I user senchaio to register (username/password/email) and login then...I can sync data in different devices with condition is the app has to have network available. If not, user that i registered earlier will not be able to login (authenticate) .....
    So please tell me how to store data without authenticate and login in offline. Then go online again, data can sync together.

    thanks a lot

  2. > But how can i authenticate user login without network online. User can only create new task if you login successful. Or when user registrations with sencha io, does local storage of sencha touch save user information?

    You can't authenticate a user when the device is offline. But, once the user has authenticated (and not logged out) the client remembers the user's identify. So yes it's in local storage.

    Also, you can create and use a sync store before the user has authenticated. It's only when the client connects and tries to sync the data store that we need the user to authenticate themselves.

    John

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi