You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
Is there any place to pass a list of necessary android permissions?
importadbfrom'adbkit'constclient=adb.createClient()exportdefaultasyncfunctionaddAndroidPermissions(deviceId,appId,permissions=[]){try{awaitPromise.all(permissions.map(permission=>client.shell(deviceId,`pm grant ${appId} android.permission.${permission}`)))}catch(error){thrownewError(`Can not set android permissions: ${error}`)}}
Is there any place to pass a list of necessary android permissions?