When building mobile web apps, it is important to have lightweight, performant code that gives a great experience to your users no matter what device they might be using. That is where AeroGear.js comes in. This library provides everything from a simple persistence layer to a security API and everything in between.
Downloads and Snippets
Download AeroGear.js v2.1.0
The Diff Sync client and server are based on an implementation of Google's Differential Synchonrization by Neil Fraser.
The DiffSyncClient connects to the AeroGear Sync Server.
The DiffSyncEngine is responsible for the algorithm logic - there are two adapters available: JSON Patch, DiffMatchPatch.
DiffSyncClient API Documentation
DiffSyncEngine API Documentation
The AeroGear.Crypto namespace provides a straightforward API to provide an easy to use cryptography interface for data encryption and decryption. This API is also adopted by Cordova Plugin (where native platform is used for cryptography functions) so that no changes are required between web and hybrid application.
A collection of data connections (stores) and their corresponding data models. This object provides a standard way to interact with client side data no matter the data format or storage mechanism used.
SimplePushClient is a client implementation and polyfill for the Mozilla SimplePush specification. SimplePush allows for simple push notification support in web, as well as Firefox OS, applications. This implementation does differ slightly from the specification in that it only works in applications that are “online” and active in the browser. This implementation also supports connecting to both Mozilla’s SimplePush server as well as the AeroGear project’s server.
UnifiedPushClient is used in conjunction with AeroGear’s UnifiedPush server to register web applications for push notifications. Using the SimplePushClient, a web application can register for push notifications from a SimplePush network and then inform the UnifiedPush server as to where it should send those push notifications.
See the UnifiedPushClient API docs for more info.