Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

useNotification doesn't work with OpenFin versions 13.X.X.X or 14.X.X.X #56

Open
ms14981 opened this issue Feb 7, 2020 · 3 comments
Open
Labels
bug Something isn't working

Comments

@ms14981
Copy link
Contributor

ms14981 commented Feb 7, 2020

The cause seems to be that getWebWindow method on the OpenFin API Window sometimes returns undefined.

To test in the demo app, launch it with openfin -v 14.78.47.23 --launch --config ./public/app.dev.json instead of npm run launch. Go to useNotification then click launch.

Links:

Todo: Find a workaround (might be able to use the old v1 methods in fin.desktop in v2 of the OpenFin JS API).

@ms14981 ms14981 added the bug Something isn't working label Feb 7, 2020
@ms14981
Copy link
Contributor Author

ms14981 commented Feb 10, 2020

This MCVE should demonstrate the issue with getWebWindow: https://github.com/ms14981/reproduce-openfin-getWebWindow-bug

@ms14981
Copy link
Contributor Author

ms14981 commented Apr 6, 2020

Latest response from OpenFin:

A fix for this has been merged into canary (15.80.50.21). Will let you know when a stable build is released with this fix.

@ms14981
Copy link
Contributor Author

ms14981 commented Aug 10, 2020

Response from OpenFin on June 1st:

This should be fixed on the last two stable versions 15.80.50.34 and 16.83.50.9

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant