Sharing Code between Web and Native Apps with Angular and NativeScript.
summary
Claims that one codebase can yield web and native apps using Angular + NativeScript, shows a mono-repo with dual HTML files and a gulp/npm build that recreates a NativeScript project via npm run ios/android build pipeline. Demonstrates a PetBrowse app wired to Firebase, solves API mismatches with a Firebase abstraction converting listeners to Observables and unified user model, and documents practical limits: separate UI modules, platform-specific templates, and occasional demo flakiness that still results in working web and native builds.
AI-written summary · about
chapters (12)
- 0:00Intro
- 0:30Story
- 5:00Key differences
- 6:33Solutions
- 9:49MonoRepo
- 11:56Challenges
- 13:41User Models
- 18:54Scrolling
- 20:59Demo
- 25:28Native App
- 27:28Patterns
- 32:28Lazy Load
related talks
27mSharing Code Between Web and Mobile Native Apps
01h 09mSharing Code between Mobile Apps with Angular and NativeScript
36mSharing Code Between Web and Native Apps
52mOne Source to Rule them All
25mOne Source to Rule them All
49mBuilding mobile apps with Angular2 and NativeScript
31mFrom web to mobile with NativeScript and Angular
27mFrom Web to Mobile with NativeScript and Angular
