Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

Android App with dApp Connector and in-app dApp Browser#557

Open
vineeth2941 wants to merge 13 commits into
input-output-hk:mainfrom
vineeth2941:app
Open

Android App with dApp Connector and in-app dApp Browser#557
vineeth2941 wants to merge 13 commits into
input-output-hk:mainfrom
vineeth2941:app

Conversation

@vineeth2941

Copy link
Copy Markdown

Created a Nami Wallet Android App with dApp Connector based on Android Intents using Capacitor JS

@alessandrokonrad

Copy link
Copy Markdown
Contributor

Oh wow, didn't expect such a PR hahaha. I'm gonna check that out!

@alessandrokonrad

Copy link
Copy Markdown
Contributor

@vineeth2941 was able to successfully build. How does the communication between the app and the browser work exactly? I see it works with Intents somehow, but how do I call that from the website?

@vineeth2941

Copy link
Copy Markdown
Author

@alessandrokonrad Intents work only for App to App communication, We need to build a dApp browser if it has to be between a website and the wallet app. For testing, you can use this Android-based sample dApp: https://github.com/vineeth2941/nami-client-android

@alessandrokonrad

Copy link
Copy Markdown
Contributor

@alessandrokonrad Intents work only for App to App communication, We need to build a dApp browser if it has to be between a website and the wallet app. For testing, you can use this Android-based sample dApp: https://github.com/vineeth2941/nami-client-android

Does the browser need to be built from scratch or is it possible to embed the exisiting chrome browser?

@vineeth2941

Copy link
Copy Markdown
Author

Most probably we can embed the existing one as webview but some configuration might be needed to wrap the CIP-30 JS API to the Android Intent API

@vineeth2941

Copy link
Copy Markdown
Author

Most probably we can embed the existing one as webview but some configuration might be needed to wrap the CIP-30 JS API to the Android Intent API

Reference Link: https://developer.android.com/guide/webapps/webview#BindingJavaScript

@vineeth2941

vineeth2941 commented May 24, 2022

Copy link
Copy Markdown
Author
VID-20220520-WA0001.1.mp4
NamiDAppBrowser.1.mp4

image
image
image

@vineeth2941 vineeth2941 changed the title Android App with dApp Connector Android App with dApp Connector and in-app dApp Browser Jun 2, 2022
@MartinSchere

Copy link
Copy Markdown

What? This is nice haha

@rhyslbw rhyslbw force-pushed the main branch 5 times, most recently from 9dd4cd2 to 4b947a6 Compare December 19, 2023 03:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants