Sharing Code between Mobile Apps with Angular and NativeScript
summary
Angular + NativeScript + Electron is presented as a workable code‑sharing stack: TypeScript services, pipes and business logic are fully reusable while UI markup and styles stay platform‑specific. Two practical setups appear — multiple projects (fast, duplicates code) and a mono repo (scales, needs a custom build step). Tools and fixes shown include Angular CLI, NativeScript CLI/TNS, an angular‑native seed, a Gulp/gob build that reconstructs native projects, resolving angularfire2 differences via a unified model and a prepareObjectObservable wrapper. A Firebase pet app demo builds and live‑reloads on web and iOS.
AI-written summary · about
chapters (19)
- 0:00Intro
- 7:03Multiple Projects
- 11:04Advanced Angular Seat
- 14:00Challenges
- 16:30User Models
- 20:17Navigation Extensions
- 23:09Different Modules
- 25:09NativeScript CLI Extension
- 27:29Demo
- 33:24Native Plugins
- 37:19Project Structure
- 39:59Search Page
- 40:39Login Page
- 41:14Login Component
- 45:59Implement HTML
- 48:29Implement Navigation
- 52:04List View
- 53:29Goals
- 56:19Questions
related talks
27mSharing Code Between Web and Mobile Native Apps
41mSharing Code between Web and Native Apps with Angular and NativeScript.
36mSharing Code Between Web and Native Apps
22mNativeScript and CodeSharing
49mBuilding mobile apps with Angular2 and NativeScript
52mOne Source to Rule them All
20mBuilding Mobile Apps with Angular and NativeScript
27mFrom Web to Mobile with NativeScript and Angular
