Remove all but the native Android implementation, and relocate that to live under a new platforms
directory.
NativeScript Expo users will install the native Android implementation from this fork (@nativescript-community/expo-permissions
), but the native iOS implementation, and the JS build, will continue to come from the original expo-permissions
.
We'll align the major version of @nativescript-community/expo-permissions
with that of the corresponding expo-permissions
build. It may well be that expo-permissions
updates at some point to version 11 without having changed the Android implementation at all, though, so in such case, @nativescript-community/[email protected]
would be compatible with both [email protected]
and [email protected]
. It's not an ideal versioning system, but there's always tradeoffs!
- Make background location an opt-in permission on Android. (#10989 by @bycedric)
- Upgrade
androidx.appcompat
to1.2.0
. (#11018 by @bbarthec)
- Fixed motion permission bug on web. (#9670 by @EvanBacon)
- Added support for the limited
CAMERA_ROLL
permission on iOS 14. (#9423 by @lukmccall)
- Ensure browser globals
DeviceMotionEvent
andDeviceOrientationEvent
exist before attempting to read from them. (#9236 by @evanbacon) - Fixed
askAsync
rejecting withpermission cannot be null or empty
in the bare workflow. (#8910 by @lukmccall) - Fixed
getPermissionsAsync
returning incorrect status in the Expo Client app on iOS. (#9060 by @lukmccall) - Remove require cycle for
usePermissions
hook. (#9219 by @EvanBacon)
- If permission is not recognized, show the correct expo package to link. ([#8546])(expo/expo#8046) by @jarvisluong
- Removed support for fetching notifications-related permissions (they have been moved to
expo-notifications
package). You no longer will be able to callgetAsync
oraskAsync
with.NOTIFICATIONS
or.USER_FACING_NOTIFICATIONS
without havingexpo-notifications
package installed. (#8486 by @sjchmiela)
- Fixed
Permissions.NOTIFICATIONS
was granted even if notifications were disabled. (#8539 by @lukmccall)
- Fix permissions in the headless mode. (#7962 by @lukmccall)
- Fixed
permission cannot be null or empty
error when asking forWRITE_SETTINGS
permission on Android. (#7276 by @lukmccall) - Fixed a rare undetermined behavior that may have been a result of misuse of
dispatch_once_t
on iOS (#7576 by @sjchmiela)