npm react-native-permissions 2.0.0

latest releases: 4.1.5, 4.1.4, 4.1.3...
4 years ago

⚠️  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

Don't miss a new react-native-permissions release

NewReleases is sending notifications on new releases.