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()
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 it 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