oneSignalUserId will be assigned and sent to the device.
To grant privacy consent run the following command. If Automatic Registration is not Disabled (see Auto Register) the push notification permission prompt will then be displayed to the user.
To revoke push notification consent run the following command:
<a onclick="gonative.onesignal.userPrivacyConsent.revoke()">Revoke Push Notification Privacy Consent</a>
Revoking Privacy Consent
Revoking OneSignal privacy consent stops your app from sending data to OneSignal but does not prevent receiving push notifications.
To control which users receive which notifications consider using Tags within OneSignal
Updated about 2 months ago