OneSignal / onesignal-vue3

Vue 3 OneSignal Plugin: Make it easy to integrate OneSignal with your Vue App!
Other
19 stars 5 forks source link

setExternalUserId getExternalUserId removeExternalUserId api works without exceptions but i do not see change in app dashboard #6

Closed this1-it closed 2 years ago

this1-it commented 2 years ago

I want to add external user id to subscribed users, such api works without errors but I do not see changes in Onesignal Dashboard : App / Audience / All Users

Sometime I am able to set it but then I cannot change nor remove I'm using try catch to collect promise errors but do not get any error log even using trace

const onesignal: any = useOneSignal();
const extId = ref();
extId.value = await onesignal.getExternalUserId();
console.log(extId.value) // value is null on console
await onesignal.setExternalUserId('xxx-yyy-zzz');
extId.value = await onesignal.getExternalUserId();
console.log(extId.value) // value is 'xxx-yyy-zzz'
// value is shown on dashboard at this time

then I try to modify extid

await onesignal.removeExternalUserId();
extId.value = await onesignal.getExternalUserId();
console.log(extId.value) // value is null on console but dashboard is still showing 'xxx-yyy-zzz'

...

await onesignal.setExternalUserId('111-222-333');
extId.value = await onesignal.getExternalUserId();
console.log(extId.value) // value is '111-222-333' on console but dashboard is still showing 'xxx-yyy-zzz'

Are there some limitation in number/rate of daily calls ? I'm using a free account

rgomezp commented 2 years ago

Howdy, We're aware of this issue and are working on it. Thanks for your patience.

rgomezp commented 2 years ago

This should now be resolved.

this1-it commented 2 years ago

thank you very much, I do not know if release 1.0.2 contains such fix

rgomezp commented 2 years ago

@this1-it , This was not an SDK-related issue. It was resolved in the backend.

Enjoy!