Closed devthejo closed 6 years ago
Indeed this would be a great addition! Feel free to help and send a pull request... I'm very busy and have no time to implement it myself at the moment :-(
facing the same problem : ( @takion did you work it out?
@souvik-ghosh I used react-native-permissions to ensure user have permission, or request for it, before calling react-native-immediate-phone-call, preferably on application start
I think this is the best option (I use it myself for other permissions). This ensures separation between permissions and logic, which might be good for future changes.
React native also has PermissionsAndroid which you can use to check and ask for permission, so external packages are not needed if you don't want to...
hi @wumke, just to clarify. so we only need to check permission for android is it? what bout ios? if user denied, will the permission dialog prompted again? since i cant test in simulator.
Android: PERMISSIONS.ANDROID.CALL_PHONE
iOS: needed?
https://github.com/zoontek/react-native-permissions#supported-permissions
Hello, I have this bug on android sdk 27 with react-native 0.57
this article https://stackoverflow.com/questions/33473436/revoked-permission-android-permission-call-phone/33473478 seem to tell us the way to solve it, but I wondered if we can't include it directly in react-native-immediate-phone-call