Add NativeScript Plugins in an MDK App
Advanced
35 min.
Build and run the Mobile Development Kit client with a non-visual extension functionality for Android and iOS platforms.
You will learn
- How to reference the
NativeScript
Geolocation plugin from a rule - How to add a
NativeScript
plugin to your branded MDK client - How to build a Mobile development kit client for iOS & Android and connect to SAP Mobile application
- How to capture the device’s current location
Prerequisites
- Tutorial: Set Up for the Mobile Development Kit (MDK)
- Tutorial: Build Your Mobile Development Kit Client Using MDK SDK (Steps 1 to 3)
You may clone an existing metadata project from GitHub repository and start directly with step 4 in this tutorial.
To extend the functionality, or customize the look and feel, and behavior of your client app, you can use the existing NativeScript
plugins like nativescript-geolocation, nativescript-nfc etc. , add this to the client and reference it from a rule.
In this tutorial, you will use the existing NativeScript
plugin nativescript-geolocation to capture the device location: latitude & longitude.
