Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

[WIP] Cordova app support #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[WIP] Cordova app support #13

wants to merge 1 commit into from

Conversation

ghys
Copy link
Member

@ghys ghys commented Apr 13, 2018

Add the Quasar cordova mode.

Add support for a baseUrl and credentials and a form
to "login" to openHAB when the connection is not
configured (or down).

Signed-off-by: Yannick Schaus [email protected]

Add the Quasar cordova mode.

Add support for a baseUrl and credentials and a form
to "login" to openHAB when the connection is not
configured (or down).

Signed-off-by: Yannick Schaus <[email protected]>
@ghys
Copy link
Member Author

ghys commented Apr 13, 2018

Demo (for iOS, Android works similarly):

2018-04-13_22-46-19

I don't have an Apple developer account so I can't provide binaries to test, here are some notes on how to build it for yourself:

  • Install node (for instance with homebrew): brew install node
  • Fetch this branch
    • git clone https://github.com/ghys/habot
    • cd habot
    • git checkout -tb cordova
    • git fetch
  • cd web
  • Install vue-cli and quasar-cli globally: npm install -g vue-cli quasar-cli
  • Install dependencies: npm install
  • mkdir src-cordova/www (temporary)
  • Run the build: quasar build -m cordova -t ios -T ios
  • If it went well, you'll have an Xcode workspace and project in src-cordova/platforms/ios
  • Follow these instructions to deploy the app on your own device: https://stackoverflow.com/questions/43932076/how-to-build-app-on-iphone-physical-device-without-developer-account

@ghys ghys force-pushed the master branch 2 times, most recently from d5a24bd to c3de12d Compare June 13, 2018 20:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant