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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1,167 Commits

Repository files navigation

Ark Mobile

Image

A Wallet for Everyone

Build Status Codecov Latest Version License: MIT

Warning The ARK Mobile Wallet is no longer supported. Please use the new ARKVault wallet instead: https://app.arkvault.io

ARK鈥檚 mobile wallet is a hybrid application (using the same codebase for Android and iOS which helps with coordinated development).

Download

Installation

Node Setup

Download and install Node.js.

Then follow the steps below:

npm install -g @ionic/cli cordova
npm install -g cordova-res native-run
npm install
ionic cordova prepare

iOS Setup

Download and install Xcode.

Then make sure the command-line tools are selected for use:

xcode-select --install

And you need to install some utilities:

npm install -g ios-sim
npm install -g ios-deploy

Android Setup

Download and install:

Then install Android SDK (API 28) on Android Studio and configure the environment variables (ANDROID_SDK_ROOT).

Usage

Debug in device:

npm run debug:ios
npm run debug:android

Debug in browser (without Cordova plugins):

npm start

Build

Run the command to create a build for the specific platform:

npm run build:ios
npm run build:android

iOS Deploy

  • Download the Development and Distribution certificates in Apple's member center
  • Open Xcode and import the workspace file in /platforms/ios
  • Check the Signing and Capabilities tab to ensure that the Provisioning Profile is set correctly
  • Go to Product > Archive in menu.
  • Proceed in Distribute App wizard.
  • App Store Connect > Upload. Then it will be listed on iTunes Connect
  • App Store Connect > Export to create the .ipa file

Android Deploy

  • Open the output directory cd platforms/android/build/outputs/apk
  • Generate a private key to sign the APK (skip this if you already have one):
keytool -genkey -v -keystore release-key.keystore -alias ark -keyalg RSA -keysize 2048 -validity 10000
  • Sign the unsigned APK:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ./release-key.keystore app-release-unsigned.apk mobile-app
  • Optimize the APK:
zipalign -v 4 app-release-unsigned.apk AppRelease.apk

Testing

npm test

Contributing

Security

If you discover a security vulnerability within this package, please send an e-mail to security@ark.io. All security vulnerabilities will be promptly addressed.

Credits

This project exists thanks to all the people who contribute.

License

MITARK Ecosystem

About

馃摬 Archived, please use ARKVault

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

90 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages