Tasks sample application
Open source cross-platform Tasks app built with NativeScript.
Use this application to find-out how to implement common mobile scenarios with NativeScript.
Running the sample
-
Make sure you have the NativeScript Command Line Interface installed as well as all the prerequisites for the NativeScript development, described in the installation guide.
-
Clone the repo:
git clone https://github.com/NativeScript/sample-Tasks.git cd sample-Tasks
-
Run the project.
tns run ios|android [--emulator]
The
--emulator
keyword instructs the CLI to load the iOS simulator or an android emulator depending on the platform you want.
Application Scenario
We chose an app that we know will cover a lot of useful scenarios:
-
User management
-
User authentication
-
User registration
-
User welcome email
-
Cloud data
-
read, update, delete and create data entry stored in the cloud
-
Offline support for the data (not in this article, but coming soon)
-
Modern UX
-
Using SideBar
-
Pull to Refresh
-
FAB (floating action button for Android Lollipop)
-
Load on demand for many tasks
-
Device integration
-
using camera
-
using phone contacts
-
Patterns/Technologies used
-
MVVM
-
CSS for styling
-
XML and data-binding for describing the UI
-
Platform specific targeting for the Android FAB button
Please read the series of articles that explain how this application is being implemented - https://www.nativescript.org/blog/nativescript-open-source-sample---tasks