rne

react-native-easy-permissions

React Native: Native Easy Permissions

Showing:

Popularity

Downloads/wk

1

GitHub Stars

31

Maintenance

Last Commit

5mos ago

Contributors

1

Package

Dependencies

0

License

Apache-2.0

Type Definitions

Tree-Shakeable

No?

Reviews

Average Rating

4.0/51
Read All Reviews

Top Feedback

1Easy to Use

Readme

PRs Welcome

ReactNative: Native Easy Permissions Library (Android/iOS)

If this project has helped you out, please support us with a star 🌟

This library is a React Native bridge around native library providing Dialog for permissions.

iOS: ivanvorobei/SPPermissions
Android: Facebook/ReactNative.PermissionsAndroid

This library is support RN61+

📖 Getting started

$ npm install react-native-easy-permissions --save

  • iOS

iOS Prerequisite: Please make sure CocoaPods is installed on your system

- Add the following to your `Podfile` -> `ios/Podfile` and run pod update:
  use_native_modules!

  pod 'RNEasyPermissions', :path => '../node_modules/react-native-easy-permissions/ios'

  use_frameworks!

  pod 'SPPermissions', :git => 'https://github.com/prscX/SPPermissions', :branch => 'react-native'

Supported Permissions - Follow

No configuration is required

🎨 Usage

import { RNEasyPermissions } from 'react-native-easy-permissions'

RNEasyPermissions.Show({
    // iOS Permissions
    permissions: ['Camera', 'Contacts', 'Calendar', 'PhotoLibrary', 'Notification', 'Microphone', 'Reminders', 'SpeechRecognizer', 'Location', 'Motion',    'MediaLibrary', 'Bluetooth']
    // Android Permissions
    // permissions: [
    //   'android.permission-group.CALENDAR',
    //   'android.permission-group.CAMERA',
    //   'android.permission-group.LOCATION',
    //   'android.permission.READ_SMS',
    //   'android.permission.ACCESS_FINE_LOCATION'
    // ]
});

💡 Props

  • General(iOS & Android)
PropTypeDefaultNote
Show({ permissions: [] })funcIt invoke native permissions dialog

✨ Credits

🤔 How to contribute

Have an idea? Found a bug? Please raise to ISSUES. Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.

💫 Where is this library used?

If you are using this library in one of your projects, add it in this list below. ✨

📜 License

This library is provided under the Apache 2 License.

RNAppTour @ prscX

💖 Support my projects

I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the projects you like 🚀

  • If you're feeling especially charitable, please follow prscX on GitHub.

    Buy Me A Coffee

    Thanks! ❤️
    prscX.github.io
    </ Pranav >

Rate & Review

Great Documentation0
Easy to Use1
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Tutorials

No tutorials found
Add a tutorial