The React Native frontend for the LBRY mobile app
Find a file
Akinwale Ariwodola 1df7e617eb create reposts
2020-03-20 10:26:42 +01:00
__tests__ New build (#125) 2020-02-27 09:05:00 +01:00
android@e9c8f9432f create reposts 2020-03-20 10:26:42 +01:00
ios New build (#125) 2020-02-27 09:05:00 +01:00
src create reposts 2020-03-20 10:26:42 +01:00
.babelrc upgrade to React Native 0.59.10 2019-07-12 15:53:46 +01:00
.eslintrc.json Navigate to the last visited route (#112) 2020-01-20 21:40:17 +01:00
.gitignore New build (#125) 2020-02-27 09:05:00 +01:00
.gitlab-ci.yml add gitlab CI for multi-project pipeline 2020-03-20 08:36:04 +01:00
.gitmodules android folder submodule 2020-03-01 21:27:40 +01:00
.lintstagedrc.json initial commit 2019-07-09 01:54:32 +01:00
.prettierrc.json initial commit 2019-07-09 01:54:32 +01:00
bundle-android.sh Fast lite mode (#129) 2020-03-10 22:08:17 +01:00
bundle.sh initial commit 2019-07-09 01:54:32 +01:00
index.js New build (#125) 2020-02-27 09:05:00 +01:00
lbry-app-strings.json update app strings 2020-01-21 06:47:49 +01:00
LICENSE Update LICENSE 2020-02-03 04:40:41 +07:00
package.json lbry.tv hybrid mode (#132) 2020-03-20 08:25:39 +01:00
reactotron.js hook reactotron into redux. more search page tweaks. 2019-12-29 11:02:11 +01:00
README.md readme: lbrynet-daemon -> LBRY SDK 2020-03-02 16:45:44 +01:00
yarn.lock lbry.tv hybrid mode (#132) 2020-03-20 08:25:39 +01:00

LBRY React Native

pipeline status

A mobile browser and wallet for the LBRY network. This app bundles LBRY SDK as a background service with a UI layer built with React Native.

LBRY Android Screenshot

Installation

The minimum supported Android version is 5.0 Lollipop. There are two ways to install:

  1. Via the Google Play Store. Anyone can join the open beta in order to install the app from the Play Store.
  2. Direct APK install available at http://build.lbry.io/android/latest.apk. You will need to enable installation from third-party sources on your device in order to install from this source.

Usage

The app can be launched by opening LBRY from the device's app drawer or via the shortcut on the home screen if that was created upon installation.

Running from Source

Software Requirements

  • Android Studio
  • WebStorm (or other IDE for editing React Native / JavaScript code)
  • npm
  • yarn

Android Steps

  • Clone the repository using git clone https://github.com/lbryio/lbry-react-native
  • Initialise the submodules.
cd lbry-react-native
git submodule update --init --recursive
  • Install react-native-cli globally using npm install -g react-native-cli.
  • Install the required package modules by running yarn in the cloned repository folder.
  • Download a google-services.json from the Firebase console (https://console.firebase.google.com/) and place it in the android/app folder. Alternatively, use the included sample JSON file.
cp android/app/google-services.sample.json android/app/google-services.json
  • Open Android Studio and click File > Open...
  • Navigate to the cloned repository on your local filesystem and select the android subfolder.
  • Connect your Android device in USB debugging mode, or create an ARM emulator (slower) to run the app.
  • Click Run > Run... and select the corresponding app configuration. Note that it may take a while for the project files to sync before you can run the app
  • In order to edit the React Native / JavaScript files, open the cloned repository folder using WebStorm (or your favourite IDE).

React Native Fast Refresh

In order to enable fast refresh when updating React Native code

  • Connect your Android device in USB debugging mode, or create an ARM emulator
  • Run adb reverse tcp:8081 tcp:8081 (adb can be found in the platform-tools folder of your Android SDK installation)
  • Run yarn start
  • Press r to reload the app.
  • Anytime you make an update to the React Native code, the app should automatically refresh.

Contributing

Contributions to this project are welcome, encouraged, and compensated. For more details, see https://lbry.io/faq/contributing

License

This project is MIT licensed. For the full license, see LICENSE.

Security

We take security seriously. Please contact security@lbry.com regarding any security issues. Our PGP key is here if you need it.

Contact

The primary contact for this project is @akinwale (akinwale@lbry.com)