feat(unvired-cordova-sdk): Add new function to regenrate the JWT Token

This commit is contained in:
Srinidhi Rao
2022-08-29 18:06:47 +05:30
parent dd081cc696
commit b09503bf90
@@ -1663,4 +1663,13 @@ export class UnviredCordovaSDK extends AwesomeCordovaNativePlugin {
registerForPushNotification(): Promise<any> {
return;
}
/**
* Regenerates the JWT token used for communicating with the UMP server.
* The updated token will be available via the registered NotificationListener's callback |JWTTokenReceived|
*/
@Cordova()
refreshJWTToken(): Promise<any> {
return;
}
}