0.5.2 • Published 7 years ago

@akeating-redhat/fh-mobile-core v0.5.2

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

FeedHenry Mobile Core

Core SDK for the FeedHenry Mobile Control Panel. Used to obtain information for services available to an application.

Although FeedHenry Mobile Core is written in TypeScript, compiled JavaScript is published to npm. This means the library can be used in plain JavaScript applications also.

Using the library

import { MobileCore, ServerConfig, ServiceConfig } from 'fh-mobile-core';

const mcpServerConfig = {
  host: 'http://localhost:3001',
  apiKey: 'example-key',
  appID: 'example-app'
};

MobileCore.configure(mcpServerConfig).then((serviceConfig) => {
  const syncConfig = serviceConfig.getConfigFor('fh-sync-server');

  // Initialise your sync client with syncConfig
});

Developing

  • Clone this repository
  • Install dependencies - yarn install
  • Make your change
  • Add tests for your change
  • Test your changes - yarn test
0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago