Are there any trade-offs between react-native-permissions and expo-permission?

491 views Asked by At

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.

1

There are 1 answers

1
Muhammad Danial Iqbal On

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