- iOS: Added support for requesting permissions on the DOCUMENTS and DOWNLOADS folder (thanks to @phranck);
- Androis: Fix the PROCESS_OUTGOING_CALLS permissions which have been deprecated in API 29.
- Android: Add support for requesting the background location permission within the
locationAlways
group. - Android: Update AGP, Gradle and AndroidX dependencies
- Fixed problem with dependency on specific version of gradle wrapper on Android.
- Reverted the update of the 'meta' plugin since Flutter SDK depends on version 1.1.6
- Updated dependecy on 'meta' to latest version.
- Add support for Androids' "ignore battery optimizations" permission;
- Improve error logging;
- Documented support for AndroidX.
- Support service status inquiry for phone permission on iOS & Android.
- Fixed bug when rapidly requesting permissions (#23);
- Rename Enums.h to PermissionHandlerEnums.h to prevent conflicts with geolocator (#104);
- Update the Android permission request code to prevent conflicts with geolocator (#111);
- Update Gradle infrastructure.
- Mark the Swift pod as static
- Converted the iOS version from Swift to Objective-C, reducing the size of the final binary considerably.
- Added new method
checkServiceStatus
to allow users to check if the location services (on Android and iOS) and motion services (iOS only) are enabled; - When checking permission status (using
checkPermissionStatus
) returnPermissionStatus.disabled
when permissions are granted or denied and the location services (on Android and iOS) or the motion services (iOS only) are disabled.
- Fixed bug on iOS where result of the
openAppSettings
call always returnedfalse
; - Upgrade Android plugin to support AndroidX and latest Gradle and Kotlin versions;
- Added Swift version number to the Podfile of the plugin;
- Updated flutter static analyzes to conform to latest recommendations.
- Make sure the Permission Handler compiles with latest iOS SDK
- Update to the latest version of Swift (4.2);
- Make sure that the correct Swift version is set in the
Podfile
of consuming Apps; - Updated configuration for statis code analyses, so it complies with the Flutter recommendations.
- Added Android support to check if location services are enabled. If location services are not running the permission check returns
PermissionStatus.DISABLED
.
- Fix bug with dependency on
com.android.support:support-compat
library - Update used Kotlin and Gradle versions
- Make methods non static so users can create an instance or override
- Converted the plugin into a library so that developers don't have to import additional files;
- Updated the README.md to fix example code.
- Initial release.