Native Android
Portal provides MPC wallets and dApp connections for organizations and their users. To integrate Portal, an organization adds a client library to their mobile app and a few server API endpoints.
Installation
In Android Studio, create a new Module within your project.
Name this module
portal-android
Paste the contents of the
portal-android
directory in theportal-android
Github repoUpdate the dependencies in your
build.gradle
to include the:portal-android
dependency
Access
Reach out to Portal to get added to our private repo.
Initializing Portal
After you update your build.gradle
file, you must sync gradle and you're ready to import Portal into an Activity of your choice.
With the Portal Android
dependency now installed, we can now create an instance of the Portal
class. Below is an example of how you can do this. In this example, we're using your app's MainActivity
.
Now that we have our Portal instance, the next step is to generate a wallet. Let's create one!
Last updated