diff --git a/src/@awesome-cordova-plugins/plugins/airship/index.ts b/src/@awesome-cordova-plugins/plugins/airship/index.ts index c4019d3fdf..0382739531 100644 --- a/src/@awesome-cordova-plugins/plugins/airship/index.ts +++ b/src/@awesome-cordova-plugins/plugins/airship/index.ts @@ -1664,6 +1664,16 @@ class AirshipChannel { return; } + /** + * Waits for the channel ID to be created + * Returns the channel ID. If the channel ID is not yet created, the function will wait for it before returning. + * After the channel ID is created, this method functions the same as getChannelId(). + */ + @CordovaInstance() + waitForChannelId(): Promise { + return; + } + /** * Gets a list of the channel's subscriptions. */