Skip to content

Simplify permission state management by removing SharedPreferences de… - #148

Open
ahmedsalemelzeiny wants to merge 2 commits into
new_corefrom
simplify-permission-state-management
Open

ahmedsalemelzeiny wants to merge 2 commits into
new_corefrom
simplify-permission-state-management

Conversation

@ahmedsalemelzeiny

Copy link
Copy Markdown
Contributor

…pendency

  • Remove SharedPreferences tracking from getRuntimePermissionState() and clearPermissionState()
  • Rely on Android's standard shouldShowRequestPermissionRationale() API now that targetSdk is properly configured
  • Update documentation to reflect simplified approach without custom state tracking
  • Keep clearPermissionState() for interface compatibility but make it a no-op
  • Improve code maintainability by using platform-provided permission state logic

🤖 Generated with Claude Code

ahmedsalemelzeiny and others added 2 commits July 20, 2025 23:54
…pendency

- Remove SharedPreferences tracking from getRuntimePermissionState() and clearPermissionState()
- Rely on Android's standard shouldShowRequestPermissionRationale() API now that targetSdk is properly configured
- Update documentation to reflect simplified approach without custom state tracking
- Keep clearPermissionState() for interface compatibility but make it a no-op
- Improve code maintainability by using platform-provided permission state logic

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant