diff --git a/src/@ionic-native/plugins/onesignal/index.ts b/src/@ionic-native/plugins/onesignal/index.ts index 249d04a23..c6e5e1369 100644 --- a/src/@ionic-native/plugins/onesignal/index.ts +++ b/src/@ionic-native/plugins/onesignal/index.ts @@ -770,4 +770,19 @@ export class OneSignal extends IonicNativePlugin { */ @Cordova() userProvidedPrivacyConsent(callback: Function): void {} + + /** + * Allows you to use your own system's user ID's to send push notifications to your users. + * To tie a user to a given user ID, you can use this method. + * @param {string} externalId + */ + @Cordova() + setExternalUserId(externalId: string): void {} + + /** + * Removes whatever was set as the current user's external user ID. + */ + @Cordova() + removeExternalUserId(): void {} + }