-
Notifications
You must be signed in to change notification settings - Fork 167
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
Android App with dApp Connector and in-app dApp Browser #557
base: main
Are you sure you want to change the base?
Conversation
Oh wow, didn't expect such a PR hahaha. I'm gonna check that out! |
@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? |
@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? |
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 |
VID-20220520-WA0001.1.mp4NamiDAppBrowser.1.mp4 |
What? This is nice haha |
9dd4cd2
to
4b947a6
Compare
Created a Nami Wallet Android App with dApp Connector based on Android Intents using Capacitor JS