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

Repository files navigation

Portal Example Mobile App

This is an example mobile app that uses an example backend that displays how you can integrate portal into your mobile app.

Setting up your env file

We have implemented our exchange backend that is hosted at https://portalex-mpc.portalhq.io which you can use to get spun up quickly but we recommend using that as a guide to implement your own backend to be used with portal.

Create your .env file:

# Used by the Portal client
ANDROID_CLIENT_ID="VALUE"
ALCHEMY_API_KEY="VALUE"
IOS_CLIENT_ID="VALUE"

# Used by app-specific code
CUSTODIAN_SERVER_URL="https://portalex-mpc.portalhq.io"

Installation

Ensure you have recieved an npm auth token and created an .npmrc file in the root of this folder

See the docs for more info on setting up your npmrc file

Android

yarn
yarn android

iOS (in development)

yarn
cd ios
pod install
cd ..
yarn ios

About

Example app showing how to use portal in your app

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages