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
Describe the bug
I get windowName in null after appBridge.register(). I also have the tab text with "Loading..."
To Reproduce
Steps to reproduce the behavior:
I'm trying to create a new menu item. Already registered it, I can access to it and I am able to see my local page inside the bullhorn app
The tab title for my menu item is with the text "Loading..." and it never changes
The page is showing "This app can only be run inside of Bullhorn as a Custom Menu Item" error because the windowName, after the bridge registation, is in null.
The line "this.bridge.register(this.appBridgeConfig).then((windowName: string) => {" is returning windowName in null. Because of that then the page is not shown because the following validation is not passed:
But if I just add a "this.registered = true" to run the emit(), the validation is baypassed and the page successfully loaded. I just would like to correctly fix it because I think this error is causing the tab label to keep with the text "Loading..."
Expected behavior
The windowName should not come in null, but this is returned by the bridge.register, so I'm not sure why it is null.
The tab text should be the title
Actual behavior
bridge.register is returning windowName in null, in the then clause of the promise
Also encountering the same issue. I notice two problems when registering:
windowName always returns null. This is true even if a windowName property is present in environment.appBridgeConfig. From the relevant code it looks like this should be definable.
_registeredFrames is always empty. Since the array is empty, the expected close() behavior isn't effective.
Describe the bug
I get windowName in null after appBridge.register(). I also have the tab text with "Loading..."
To Reproduce
Steps to reproduce the behavior:
Here I'm at /app/services/appBridge.services.ts, method "register(): void".
But if I just add a "this.registered = true" to run the emit(), the validation is baypassed and the page successfully loaded. I just would like to correctly fix it because I think this error is causing the tab label to keep with the text "Loading..."
Expected behavior
Actual behavior
bridge.register is returning windowName in null, in the then clause of the promise
Specifications
Screenshots
The text was updated successfully, but these errors were encountered: