Skip to content

Electrode Over The Air Server for hot deployment of React Native and Cordova mobile apps

License

Notifications You must be signed in to change notification settings

datvong-wm/electrode-ota-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electrode OTA Server

The Electrode OTA Server provides a server to allow hot deploy to android and ios React Native™ and Cordova™ apps. The server is API compatible with code-push-cli, the Code Push React Native SDK and the Code Push Cordova SDK.

Upgrade

Version 2 adds partial update support. To do this it requires some alterations to the cassandra database. This will happen automatically, unless the configuration to the electrode-ota-dao-cassandra is configured as

 "electrode-ota-server-dao-cassandra": {
                "options": {
                    ...
                    "disableTTYConfirmation": false,
                    //this is alter by default.
                    "migration: 'safe',
                }
            }
 }

Make sure to backup your data, while not known to cause data loss, it is possible.

OTA: Overview

##Installation For configuration instructions visit the electrode.io

 npm i electrode-ota-server

Upload Size

To increase the max upload size, add this to your configuration:

"electrode-ota-server-routes-apps" : {
            options : {
                payload : {
                    maxBytes : 94371840
                }                
            }
        }

Apache-2.0 © WalmartLabs
Built with ❤️ by Team Electrode @WalmartLabs.

About

Electrode Over The Air Server for hot deployment of React Native and Cordova mobile apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.8%
  • CSS 1.3%
  • Other 0.9%