What is the best way to implement authentication for a mobile application that will be safe and will not annoy the user by asking for authentication each time the application starts? In other words, for the first time after installing the mobile application, the user needs to register / log in, and after that the application always works without an authentication request.
Own mobile applications request credentials the first time they use the application, but subsequently they do not require a login. The application just launches and tries to connect to the data network (wifi, 3g, etc.), if it finds the data network, then downloads the latest data, and the other uses the data that it was able to extract the last time it could get access to data network. In addition, the application can automatically connect automatically when there is a data network, and receive the latest data without user intervention.
I tried to develop similar functions using the meteor mobile application (password accounts, useraccounts: core, useraccounts: ionic), however the application quite often shuts down and asks for a re-login every time the data network is lost. Sometimes it even freezes on the login screen, and the only way out is to kill the application. The behavior seems very similar to a web application where a session identifier is created and has a downtime timeout, or forcibly enters a login in case of problems connecting to the Internet.
Any advice on storing credentials the first time you log in and then use it; as well as a good way to handle a data network with frequent outages?
Frames: 1. Meteor platform 2. Ionic with AngularJS 3. ngCordova
: 1. , ( ). 2. (, , ).
, stackoverflow:
UDID MAC- . /UDID ( mac) () , / . UDID/mac ( ) .
UDID, UDID/mac, , , .
, !