/ionic-platform-web-client

Primary LanguageJavaScriptApache License 2.0Apache-2.0

ionic-platform-web-client

A web client that provides interactions with the Ionic platform. Check out our docs for more detailed information.

Installation

Using the latest Ionic CLI:

Run the following commands in terminal:

# first you need to install the web client
$ ionic add ionic-platform-web-client

# now you can register your app with the platform
$ ionic io init

Usage

// If no user has been previously saved, a fresh user object is returned,
// otherwise the last [current] saved user will be returned.
var user = Ionic.User.current();

Head over to our docs when you're ready to integrate services like analytics, push, or deploy.

Get Help

Head over to our gitter.im channel if you require assistance or have any questions about the platform services.

Development

  1. Install Dependencies npm install
  2. Run gulp build