on 2025 Feb 27 4:17 AM
Hi Experts,
We are using an extension page in SAP Service & Asset Manager 2405 to capture photos and record audio. Currently, users must manually enable the Camera and Microphone permissions by navigating to the device's App Settings.
Instead of this manual process, we want the app to prompt users to allow access to the camera and microphone when they log in for the first time. Ideally, a system popup should appear asking for these permissions when the app is opened for the first time after installation.
Has anyone implemented this behavior in SAP Asset Manager?
Any guidance or examples would be greatly appreciated!
Best Regards
Divan Wellalage
Request clarification before answering.
You need to request the permission through the NativeScript API or use a plugin that do that for you. Without asking for permission, it wouldn't request the permission automatically.
https://stackoverflow.com/questions/59037893/runtime-request-permission-in-nativescript-android-app
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
11 | |
9 | |
8 | |
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.