移动第一平台7.1 - 下载应用程序时显示用户协议 [英] Mobile first Platform 7.1 - Display user agreement when Application is downloaded

查看:112
本文介绍了移动第一平台7.1 - 下载应用程序时显示用户协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们要求在第一次用户下载应用程序时显示用户协议。是否有任何事件或方法在下载应用程序时只调用一次。任何建议将不胜感激。

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.

推荐答案

MobileFirst平台没有提供这种仅限第一次的方法。

There is no such "first time only" method provided by the MobileFirst Platform.

我建议您的要求是在JSONStore文档中持久存储用户协议的接受程度。启动应用程序时,查询JSONStore以查看之前是否已记录用户协议已被接受,如果没有,则显示协议,并且在接受协议之前不允许用户继续使用应用程序。然后,当然,一旦接受协议,将该事实记录在JSONStore文档中,并启动应用程序的正常流程。

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.

这篇关于移动第一平台7.1 - 下载应用程序时显示用户协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆