Skip to content

litterbux/cleanapp-mobile

 
 

Repository files navigation

CleanApp

CleanApp.app's mobile app to use the platform on mobile phones.

The software is developed using React Native, so if you encounter any issues because of React Native you can search with that additional information.

The first step to run the software is to setup React Native development setup on your machine. React Native has tutorials for different operating systems and mobile platforms here: https://reactnative.dev/docs/environment-setup

iOS development

Please use an iPhone 12 or better in the simulator as this is the minimum requirement right now.

Installing and Running the app

Clone this repository

Change to the directory that you want to clone the code into.

git clone https://github.com/cleanappio/cleanapp-mobile.git
cd cleanapp-mobile

Available Scripts

npm install or yarn

It will add all the required components for your project to run inside your node_modules.

Install Pods for iOS

npx pod-install

It will install all of pods files required for your project.

Running app in Android or iOS

In the project directory, you can run:

npx react-native run-android or npx react-native run-ios

OR

react-native run-android or react-native run-ios

Runs the app in development mode.
On android emulator or ios simulator. The page will automatically reload if you make changes to the code.
You will see the build errors and lint warnings in the console.

User Guide

You can find detailed instructions on using React Native and many tips in its documentation.

Commands to run the iOS version on Mac

Requirements:

pod --version => >= 1.10.1

yarn -v => >= 1.22.4

node -v => >= v14.0.0

XCode + Simulator installed

Then run in the root directory:

yarn

yarn react-native link

npx pod-install

npx react-native run-ios

Commands to run the Android version on Windows

yarn install --check-files
react-native run-android

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.7%
  • TypeScript 18.8%
  • Objective-C 1.3%
  • Solidity 0.9%
  • Java 0.6%
  • Ruby 0.4%
  • Other 0.3%