-
-
Notifications
You must be signed in to change notification settings - Fork 876
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Port
startActivityForResult
(Android) (#1209)
* Port Android `Manifest.permission` and `Manifest.permission_group` (#1196) * Port `Manifest.permission` and `Manifest.permission_group` * Use Dart conventions for `Manifest` variables * Implement `checkPermissionStatus` * Change entry point of getting an `Activity`, implement `requestPermission` * Expose `requestCode` * Update tests * Update main.dart * Update CHANGELOG.md * Elaborate on concern * Replace `AndroidActivity` with `ActivityAware` * Delete test * Apply small fixes * Elaborate on missing Android activity * Regenerate pigeon files * Make small adjustments based on review * Update documentation * Update documentation * Implement `Settings` mirror * Implement `Uri` mirror * Add `Intent` constructor and update `Uri` implementation * Implement `Intent` methods * Implement `startActivity`, `getPackageName` for `Context` * Copy new `Context` methods to `Activity` * Implement `openAppSettings` in `PermissionHandlerAndroid` * Follow-up changes * Run `dart format .` * Add `startActivityForResult` * Add actions to `Settings` * Update TODOs * Run `dart format .` * Remove duplicate methods * Expose optional `requestCode` for permission requests
- Loading branch information
1 parent
ee07c08
commit 8e4488b
Showing
11 changed files
with
598 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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
Oops, something went wrong.