Permissions
To use features like the clipboard, location information, photo album, and contacts in the app, you need to set permissions. This guide explains how to set permissions so these features can be used in the Toss app.
Permission list
Below is a list of permission names and allowed actions. Also check the access value for each permission.
Camera
Permission name:
cameraAccess(
access): openCamera
Album
Permission name:
photosRead(
read): fetchAlbumPhotos
Clipboard
Permission name:
clipboardRead(
read): getClipboardTextWrite(
write): setClipboardText
Contacts
Permission name:
contactsRead(
read): fetchContacts
Location
Permission name:
geolocationAccess(
access): startUpdateLocation, getCurrentLocation, useGeolocation
Microphone
Permission name:
microphoneAccess(
access): Will be supported later. If this is WebView, please implement it directly using the Web API.
Set permissions
The permissions used in the app can be granite.config.tsdefined in . This is used when reviewing the app. Permission listPlease refer to it and configure it.
The following is an example configured to use the clipboard, camera, and photo album.
Last updated
Was this helpful?