Coder Social home page Coder Social logo

baibelapp's Introduction

Overview

Baibel provides Bible Translations and Media to remote users where there may be no wifi or internet service. The app functions completely offline and uses no external API or http requests.

All the data is bundled statically with the app -- .mp3 audio files, and html for reading. Currently this app has only been tested and optimized for Android.

Setup

  1. Make sure you have the react-native CLI installed globally

  2. then cd to the root of the project, and run

npm i
  1. Give that some time to run, and then edit the files at android/... gradle.properties and local.properties
    You have to have the java SDK and JRE all set up correctly.

  2. Now, you can run the following command

react-native run-android

You'll have to address any errors you get here before moving ahead.

Compile Audio and Books

  1. Create a static directory in the root of the project.

  2. Make sure there is an empty directory called raw at android/app/src/main/res

  3. Copy your listen and read files into the static directory made in Step 1. (The structure should resemble below)

Dir

  1. Run the compilation script. node generate-app-data.js. If you have issues running ensure your node version is 12.15.0. This will compile your assets into the proper directories and formats to be consumed by the app.

  2. Next either run the app for development or generate an apk file.

To Generate an APK

  1. Ensure you have latest version of android studio installed.
  2. cd into the android folder.
  3. Run ./gradlew assembleRelease. The APK will exist in the following folder.

APK

baibelapp's People

Contributors

onechrisjones avatar

Stargazers

Math At Grace avatar

Watchers

Robert avatar James Cloos avatar  avatar

baibelapp's Issues

GitHub Action to create apk

I'm not sure familiar with an React Native/Android tooling but you might be able to have GitHub build the apk and even publish a release (on this git repo) via GitHub Actions.

Here are some resources:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.