yarn react-native-permissions 5.7.0

49 minutes ago

What's Changed

  • Add Swift Package Manager support through an autolinking plugin by @chrfalch in #989

Swift Package Manager setup

  1. List the permissions you need in ios/react-native-permissions.json:
["Camera", "Microphone"]
  1. Run npx react-native spm and rebuild.
  2. Add the usage descriptions to your Info.plist, as with CocoaPods.

Only the listed permissions are compiled. With Expo, the iosPermissions plugin option writes this file for you, next to the setup_permissions call in your Podfile.

CocoaPods setup does not change.

New Contributors

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

NewReleases is sending notifications on new releases.