Demo of app-hybrid
apk in 37K that have a native webview... (in future rhino/nashorn javascript engine may patch...)
basic ok, but in future JsPatch should be applied to extend
Combine with app-hybrid-core, we need to:
- SHELL SCRIPT: auto checkout app-hybrid-core to {$proj}/../../
- API: _demo_get_phone_info() as a demo api call for webview to get the phone info
- SHELL SCRIPT: build/pack/sign the target apk/ipa to build\ base on {$proj}\config.json
我们不是要取代 cordova/crosswalk 这种体量的项目! 我们要的是简单配置、简单代码就能跑起来的 webview/hybrid app!
-
$proj/../../app-hybrid-core/ dependency to hybrid core
-
lib-ios\
-
lib-ios\szu-bdi-hybrid-demo_get_phone_info\ [0%] demo api _demo_get_phone_info for ios
-
lib-android\
-
lib-android\szu.bdi.hybrid.demo_get_phone_info\ [0%] demo api _demo_get_phone_info for android
-
$proj = ./proj-{$os}-demo/ [DONE]
-
$proj/assets/ [50%]
-
$proj/config/ [DONE]
-
$proj/config/config.json [DONE] the config for demo
-
$proj/build-ipa-on-mac.sh the SHELL SCRIPT for build ipa on mac machine
-
$proj/build-apk-on-linux.sh the SHELL SCRIPT for build apk on linux machine
-
$proj/build-apk-on-mac.sh [DONE] the SHELL SCRIPT for build apk on mac machine