Warning: the development is currently in alpha stage.
NearIT Cordova SDK
Cordova plugin for NearIT SDK
NearIT allows to engage app users by sending context-aware targeted content.
Recipes
NearIT allows to manage apps by defining "recipes". Those are simple rules made of 3 ingredients:
- WHO: define the target users
- WHAT: define what action NearIT should do
- TRIGGER: define when the action should be triggered
How it works
NearIT web interface allows you to configure all the features quickly.
Once the settings are configured, everyone - even people without technical skills - can manage context-aware mobile content.
NearIT SDK synchronizes with servers and behaves accordingly to the settings and the recipes. Any content will be delivered at the right time, you just need to handle its presentation.
Installation
Minimum Requirements:
- Cordova: 6.0.0
- Android Min SDK: 15
- iOS Min Platform: iOS 9
To start using the SDK, add this plugin to your Cordova project
$ cordova plugin add https://github.com/nearit/Cordova-SDK.git
Set the API token inside your project config.xml
<preference name="nearit-api-key" value="Your.Api.Key" />
You can find the API key on NearIT web interface, under the "SDK Integration" section.
A new nearit
object will be added to the global scope (as window.nearit
)
nearit.<someMethod>()
Integration guide
For information on how to integrate all NearIT features in your app, visit the documentation website