Skip to content

Commit

Permalink
Update migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Nov 28, 2020
1 parent de0a348 commit 4b4ec96
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

## What's new

- Windows support ([#530](https://github.com/zoontek/react-native-permissions/pull/530))
- Windows support ([#530](https://github.com/zoontek/react-native-permissions/pull/530) by @bzoz)
- Android 11 support
- iOS 14 support, iOS 9 support dropped
- New iOS permission handlers: `Permission-LocationAccuracy` ([#503](https://github.com/zoontek/react-native-permissions/pull/503)) and `Permission-PhotoLibraryAddOnly` ([#510](https://github.com/zoontek/react-native-permissions/pull/510))
- New methods for iOS14+: `checkLocationAccuracy`, `requestLocationAccuracy`, `openLimitedPhotoLibraryPicker` ([#503](https://github.com/zoontek/react-native-permissions/pull/503), [#510](https://github.com/zoontek/react-native-permissions/pull/510))
- Support of the new `Limited` status for `PhotoLibrary` permission ([#510](https://github.com/zoontek/react-native-permissions/pull/510))
- iOS 14 support added, iOS 9 support dropped
- Updated example app
- New iOS 14+ permission handler: `Permission-PhotoLibraryAddOnly`. It exposes a new method: `openLimitedPhotoLibraryPicker` ([#510](https://github.com/zoontek/react-native-permissions/pull/510) by @jochem725)
- New iOS 14+ permission handler: `Permission-LocationAccuracy`. It exposes two new methods: `checkLocationAccuracy` & `requestLocationAccuracy` ([#503](https://github.com/zoontek/react-native-permissions/pull/503) by @adapptor-kurt)
- Support of the new `Limited` status for `PhotoLibrary` permission ([#510](https://github.com/zoontek/react-native-permissions/pull/510) by @jochem725)
- Support of the new `Limited` status for `Notifications` permission (=`Ephemeral`, (see [Apple doc](https://developer.apple.com/documentation/usernotifications/unauthorizationstatus/unauthorizationstatusephemeral?language=objc))

## Code modifications
## Breaking changes

1. `.podspec` extension is no longer required in your `Podfile`:

Expand All @@ -33,6 +34,6 @@ end

2. `request(PERMISSIONS.IOS.PHOTO_LIBRARY)` and `requestNotifications` could now resolve with a `RESULTS.LIMITED` permission status.

## Known issues
## Known issue

Updating the permission status to `Ask me next time` in your app settings will not work on Android 11.
Updating the permission status to `Ask me next time` in your app settings will not update the permission status on Android 11 for now.

0 comments on commit 4b4ec96

Please sign in to comment.