cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Asset Manager 2405 – Requesting Camera & Microphone Permissions on First Login

DivanWellalage
Explorer
0 Kudos
249

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

View Entire Topic
muhammad_rafay
Product and Topic Expert
Product and Topic Expert

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