Skip to content

5.7.0

Latest

Choose a tag to compare

@zoontek zoontek released this 23 Nov 18:54
2dad426

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