Skip to content
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 flutter web crash #297

Closed
Tracked by #298
ethan-tbd opened this issue Sep 9, 2024 · 4 comments
Closed
Tracked by #298

Fix flutter web crash #297

ethan-tbd opened this issue Sep 9, 2024 · 4 comments

Comments

@ethan-tbd
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

@ethan-tbd
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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants