Skip to content

Latest commit

 

History

History
50 lines (44 loc) · 2.44 KB

README.md

File metadata and controls

50 lines (44 loc) · 2.44 KB

AOS

AOS

(Ace of Spades)

A React Native Lemmy client

AOS

WIP! You can try using it, just don't get mad if something doesn't work correctly.


GPL 2.0 License

Get Started

Clone the repo and run the following commands from the root folder

npm install
yarn install
npx expo start

While developing, you may want to edit the default state values in `/screens/Login.js`


Debugging

The below section describes how you can debug the application while it is running. These steps are for Android emulators.

Prerequisites

You will need to install the following:

  • An Android emulator running on your development machine
  • React Dev Tools installed on your machine
    • Run npm install -g react-devtools to install

Steps

  1. Start the expo app with the following command: npx expo start --lan. Once this completes, enter the a to load the Android application. This will start the application running on your local machine with links to run on a separate device. As of the writing of these steps, I have not tested with a remote device, only a locally running Android emulator.
  2. Run the emulator on your local machine in another terminal instance.
  3. In a 3rd terminal instance, run the react tools with the command react-devools. This will open a window that will allow you to search for components and will give information about the state of all the components in your application.
  4. In the first terminal, enter j to open the Javascript debugger. This will allow you to set breakpoints in your code.

Resource Links

Expo Debugging Tools Documentation
React Native Debugging Documentation