This Plugin allows you to interact with or a skygear-server backend.
npm i --save nativescript-skygear-sdk
  • Version: 0.0.6
  • GitHub:
  • Downloads:
    • Last Day:   0
    • Last Week:  0
    • Last Month: 0

Nativescript Skygear-Sdk Plugin

This plugin allows you to use your nativescript application with a or skygear-server application.


Install the plugin to your nativescript project.

tns plugin add nativescript-skygear-sdk


To get started import the sdk, put in your app api key and the address to your skygear server

    import { SkygearSdk } from 'nativescript-skygear-sdk';

const config = { apiKey: "plugintest123", address: "localhost:3000" };

const skygearSDK = new SkygearSdk(config);

and then you can use it like this:

    skygearSDK.auth.signupWithEmailPassword("[email protected]", "password")
.then(user => console.log(user))
.catch(error => console.log(error))


The plugin is in 5 separate namespaces.

Module Description
auth handles signup, login, and logout. --password reset coming soon.
chat handles interaction with the skygear chat plugin
cloud handles interaction with skygear cloud functions
db(database) handles interaction with the public and private cloud database
pubsub handles interaction with the skygear pubsub module, --will eventually have support for push notifications.


Apache License Version 2.0, January 2004