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 need but needs permission 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.

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)
}
}

Child Keys

restrictions
optional
Defines restrictions on a permission