This repository is the AfriBit mobile application. The goal is to make a mobile application compatible with Galoy's backend that can be customized and used by any community or organization. It is built with React Native, and runs on both iOS and Android.
The development docs are in DEV.md
If you wish to contribute see CONTRIBUTING.MD
The app currently only builds for x86_64 simulators. Simulators prior to IOS 13.7 are x86_64 by default, however starting with 13.7 they become platform specific. In order to get an x86_64 simulator of a newer IOS version, one must set XCode to open in emulation using Rosetta. To run the project, open GaloyApp.xcworkspace in XCode, choose an x86_64 simulator, and click the play button. This should start the Metro bundler in a new terminal as well as launch the simulator with the app.
First, install the packages using the following command:
yarn install
Second, prepare the assets for the platform of your choice:
yarn android:prepareAssets
Third, build the project into a debug package:
yarn android:buildDebug
Last but not least, run the server with:
yarn start
and wait until it prompts you for the platform of your choice.