Bixby Developer Center

Guides
References

library-permission

optionalmultiple allowedvalue required

A library-specific permission. Declare this key for each permission from a library that you would like granted from a user. Note that you do not necessarily need to import all the permissions from a library.

You would declare the permission by using $capsule-name$:$permission-name$, for example myCapsule:photos.

Note

===partials(notes/library-permissions-autocomplete)

Example

capsule {
...
capsule-imports {
import (example.myLibraryCapsule) {
version (0.1.0)
as (myLib)
}
}
permissions {
device-location-access
library-permission (myLib:photos)
}
}
capsule {
...
permissions {
library-permission (testLib:myType1)
library-permission (testLib:myType2)
device-location-access
guest-access-allowed (ALWAYS)
}
}
auto-complete {

source {
collect-with () { }
label ()
where-each () { }
permissions {
library-permission (self:profile)
library-permission (contact:contacts)
}
}
}

Child Keys

restrictions
optional
Defines restrictions on a permission