December 2017
Beginner
372 pages
10h 32m
English
As we mentioned earlier, the best part of using NativeScript to develop a native mobile application with web technologies is that we can reuse the skills and code from JavaScript/TypeScript, Angular, and CSS.
Our Homepage component will be using the Trello service to fetch the Board information on the load. This Trello service will have the same code as we had in the web application.
So, first create a new folder, services, and add a file, trello.service.ts.
We will continue to use Promises as we did in our web application to fetch the data from our board.JSON file. This JSON file will reside under the api/board folder inside the app folder, and have exactly the same content.
Once we have our service code, ...
Read now
Unlock full access