-
Notifications
You must be signed in to change notification settings - Fork 0
Request all platform permissions and add Android permission demos for CodeBuilder Admin #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: digitalnomad91 <2067771+digitalnomad91@users.noreply.github.com>
|
@copilot Can you please merge your changes with the ones I just made on the main/master branch to the app.config.js (added permissions to the list). Then go ahead and go through the exhaustive list of permissions for android and create a demo / example implementaiton showing usage of all available functionality with each permission on android. Add a section to one of the pages / tabs and then create components for each demo and in that section add links/buttons to each new page that should be created for each permission type / component which showcases usage of that permission on android / through expo. If necessary for certain permissions that aren't implementable through expo / react then go ahead and create a script and modify the android build process so that we can inject any necessary java code / functions as well as any other modifications to the android build files (such as manifest xml file). There are examples of doing this already in the scripts folder, so use that as a template for anything that can't easily be implemented with just react / expo / etc... |
Co-authored-by: digitalnomad91 <2067771+digitalnomad91@users.noreply.github.com>
Co-authored-by: digitalnomad91 <2067771+digitalnomad91@users.noreply.github.com>
Co-authored-by: digitalnomad91 <2067771+digitalnomad91@users.noreply.github.com>
Merged main’s app.config permission updates and expanded the unioned list, plus added a new Permissions tab with demo screens for location, camera/mic, notifications, media, storage, telephony/SMS, and Bluetooth/nearby; each requests the relevant Android runtime permissions and runs a small example. Screenshot: assets/permissions-hub.png. Latest changes: 624d6dc. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Expanded app permissions to request every available platform capability and added in-app demos for requesting and exercising them.
android.permission.*set (location, media, sensors, telephony, Bluetooth, storage, notifications, foreground services, package queries, etc.) inapp.config.js.android/app/src/main/AndroidManifest.xmlfor maximal coverage.assets/permissions-hub.png).Example (excerpt):
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.