on 2020 Nov 24 10:28 AM
Hi,
I"m using the SAP Cloud Platform for android SDK. We don't want a password on the application. We disabled passcode policy inside mobile services. Now everytime the app gets opened for the first time the user is getting following alert dialog:
I'm unable to find this dialog inside my project code. So this must be generated within the SDK Library. How can I remove this message so my end users are not seeing this message?
Request clarification before answering.
Hi,
From the screenshot, I guess you're using 'flowsv2' component of Android SDK. If so, since we're thinking it's essential to protect the app with the passcode policy, there will be this 'information' showing up. But it's not necessary to be a dialog, it can also be a Toast. To do this, when starting the onboarding flow, customized FlowOption can be provided like this:
//Create a class extends from 'FlowOptions'
class MyFlowOption: FlowOptions() {
override fun infoMessageOption(): InfoMessageOption = InfoMessageOption.TOAST
}
Then when starting the flow:
start(
this,
flowContext = FlowContext(
appConfig = AppConfig.Builder().applicationId("your_app_id").build(),
flowActionHandler = MyFlowActionHandler(),
flowStateListener = MyFlowStateListener(application),
flowOptions = MyFlowOption()
)
)
Then that dialog would be shown as a Toast. Will discuss this more see if we should provide another option like 'NONE', then not shown such messages at all.
Thanks
Qiang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And discussed with the team, we're going to add 'NONE' option in the next release. Thanks
Thank you! Any idea when the next release will be available ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
9 | |
9 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.