You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am setting up AppBridge in my app. But it is not receiving a response when calling the register function of AppBridge. In other words, windowName is null.
register(): void {
this.registrationAttempts++;
this.bridge.register(this.appBridgeConfig).then((windowName: string) => {
// Custom actions open inside of a new bowling alley tab, and we must register for the new window object
// Keep retrying to register until we receive the full window registration. Otherwise, ignore it.
this.registered = !this.requiresWindowObject || windowName != null;
if (this.registered) {
this.onRegistered.emit(true);
} else {
this.registerRetry();
}
}, (err: any) => {
this.registerRetry(err);
});
}
Please help me with why it happens such an issue.
The text was updated successfully, but these errors were encountered:
I am setting up AppBridge in my app. But it is not receiving a response when calling the register function of AppBridge. In other words, windowName is null.
register(): void {
this.registrationAttempts++;
this.bridge.register(this.appBridgeConfig).then((windowName: string) => {
// Custom actions open inside of a new bowling alley tab, and we must register for the new window object
// Keep retrying to register until we receive the full window registration. Otherwise, ignore it.
this.registered = !this.requiresWindowObject || windowName != null;
if (this.registered) {
this.onRegistered.emit(true);
} else {
this.registerRetry();
}
}, (err: any) => {
this.registerRetry(err);
});
}
Please help me with why it happens such an issue.
The text was updated successfully, but these errors were encountered: