New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: webview usage with electron 22 #2181
Conversation
* Revert ":fire: hotfix release [skip ci]" This reverts commit e0e5bb6. * Revert ":fire: hotfix prerelease [LLD(2.51.0-hotfix.0)]" This reverts commit 252aa67. * Revert ":rocket: entering LLD hotfix mode" This reverts commit 8f708eb. * Revert ":fire: hotfix release [skip ci]" This reverts commit 4ca8f86. * Revert "Update wording" This reverts commit fea165d. * Revert "add energy lt for warning message to be display" This reverts commit 693e44e. * Revert "add more feelimit to tron trc20" This reverts commit 1910b23. * Revert ":fire: hotfix prerelease [LLM(3.12.0)]" This reverts commit de77a92. * Revert ":rocket: entering LLM hotfix mode" This reverts commit 42df4fc.
[support] Manually merge hotfix to main
β¦2122) * Fix start of post onboarding not being called in the right place * changeset
Add blockcerts BCERT token icon
Removed the complex file, verifying the file can be converted to react native, verifying the requirements are present and avoid what is prohibited.
Added the latest requirements and removed what was asked to remove
feat - show DEX quotes on LLD Swap screen
β @Justkant Unfortunately this PR does not comply with the Contributing Conventions and will be closed automatically.Feel free to reopen this PR once you have browsed through the guidelines. Found Issues:
|
π¦ Changeset detectedLatest commit: 66391df The changes in this PR will be included in the next version bump. This PR includes changesets to release 35 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
β @Justkant Unfortunately this PR does not comply with the Contributing Conventions and will be closed automatically.Feel free to reopen this PR once you have browsed through the guidelines. Found Issues:
|
π Description
Description from: #1777
cf. https://ledgerhq.atlassian.net/browse/LIVE-4335?focusedCommentId=247299
In a breaking change in Electron 18 the nativeWindowOpen web preference (used here) have been removed (cf. this PR)
Now, Ledger live does not seem to receive (and handle) new-window events when a live-apps wants to open a new window (regularly used throughout Live Apps to open external contextual info like redirect to Twitter account, open ToS page, etcβ¦)
webview
are deprecated and not formerly integrated / maintained in electron.updating electron broke previous handleding of new window opened from a
webview
use
setWindowOpenHandler
on thewebview
webContents to handle opening new window.cf. electron/electron#31117 (comment)
also, there seem to be issues between
webview
and Reactcf. electron/electron#6046
PS: this solution works as is. It might not be the most beautiful. Feel free to use it as a base version and improve on it if need be.
β Context
ledger-live-mobile
,ledger-live-desktop
β Checklist
πΈ Demo
π Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.