Skip to content

crunchbutton/cockpit-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cockpit Native

Cockpit Native built using Cordova and a dynamic updater. The app itself contacts the server to check version, and downloads a bundle of updated resources if it is updated. It uses Ionic only for resource generation.

There are Cockpit versions in both iOS and Android stores.

This repository is mostly for educational purposes. Though the complete source of this app works just fine!


Install

npm install -g cordova ionic
cordova platform add ios
cordova platform add android
ionic resources

Release

For iOS, use xcode for your releases. For Android, you can use the release_android.sh script. You will need to create an android keystore in the cert directory.

./release_android.sh

Notes

Note that newer versions of Cordova require cocoapods installed. There is a pod required for the push plugin which will error out if you do not have cocoapods properly configured.