Awesome Native Apps with NativeScript and AngularRowdy Rabouw - jfokus 2018 - @rowdyrabouw 92/120 Android Arsenal 4 libraries for Android (Java / Kotlin) Cocoapods 4 libraries for iOS (Objective-C / Swift) Awesome Native Apps with NativeScript and0 码力 | 120 页 | 31.85 MB | 1 年前3
Introducing NativeScriptNativeScript Android example Output: NativeScript iOS example How does this work? NativeScript and JS VMs • NativeScript runs JavaScript on a JavaScript VM • JavaScriptCore on iOS • V8 on Android APIs • V8/JavaScriptCore have C++ callbacks for JS function calls and property accesses. • The NativeScript runtime uses those callbacks to translate JS calls into native calls. • On iOS, you can directly keeps a reference to it. • 4) The NativeScript runtime returns a JS object that proxies the Java Time object. • 5) Control returns to JS where the proxy object gets stored as a local time variable.0 码力 | 47 页 | 3.36 MB | 1 年前3
NativeScript 101Plugin s Plugin s API Wrapper API Wrapper API Wrapper API Wrapper • Plugins created with JS/TypeScript • Angular Support (or not ?) • 100% Day 0 API Access • Everything Runs on UI Thread* • • Plugins created with native code • React Support • API Access via Native Modules • UI Thread vs JS Thread • Angular/Vue/Vanilla vs React • Progress vs Facebook • Apache 2.0 vs BSD+ JavaScript-Driven Open source framework (ASLv2) o Create native mobile apps for iOS & Android o Use web skills o JS, CSS, XML-based markup o Write once, run everywhere o Share 100% code between iOS/Android o Share0 码力 | 90 页 | 40.11 MB | 1 年前3
Resilient Apps with Angular 2=navigator; if ('serviceWorker' in nav) { nav.serviceWorker.register('./service-worker.js') .then(function(reg) { console.log('yey!', reg); }).catch(function(err) { '/sw-test/index.html', '/sw-test/style.css', '/sw-test/app.js' ]); }) ); }); @giorgionatili // #mobiletea Not Blocking Installation #mobiletea Configuring Caches // Import version number importScripts('service-worker-cache-version.js'); // Caches name definition let staticCacheName = `cache-static-v${cacheVersion}`; let imageCacheName 0 码力 | 62 页 | 1.89 MB | 1 年前3
The Power of RxJS In NativeScript + Angularsits on top of JS Ref implementation for TC39 Observable proposal @ladyleet What is ? RxJS Push based primitive in JavaScript Domain specific language that sits on top of JS Ref implementation is ? RxJS Push based primitive in JavaScript Domain specific language that sits on top of JS Ref implementation for TC39 Observable proposal Easy to chain together complex interactions @ladyleet0 码力 | 66 页 | 6.73 MB | 1 年前3
raymond-camden.pdfMake Programming Great Again I'm Ray • I do API stuff for IBM • (Node.js demos with kittens) • @raymondcamden • www.raymondcamden.com Programming GREAT Programming! Programming that makes0 码力 | 48 页 | 36.40 MB | 1 年前3
nativescript tutorial.................................................................................. 1 Verify Node.js ..................................................................................................0 码力 | 106 页 | 2.59 MB | 1 年前3
Introduction to Mobile UI Test Automationnativescript-facebook plugin: www.github.com/NativeScript/nativescript-facebook/blob /master/demo/e2e-tests/tests.js Integration Drawbacks Relies on Appium team for supporting new OS versions BRACE YOURSELVES AUTUMN0 码力 | 41 页 | 4.75 MB | 1 年前3
共 8 条
- 1













