Nan

Results 266 comments of Nan

Rebased on `feat/add_get_ids` so this PR can use the null helper methods added for IDs.

Pushed some changes, these are my testing scenarios: 1. On a new app install, immediately call these new getters for push subscription properties and permission. See they are `null` and...

Everything looks good, the only callout is on the UserState object. If there's no external_id, it will fire with ``` { "current": { "onesignalId": "b22ad46f-b4c6-464d-8eb2-8225453f0524" } } ``` You'll need...

Everything looks great, I just pulled logic into a helper method to translate values into `null` since they are used in multiple places. In this [commit](https://github.com/OneSignal/OneSignal-Cordova-SDK/pull/959/commits/2eed86795a65af27ddbd8aaffc27176c45a62eff). And did a rebase...

Hi @kpturner, thank you for reporting, I was able to reproduce the behavior with calling `requestPermission()` in combination with the Settings prompt. We will investigate a solution.

Hi @louis123562, can you tell me more about your issue? When you prompt for permission **but before a choice is made**, the SDK may believe permission is not granted yet...

Hi @terreng, Thank you for reporting. I was able to reproduce there is some inconsistency with `canRequestPermission`. We will investigate how to resolve this issue.

It may also not be available yet if you ask for the subscription ID **immediately** after initialization. Try waiting to see if you receive it later. Another way is to...

Hi all, thanks for your responses. I will investigate the push subscription observer not behaving as expected.

Hi everyone, Thanks for your patience and continuing to give us information. Can you let me know when do you add the push subscription event listener?