mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user