react-native-permissions

An unified permissions API for React Native on iOS, Android and Windows.

MIT License

Downloads
2M
Stars
4K
Committers
109

Bot releases are visible (Hide)

react-native-permissions - 2.0.0

Published by zoontek about 5 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
react-native-permissions - 1.2.0

Published by zoontek over 5 years ago

  • ⚠️ 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
react-native-permissions - 1.1.1

Published by zoontek over 6 years ago

  • Fix missing commas
react-native-permissions - 1.1.0

Published by zoontek over 6 years ago

  • Add support for Media Library iOS permission
  • Add support for Motion iOS permission

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

react-native-permissions - 1.0.6

Published by zoontek almost 7 years ago

⚠️ 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
react-native-permissions - 1.0.5

Published by zoontek almost 7 years ago

  • Permissions.check type now can be a string or an options object
react-native-permissions - 1.0.4

Published by zoontek almost 7 years ago

  • 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
react-native-permissions - 1.0.3

Published by zoontek almost 7 years ago

  • Remove deprecated React pod dependency
react-native-permissions - 1.0.2

Published by zoontek almost 7 years ago

  • Support for React Native 0.50
  • Upgrade example
  • TypeScript import support
  • Fix checkMultiple on iOS
  • Improved documentation
Package Rankings
Top 0.77% on Npmjs.org
Badges
Extracted from project README
mit licence npm version npm downloads platform - android platform - ios platform - windows
Related Projects