Comments (7)
I've made some first experiments with Cordova and managed to run simple KVision app on the android emulator and on my own xperia phone over usb. It's not even very difficult if you have all the required tools installed (cordova, android studio and gradle). The development process is not as nice as I'm used to (no HMR, not even hot-reload at the moment), but it works.
It will be a much bigger challenge to create kvision-cordova module with complete API bindings. I'll probably prepare a skeleton of this module and create some very basic core components. And next it will be possible to implement bindings for core cordova plugins step by step.
Unfortunately I do not have any Mac machine, so someone else will have to try testing iOS integration.
from kvision.
I've finished implementing api for all core cordova plugins (device, battery, screen orientation, vibration, camera, file, geolocation, dialogs, inappbrowser, statusbar, splashscreen, network information, media and media capture). I have wrapped most of the orignal, callback-based api into simple suspending functions, so it seems very easy to use, although I've tried to closely follow Cordova's usage patterns (which are not very consistent in my opinion), so the standard Cordova documentation should give enough knowledge to work with KVision.
I've only tested the Android platform, but I've finally managed to get quite nice development experience with the Android emulator. Webpack HMR is working, hot-reload is just as fast as with the browser and Chrome DevTools allow to fully debug the application.
The module will be available in the coming release. Next I'll publish template-cordova example (with some basic api usage) and start writing new chapter for the guide.
from kvision.
There are thousands of Cordova external plugins, and surely it's impossible to create bindings for all of them. But we can choose at least a few - the most used and useful - and create new KVision modules for them, too.
from kvision.
I've published template-cordova project in kvision-examples repository. I'll try to update the guide soon. In the meantime, if somebody have any questions about cordova module, please ask here.
from kvision.
I've updated the guide with the new chapter about Cordova. It probably could be better, more precise and comprehensive, but along with the template-cordova example and the official cordova docs it should give enough info to get started.
from kvision.
Sounds good, once we have a basic skeleton for Android, I can do some testing on my local Mac machine.
from kvision.
I wonder if we can get the same sort of development experience with AppCode for iOS, I will have the opportunity to test it for our mobile app soon. Yes, there are many, I guess something like a wrapper for a database plugin would be useful, something like SQLite or KStitch where the latter would actually need a plugin developed.
I've also heard there are some problems with the keyboard on cordova so something like Ionic Keyboard would be fundamental too.
from kvision.
Related Issues (20)
- Wrong module in kvision.gitbook.io. HOT 1
- trying to generate .pot files HOT 12
- overrides of `SimplePanel.AddAll` call refresh outside of a `singleRender` wrapper. HOT 1
- Allow KVService to have arguments with GET HOT 6
- Allow modifying response headers for Spring Boot and Micronaut apps HOT 1
- remove id parameter on get requests HOT 1
- Can't get data from Tabulator.RowComponent HOT 2
- Expandable/collapsible fieldset or panel HOT 2
- How to attch files using the Richtext Component HOT 7
- duplicated different word in kvision docs HOT 1
- did you consider to integrate kvision with ktor client? HOT 5
- can't make tabulator selectable with kvision v7.4.4 HOT 2
- My tabulator not selecting data HOT 5
- How to add more than one bottomCalc rows? HOT 2
- kvision gradle plugin not works well with Spring-Web-Flux HOT 4
- DropDown - call method instead of loading a route HOT 2
- Page loader how to. HOT 4
- Gantt and Calendar view of tasks HOT 7
- Issue integrating react-big-schedule HOT 3
- Make Alert Button Text Customizable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kvision.