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

This commit is contained in:
Srinidhi
2022-09-05 22:33:26 +05:30
committed by GitHub
parent 6e953e58ca
commit 678fb71a7f
@@ -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;
}
}