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

wasm lib integration using webview #103

Merged

Conversation

YunkevichAndrei
Copy link
Collaborator

No description provided.

@muursh muursh requested review from anyxem and owlsua and removed request for muursh March 12, 2024 12:39
@@ -28,7 +31,8 @@ const BlueAppComponent = () => {

return (
<BlueStorageProvider>
<App />
{wasmInitializationFinished && <App />}
<WasmWebView setWasmInitializationFinished={setWasmInitializationFinished} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check on device that webview is not crashing because of network and non-successful wasm loading is not prevent app from loading. At least btc part have to work

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have checked it on real device with release build.

  • webview is not crashing because of network
  • non-successful wasm loading is not prevent app from loading, since when webview load fails, the onLoadEnd function is also called

@anyxem
Copy link
Contributor

anyxem commented Mar 12, 2024

looks good, just check loaders

@YunkevichAndrei YunkevichAndrei merged commit 2a6257f into feature/ml-wallet-integration Mar 25, 2024
3 checks passed
@YunkevichAndrei YunkevichAndrei deleted the feature/integrate-wasm-lib branch March 25, 2024 09:15
@YunkevichAndrei YunkevichAndrei restored the feature/integrate-wasm-lib branch March 25, 2024 09:21
@YunkevichAndrei YunkevichAndrei deleted the feature/integrate-wasm-lib branch April 3, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants