Skip to content

Mobile wallet and payments application for Fantom Opera chain. Deprecated in favour of Fantom-PWA-Wallet.

License

Notifications You must be signed in to change notification settings

Fantom-foundation/fantom-mobile-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fantom Wallet

Introduction

This is the repository for the Fantom Wallet mobile application.

Technology Stack

  • React v16.4.1
  • React-Native v0.56.0
  • Redux v4.0.0
  • react-navigation v2.11.2

Installation

You will need Node.js, Watchman, the React Native command line interface, and Xcode.

Node, Watchman We recommend installing Node and Watchman using Homebrew. Run the following commands in a Terminal after installing Homebrew:

brew install node@10
brew install watchman

The React Native CLI Node.js comes with npm, which lets you install the React Native command line interface.

npm i react-native

Alternatively, you can use yarn:

yarn global add react-native-cli

Setup

npm install
npm run jetify

Alternatively, use yarn:

yarn install
yarn run jetify

iOS SETUP

Xcode

The easiest way to install Xcode is via the Mac App Store. Installing Xcode will also install the iOS Simulator and all the necessary tools to build your iOS app.

run on iOS using command

react-native run-ios

or you can run directly from xcode.

ANDROID SETUP

  1. Download and install Android Studio

Android Studio provides the Android SDK and AVD (emulator) required to run and test your React Native apps.

  • Android Studio requires the Java SE Development Kit(JDK), version 8. You can type javac -version in a terminal to see what version you have, if any.
$ javac -version
javac 1.8.0_111
  • The version string 1.8.x_xxx corresponds to JDK 8.
  1. Install the AVD and HAXM

Choose Custom installation when running Android Studio for the first time. Make sure the boxes next to all of the following are checked:

> Android SDK
> Android SDK Platform
> Performance (Intel ® HAXM)
> Android Virtual Device
> Then, click "Next" to install all of these components.
  • If you've already installed Android Studio before, you can still install HAXM without performing a custom installation.
  1. Install the Android 6.0 (Marshmallow) SDK

Android Studio installs the most recent Android SDK by default. React Native, however, requires the Android 6.0 (Marshmallow) SDK. To install it, launch the SDK Manager, click on "Configure" in the "Welcome to Android Studio" screen.

For more detail visit: https://facebook.github.io/react-native/docs/getting-started

  1. run using command
react-native run-android

Running on Device

To run the app on device, please follow instructions here