Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Fix flutter web crash #297

Closed
Tracked by #298
ethanwlee opened this issue Sep 9, 2024 · 4 comments
Closed
Tracked by #298

Fix flutter web crash #297

ethanwlee opened this issue Sep 9, 2024 · 4 comments

Comments

@ethanwlee
Copy link
Contributor

Currently, running didpay using flutter web results in the following error:

Rejecting promise with error: TypeError: Cannot set properties of undefined (setting 'nativeCommunication')

Fix the error by adding the flutter_inappwebview_web package and editing web/index.html (hint: follow the thread here pichillilorenzo/flutter_inappwebview#1468)

@victoreronmosele
Copy link
Contributor

.take

Copy link

github-actions bot commented Oct 2, 2024

Thanks for taking this issue! Let us know if you have any questions!

@victoreronmosele
Copy link
Contributor

victoreronmosele commented Oct 2, 2024

@ethan-tbd, the crash no longer occurs after your recent PR.

The web app now loads without a crash.

Screenshot of the DIDPay app after loading successfully

@ethanwlee
Copy link
Contributor Author

@victoreronmosele you're right, looks like the error detailed in this issue was fixed by updating flutter_inappwebview here. will close out this issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants