tns plugin add nativescript-wear-os
A base layout for Wear OS apps built with NativeScript that automatically handles calculating the inset for circle watch faces. The layout base is an Android ScrollView so when your layout exceeds the screen height, it will scroll by default, removing the need to handle in your layout.
This has no effect on square watches.
|Circle Watch||Square Watch|
WearOS provides the
ConfirmationActivity class to show success, failure, and open on phone confirmations to the user.
- Modify your project's
AndroidManifest.xmlto include the
ConfirmationActivity(see demo app for example):