Closed sublime392 closed 1 year ago
@sublime392 can you please create a PR so I can see the changes more easily? Thanks
@farfromrefug done. fyi, In the published version (local node_modules) I also had to add the function declaration to the index.android.d.ts and index.ios.d.ts files, but those files do not seem to be present in the source repo.
Some of the permissions such as background location and notifications require checking shouldShowRequestPermissionRationale() to see if a message should be shown prior to requesting the permission https://developer.android.com/develop/ui/views/notifications/notification-permission#wait-to-show-prompt
Here is the patch I am using for this. It seems to work well enough, but I am not confident that it is solid/polished enough for a PR.