The NativeScript team provides three complete real-world app implementations. All the apps are deployed to the iOS App Store and Google Play, and all are intended to show how to implement common app scenarios using NativeScript. Also, we have several build-an-app tutorials on our resources page.
By NativeScript Team
The NativeScript code samples application is an application containing 60+ examples of how to solve problems with NativeScript. All of the code is open source.
You can get the source code of the application and start exploring the code there, or you can read the documentation articles associated with each of the examples. The application is also very useful as a NativeScript playground - use the source code as a starting point, then modify to fit your needs.
It is very easy to contribute to the samples and we encourage you to contribute any samples you think that will be useful for other developers. If you need a sample that is missing, please open a new issue so that other member of the community can help you. We welcome contributions to this repository, details available on our contribution guide.
All the samples have automated tests associated with them and you can be sure that they work with the latest NativeScript version.
Currently, the samples are written around the specific APIs, but we will be adding more “complete scenarios” implemented out of the box.
The code is currently Angular 2 based, a non-Angular version is coming soon.
The Groceries sample shows how to incorporate both user management—including a login screen, registration, and password management—as well as an editable list of data for managing a grocery list.
(expect a newsletter every 4-8 weeks)
Ready to try NativeScript? Build your first cross-platform mobile app with our free and open source framework.
If you see an area for improvement or have an idea for a new feature, we'd love to have your help!