Skip to content

Releases: zoontek/react-native-permissions

2.0.4

26 Nov 17:23
Compare
Choose a tag to compare
  • Add a Jest mock file
  • Avoid return unavailable if bluetooth-peripheral is not set in UIBackgroundModes (fix #366)
  • Add a new workaround about use_frameworks! in the documentation (#372 by @Dimon70007)

2.0.3

23 Oct 16:22
Compare
Choose a tag to compare
  • Avoid return unavailable if location is not set in UIBackgroundModes to allow significant location tracking feature usage
  • Add instructions about use_frameworks! in the documentation

2.0.2

06 Oct 16:10
Compare
Choose a tag to compare

2.0.1

05 Oct 17:21
Compare
Choose a tag to compare
  • Fix missing notifications permission pod with use_frameworks!(by @dungnguyen10989, fix #331)
  • Fix location permissions requests on iOS 13 (fix #329)
  • Split types out so module is easier to mock for testing (fix #324)
  • Fix package.json homepage and repository url (fix #330)
  • Add warnings about missing UIBackgroundModes

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