I have my app running which requires a few permissions (camera, gps, write external). In any case, if the user do not allow permission (to either one of it for 3 times, the request for permission will not pop up anymore). Under such condition, how can i launch my app settings - asking user to enable permission?
* Something similar to B4i -
If App.OSVersion >= 8 Then
App.OpenURL("app-settings:")
End If
Dim in As Intent
in.Initialize("android.settings.APPLICATION_DETAILS_SETTINGS", $"package:${Application.PackageName}"$)
Try
StartActivity(in)
Catch
Log("Failed to open app settings")
End Try
Dim in As Intent
in.Initialize("android.settings.APPLICATION_DETAILS_SETTINGS", $"package:${Application.PackageName}"$)
Try
StartActivity(in)
Catch
Log("Failed to open app settings")
End Try
Thank you Erel. The code above executes and bring me to the 'App Info'... instead of 'App Permission'. Is there any possibilities to go directly to 'App Permissions'?