[ad_1]
I’ve an Ionic App that runs on iOS and Android, when a consumer logs in they’re subscribed to OneSignal for notifications the place I cross by their consumer ID utilizing “setExternaluserId”, the consumer of the App can signal into a number of accounts on the identical App, every account can have a singular “consumer ID” so I hoped that they’d obtain notifications for each accounts so long as they’ve signed in as soon as to that account on the system however this doesn’t appear to be the case.
Is there one thing that stops this in OneSignal in order that just one system/App can subscribe directly, the consumer will not be unsubscribed from OneSignal once they logout of the App?
The code used for subscribing to OneSignal is as follows:
this.oneSignal.startInit('xxxxxx', 'xxxxx');
this.oneSignal.inFocusDisplaying(this.oneSignal.OSInFocusDisplayOption.Notification);
this.oneSignal.setExternalUserId(xxxxxx);
this.oneSignal.endInit();
[ad_2]
