feat(airship): Added new method waitForChannelId (#5122)

* feat(airship): Added new method waitForChannelId()

* Update src/@awesome-cordova-plugins/plugins/airship/index.ts

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* docs: regenerate plugin readmes

---------

Co-authored-by: Maxim Belov <belov1988@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Daniel Sogl
2026-03-21 16:40:32 -07:00
committed by GitHub
parent b2f8570444
commit 38f6eb5205
4 changed files with 55 additions and 119 deletions
@@ -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.
*/