alephium / mobile-wallet

The official Alephium mobile wallet
Other
5 stars 5 forks source link
hacktoberfest

⚠️ Deprecation warning: This repository has been integrated into the Alephium frontend monorepo and is no longer maintained.

Alephium mobile wallet

The official Alephium mobile wallet.

Development

Install depedencies:

npm i

Install the Development Client app on your Android device (replacement of the Expo Go mobile app).

Start developer tools:

npm start

Launch the Development Client app on your phone and enter the URL you see on your terminal (you can scan the QR code to get the URL).

Creating development build

eas login

Build a development client app (replacement of Expo Go) for local development (useful when installing native modules or upgrading them):

eas build -p android --profile preview

Build a production preview apk for Android:

eas build --profile development --platform android

Debugging

To be able to inspect the DOM tree as well as the Redux state with React Native Debugger while using a development client, you need to shake the phone, tap on "Open React Native dev menu" and select "Debug".

Running on Android with USB debugging

npm run android

If you get an error SDK location not found. make sure the ANDROID_SDK_ROOT env var has the path to the Android SDK. For example, on macOS, you can run the following:

ANDROID_SDK_ROOT=/Users/<USERNAME>/Library/Android/sdk npm run android