devstepbcn / react-native-android-wifi

A react-native module for viewing and connecting to Wifi networks on Android devices.
ISC License
212 stars 121 forks source link

Add missing Rational, [buttonNeutral,buttonNegative,buttonPositive] #110

Open mirsahib opened 2 years ago

mirsahib commented 2 years ago

This PR resolve the missing Rational [buttonNeutral,buttonNegative,buttonPositive] .

If rationale is provided, this function checks with the OS whether it is necessary to show a dialog explaining why the permission is needed. (https://developer.android.com/training/permissions/requesting.html#explain) and then shows the system permission dialog.

Reference:https://reactnative.dev/docs/permissionsandroid