1

I'm trying to select between react-native-permissions or expo-permissions for my project. They both work on iOS and Android but expo-permissions code is more concise. Other than that, are there any trade-offs between the two that I should be aware of?

I'm using bare react-native workflow without Expo.

CodeHat
  • 384
  • 4
  • 14

1 Answers1

-1

If you are using a bare react-native workflow you should use react-native-permissions, because expo-permissions is only for expo managed workflows.

Although Expo has react-native-unimodules package that can give you the permissions module.

If you read the docs for expo-permissions you can see this thing in installation guide. Thanks

Muhammad Danial Iqbal
  • 1,546
  • 1
  • 9
  • 10
  • Thank you. Just to clarify I'm using bare react-native workflow. I've already have expo-permissions installed via react-native-unimodules. Are there any trade-offs between the two packages? – CodeHat May 30 '20 at 07:02