Skip to content

Releases: zoontek/react-native-permissions

2.0.0

28 Sep 12:38
Compare
Choose a tag to compare

⚠️  Disclaimer

This new release is a complete rewrite to tackle two massives issues: splitting iOS permission request handlers to avoid embedding unnecessary ones and a negative app store review and handling permissions non handled by React Native PermissionsAndroid API. But it contains much, much more and tries to resolve issues pending for nearly two years of inactivity on this repository.

🗃  Changelog

  • Split iOS permission handlers in multiple podspec (no custom fork anymore! - fix #240, #266)
  • Add all missing permissions on Android (including Android 10 ones - fix #232, #312)
  • New unavailable status for permissions not handled / restricted by the device / the OS (fix #175)
  • Remove the AsyncStorage dependency requirement (fix #319)
  • Switch the codebase to TypeScript and provides first-class types (fix #242)
  • Add the possibility to check and request notifications settings (alert, badge, sound, etc. - fix #310)
  • Add a bunch of new permissions handlers on iOS (Siri, FaceID, etc. - check the list! 🙂- fix #252)
  • Bring back the openSettings method (fix #258, #272)
  • Prevent for missing iOS UsageDescriptions in development

1.2.0

18 Jul 11:30
Compare
Choose a tag to compare
  • ⚠️ BREAKING CHANGE. Since AsyncStorage has been removed from the core, react-native-permissions now relies on @react-native-community/async-storage
  • Update example to react-native 0.60.3
  • Update code style to respect react-native-community guidelines
  • Add support for android coarse location permission #173
  • Improve "fine location" documentation #299
  • Return restricted if location services are not enabled on iOS #293
  • Add sendSms permission on android #303
  • Fix media library returning undefined #287
  • Merge platform specific files (resolve flow issues) #230
  • Export flow types #278

1.1.1

27 Jan 13:34
Compare
Choose a tag to compare
  • Fix missing commas

1.1.0

25 Jan 11:02
f67eaa5
Compare
Choose a tag to compare
  • Add support for Media Library iOS permission
  • Add support for Motion iOS permission

⚠️ Broken version. Don't use it! Use 1.1.1 instead.

1.0.6

15 Dec 18:27
27d863a
Compare
Choose a tag to compare

⚠️ Please unlink before updating this package, re-link after

react-native unlink react-native-permissions
# update the package
react-native link react-native-permissions
  • Fix react-native path linking for Xcode
  • Add a note about CommonJS import style
  • Add React in podspec dependencies
  • storage and photo permission now ask for a write access on Android

1.0.5

13 Dec 10:47
Compare
Choose a tag to compare
  • Permissions.check type now can be a string or an options object

1.0.4

02 Dec 18:14
Compare
Choose a tag to compare
  • Fix example on iOS
  • Support for request rationale on Android, by @axsann
  • Improve compatibility between the packager resolver and TypeScript one's
  • Add some flow types

1.0.3

28 Nov 19:44
Compare
Choose a tag to compare
  • Remove deprecated React pod dependency

1.0.2

22 Nov 20:36
Compare
Choose a tag to compare
  • Support for React Native 0.50
  • Upgrade example
  • TypeScript import support
  • Fix checkMultiple on iOS
  • Improved documentation