Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Files

Latest commit

fb080fb · Jul 25, 2023

History

History

html5-sdk

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 19, 2019
Jun 19, 2023
Mar 28, 2019
Apr 16, 2019
Jul 25, 2023
Mar 28, 2019
Apr 1, 2019
Apr 22, 2019
Mar 28, 2019
Jul 25, 2023
Jul 25, 2023
Jun 19, 2023
Apr 1, 2019
Sep 3, 2019

Kinvey HTML5 SDK

Installation

From the command prompt go to your app's root folder and execute:

npm i kinvey-html5-sdk@next

or if you would prefer you can just download the latest bundle and include it in your application.

Usage

Initialize SDK

We need to initialize the SDK.

JavaScript with NPM

import * as Kinvey from 'kinvey-html5-sdk';

Kinvey.init({
  appKey: '<yourAppKey>',
  appSecret: '<yourAppSecret>'
});

JavaScript with bundle

window.Kinvey.init({
  appKey: '<yourAppKey>',
  appSecret: '<yourAppSecret>'
});

Angular

Please take a look at our kinvey-angular-sdk.

Build

If you would like to build the SDK yourself, clone the monorepo, then:

  • npm i
  • npm run build

You can then install the SDK build by running npm i /<localpath>/packages/html5-sdk