Conversation
…n/disposeRun hooks
Stop collecting device crash artifacts when the app monitor starts so XCTest setup does not trigger devicectl diagnose before app launch.
Add a shared permissions flag that defaults to false and only starts the iOS XCTest permission helper when explicitly enabled.
Document the current permissions flag behavior and clarify that iOS permission automation exists today while Android-specific permission automation is not yet implemented.
Add permission granting functionality for Android that uses adb to automatically grant a comprehensive set of common dangerous permissions when the permissions config flag is enabled. Works on both emulators and physical devices. - Create android/permissions.ts with default permission list - Add adb.grantPermissions() function to grant permissions via 'pm grant' - Integrate permission granting in emulator and physical device instance setup - Add comprehensive tests for permission granting scenarios - Update permissions documentation to describe Android implementation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add configurable permission automation across iOS and Android so harness runs can handle native permission prompts without manual intervention.
Context
This introduces an iOS XCTest-based permission prompt agent with simulator and device transports, run-level lifecycle hooks to prepare and dispose automation around app launches, and Android permission automation through adb. Permission automation is gated behind configuration, with playground coverage and documentation showing how to enable and validate the behavior.
Proposed Testing Scenario
Run the playground permission harness with permission automation enabled on both an iOS simulator and an Android emulator. Verify the app launches, permission prompts are handled automatically, and the permission guide reflects the configuration needed for both platforms.