argent-settings-permissions

Manage iOS simulator and Android device runtime permissions via platform permission stores.

71|2|Updated Oct 26, 2019
One-click install
npx skills add https://github.com/TrainLCD/MobileApp --skill argent-settings-permissions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: argent-settings-permissions
Source: https://github.com/TrainLCD/MobileApp/tree/main/.agents/skills/argent-settings-permissions
Command: npx skills add https://github.com/TrainLCD/MobileApp --skill argent-settings-permissions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool eliminates the manual, repetitive process of navigating system settings menus to grant, deny, or reset app permissions during mobile development and testing.

Core Features & Use Cases

  • Permission State Control: Programmatically grant, deny, or reset runtime permissions like camera, location, and notifications.
  • Test Automation: Pre-authorize services to prevent dialog interruptions or simulate denied states to test app error handling.
  • Use Case: When testing a new feature that requires camera access, use this tool to reset the permission state before each test run to ensure the first-run permission dialog appears exactly as it would for a new user.

Quick Start

Use the argent-settings-permissions skill to grant camera access to the app with bundle identifier com.example.app on the device with the specified udid.

Frequently Asked Questions about argent-settings-permissions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate mobile app permission testing on iOS simulators and Android devices?

Automate mobile app permission testing by directly interacting with the platform's permission store to programmatically grant, deny, or reset runtime permissions. This eliminates manual navigation through system settings menus during mobile development and testing.

What do I need to reset app permissions for automated testing?

To reset app permissions for automated testing, you need a valid device UDID or serial number and the target application's bundle identifier. This allows the tool to directly interact with the permission store to reset access states.

Can I pre-authorize camera and location access to prevent dialog interruptions during test runs?

Yes, you can pre-authorize system services like camera and location to prevent dialog interruptions during test runs. Programmatically granting these permissions simulates authorized states so automated tests proceed without manual intervention.

What's the best way to simulate denied permission states to test app error handling?

The best way to simulate denied permission states is to programmatically disable access to system services like camera, location, and notifications. This directly changes the permission store state, allowing you to test how your app handles restricted access.

Does this permission automation tool work with both iOS and Android platforms?

Yes, this permission automation works with both iOS simulators and Android devices. It manages runtime permissions by directly interacting with each platform's permission store using the device identifier and application bundle identifier.