Giter Site home page Giter Site logo

productivix / testrnbundleupdate Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.42 MB

tests of private update of RN apps

JavaScript 5.24% Ruby 4.72% Starlark 1.73% Java 45.28% CMake 0.81% C++ 21.06% Shell 1.39% Objective-C 6.93% Objective-C++ 12.83%

testrnbundleupdate's Introduction

testRnBundleUpdate

tests of private update of RN apps

idea coming from the issue : react-native-community/discussions-and-proposals#536

it is a "over the air update" but limited to Android. (for the moment) the aim is : how and what to develop or use that exist to put inside the app and inside an API to do that feature described The limit is : once we have build with a stack (yarn add made and build made) it is only app code on that stack that can be modified with that tool, in fact similar with the dev process but in production with a code added in the code that ask for download and upgrade)


We have to understand how :

  1. generate a JS bundle
  2. (so make a zip of it with app version if no package.json, zip of the app name, ending with a dedicated extention "prp" for ex.
  3. write a process that with fetch the .prp package (easy) through an API (easy) and store it in dowload dir on Android, unzip it
  4. install the JS bundle
  5. restart the app or make it run with the new bundle.


as far as step 1 is concerned : bundle creation : $ npx react-native bundle --entry-file index.js --platform "android" --minify "true" --bundle-output ./.bundle/bundle --sourcemap-output ./.bundle/map --assets-dest ./.bundle/assets will create all the files under ./.bundle of the project


testrnbundleupdate's People

Contributors

productivix avatar

Watchers

 avatar

testrnbundleupdate's Issues

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.