Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/@awesome-cordova-plugins/plugins/airship/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> {
return;
}

/**
* Gets a list of the channel's subscriptions.
*/
Expand Down