How to use the askForPhotosAccess function from bindings
Find comprehensive JavaScript bindings.askForPhotosAccess code examples handpicked from public code repositorys.
46 47 48 49 50 51 52 53 54 55
function askForPhotosAccess(accessLevel = 'add-only') { if (!['add-only', 'read-write'].includes(accessLevel)) { throw new TypeError(`${accessLevel} must be one of either 'add-only' or 'read-write'`) } return permissions.askForPhotosAccess.call(this, accessLevel) } module.exports = { askForAccessibilityAccess: permissions.askForAccessibilityAccess,
31
127
0
+ 3 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)