Search code examples
sencha-touchhybrid-mobile-app

Should i use hybrid app which has user authentication and store sessions?


Hi I'm new to hybrid app development, i'm trying to develop an hybrid app using Sencha, which has features like user login, store user details in local(client), and consume rest apis. AFAIK its not possible to make a POST request(CORS) and cookie storage don't work in mobile. So whats the workaround to it OR should i really be using the hybrid at all


Solution

  • Simple ajax request will work, you don't need CORS nor JSONP if you package the app with cordova or phonegap. Once app is packaged you don't have cross domain restrictions.

    Yeah go for it with Sencha Touch.