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 go via their consumer ID utilizing “setExternaluserId”, the consumer of the App can signal into a number of accounts on the identical App, every account could have a singular “consumer ID” so I hoped that they might 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 forestalls this in OneSignal in order that just one system/App can subscribe directly, the consumer isn’t 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();