Coder Social home page Coder Social logo

ets-reactnative1 / app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from becauseofprog/app

0.0 0.0 0.0 7.24 MB

πŸ“² The BecauseOfProg mobile application, built using React Native

License: GNU General Public License v3.0

JavaScript 85.80% Ruby 3.62% Objective-C 5.47% Java 4.33% Starlark 0.78%

app's Introduction

App screen

BecauseOfProg's mobile app

The fastest way to read articles from the team


πŸ“₯ Get the app

The app is being automatically compiled with Github Actions, thanks to this project.

Then, the files are being send in SSH to the BecauseOfProg VPS, thanks to this action, and available here : becauseofprog.fr/page/app.

🌈 How it works

This React Native app use the BecauseOfProg API to fetch articles and some content

πŸ’» Development

Prerequisites

  • react-native 0.63.x
  • Android Studio (or Android SDK)

Setup

Fast refresh mode (development mode)
npx npm run android
npx npm run start

or

yarn run android
yarn run start
Build bundle
  • Cli

react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res"

  • Android Studio

    • Build (top menu)
    • Generate (Signed) Bundle/APK
    • Choose Android App Bundle
Build apk
  • Cli

cd android && ./gradlew clean && ./gradlew assembleRelease

  • Android Studio

    • Build (top menu)
    • Generate (Signed) Bundle/APK
    • Choose APK

πŸ‡«πŸ‡· Translate the app

You can add your own language, by editing ./src/components/utils/locales/ (<lang>.js) and ./src/components/utils/i18n.js.

You can also add a round flag icon in ./assets/images/flags/ (a 64x64 png file, please!)

Finally, add the lang in the menu by editing ./src/components/screens/Settings.js :

const langs = [
  [require('../../../assets/images/flags/fr.png'), 'Français', 'fr-FR'],
  [require('../../../assets/images/flags/en.png'), 'Anglais', 'en-GB'],
];

Then, make a pull request <3

πŸ“œ Credits

πŸ” License

GNU GPL v3. See license file

app's People

Contributors

bardiaalavi-2020 avatar dependabot[bot] avatar kernoeb avatar

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.