All Projects → enterlab → cordevicljs

enterlab / cordevicljs

Licence: EPL-1.0 License
CorDeviCLJS - Cordova, Device and ClojureScript. Hybrid mobile app using Cordova with native device bridge, App connecting to backend (included) via websocket. UI based on OnsenUI and Facebook React, based on Enterlab Rente

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to cordevicljs

Onsenui
Mobile app development framework and SDK using HTML5 and JavaScript. Create beautiful and performant cross-platform mobile apps. Based on Web Components, and provides bindings for Angular 1, 2, React and Vue.js.
Stars: ✭ 8,518 (+25712.12%)
Mutual labels:  cordova, onsen-ui
cordova-plugin-apkupdater
This plugin allows your Android app to download and install compressed updates without the Google Play Store.
Stars: ✭ 46 (+39.39%)
Mutual labels:  cordova
cordova-plugin-webserver
A webserver plugin for cordova
Stars: ✭ 101 (+206.06%)
Mutual labels:  cordova
Ionic-ElastiChat-with-Images
Ionic Magic Chat with Angular Elastic, Autolinker.js and more!
Stars: ✭ 66 (+100%)
Mutual labels:  cordova
Mobile.UP
Mobile.UP
Stars: ✭ 13 (-60.61%)
Mutual labels:  cordova
cordova-plugin-document-scanner
cordova plugin for document scan
Stars: ✭ 77 (+133.33%)
Mutual labels:  cordova
v-cupertino
A Vue 3 Wrapper for Cupertino Pane Library
Stars: ✭ 17 (-48.48%)
Mutual labels:  cordova
cordova-plugin-ftp
A cordova plugin to use ftp (client) in web/js for both iOS and Android.
Stars: ✭ 32 (-3.03%)
Mutual labels:  cordova
cordova-plugin-xpay
💰 This is a app payment cordova-plugin, support wechat payment and alipay temporally.
Stars: ✭ 19 (-42.42%)
Mutual labels:  cordova
cordova-ubuntu
[DEPRECATED] Apache Cordova
Stars: ✭ 25 (-24.24%)
Mutual labels:  cordova
system-designer-cordova
System Designer for iOS & Android devices
Stars: ✭ 14 (-57.58%)
Mutual labels:  cordova
native-xr-for-web
Add iOS and Android build with AR capabilities to your website or web-based app.
Stars: ✭ 27 (-18.18%)
Mutual labels:  cordova
qwebchannel-bridge
🌉How to intergrate @qt qwebchannel with @vuejs
Stars: ✭ 17 (-48.48%)
Mutual labels:  hybrid-app
cordova-swift3-plugin-example
Swift 3 Cordova plugin example to support blog post.
Stars: ✭ 23 (-30.3%)
Mutual labels:  cordova
ionic-docker
An ionic image for CI
Stars: ✭ 56 (+69.7%)
Mutual labels:  cordova
bitpocket-mobile-app
Mobile app for accepting bitcoin payments at the point of sale (Bitcoin POS).
Stars: ✭ 26 (-21.21%)
Mutual labels:  cordova
cordova-plugin-dbcopy
Copy SQLite Database from www folder to default app database location
Stars: ✭ 90 (+172.73%)
Mutual labels:  cordova
cordova-plugin-flurryanalytics
Adds support for all that Flurry Analytics flavored goodness to your Cordova based apps
Stars: ✭ 23 (-30.3%)
Mutual labels:  cordova
cordova-plugin-tencent-liteav
A cordova plugin for video playing with Tencent's LiteAV SDK. Support RTMP/HLS/FLV/MP4.
Stars: ✭ 24 (-27.27%)
Mutual labels:  cordova
daftarkaryaku
daftar beragam karyaku . . .
Stars: ✭ 26 (-21.21%)
Mutual labels:  cordova

Usage

Clone, and cd into the cordevicljs folder.

lein figwheel

Wait for figwheel to finish and notify browser of changed files!

Then in another terminal tab:

lein run

Be sure to have the Apache Cordova CLI installed and then in a third tab:

cd resources
cordova platform add browser
cordova platform add ios|android
cordova plugin add cordova-plugin-device
cordova plugin add cordova-plugin-dialogs
cordova plugin add cordova-plugin-splashscreen

If the plugins return 404s, you can try installing directly from git

cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-dialogs.git
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen.git

For older versions of Cordova and the Splashscreen plugin, you sometimes had to remove the splashscreen plugin to test in the browser. This doesn't seem to be the case anymore, although your browser will try to get the splash screen, which it can't. If you don't want to look at it, and only develop in the browser, simply remove it again:

cordova plugin rm cordova-plugin-splashscreen

Now you can test in browser. Still in resources, where config.xml resides, run

cordova run browser

This should show a mobile flat UI native like interface with a slider menu and a JavaScript alert telling you that Native Device bridge is working.

(For some older versions of Cordova on Linux, you had to patch platforms/browser/cordova/run as documented here http://stackoverflow.com/questions/29730482)

Test on device emulators

Then to test in device emulator:

cordova run ios|android

Refer to XCode/Android SDK manuals if this won't work.

If it works you should see the same app as before, but this time with a real native dialog instead of a JavaScript alert.

Test on real device

cordova run ios|android --device

It's that simple! :)

PS: If you get a warning when installing on iOS device about backup to iCloud, you can disable this by following the steps in the second reply here: http://stackoverflow.com/questions/18717339/where-can-i-change-the-backupwebstorage-property-in-my-phonegap-app

Comments & Suggestions

Please don't hesitate to contact us if you have any questions/suggestions etc.!

From Rente to CorDeviCLJS

If you want to know all the steps we've went through to convert Rente to CorDeviCLJS, read cordevicljs-howto.textile (might be converted to Markdown at some point).

Special Thanks goes to

Ourselves - CorDeviCLJS is based on Enterlab Rente, which can be found here: https://github.com/enterlab/rente.

And the people enabling the tech that Rente is based upon (see Special Thanks in the Rente README for further info).

License

Copyright © Enterlab 2015-2019

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Logos/images are strictly Copyright © Enterlab 2015, and can only be used for personal purposes. In other words - replace with your own logos/icons/images for real purpose apps/usages.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].