We have requirement to display user agreement when first time user downloads the application. Is there any event or method that is invoked only one time when the application is downloaded. Any suggestion will be appreciated.
标签:
ibm-mobilefirst
相关问题
- IBM Worklight 6.0 - Worklight Console does not sho
- Output delayed from Cordova Plugin
- Android Application Build with MobileFirst 7.1 is
- Custom ListView in Worklight using Dojo
- How to display a custom keyboard
相关文章
- Unknown realm [myRealm]. null returned for key: is
- How To Calling a Stored Procedure in Worklight
- Worklight 6.0 WL development Server not starting
- How to open the phone dialer?
- Is there a tool to install an existing Cordova 3 p
- Worklight Online + Offline Authentication
- Cannot Call determinedVisibility() never saw a con
- Getting “Cannot install applications because the c
There is no such "first time only" method provided by the MobileFirst Platform.
What I would suggest for your requirement would to persistently store the acceptance of the user agreement in a JSONStore document. When you start the app, query the JSONStore to see if it's previously been recorded that the user agreement was accepted, and if not, then present the agreement and don't allow the user to proceed in the app until the agreement is accepted. Then, of course, once the agreement is accepted, record that fact in a JSONStore document, and start the application's normal flow.