FeedHenry Mobile Core
Core SDK for the FeedHenry Mobile Control Panel. Used to obtain information
for services available to an application.
Using
import { MobileCore, ServerConfig, ServiceConfig } from 'fh-mobile-core';
const mcpServerConfig: ServerConfig = {
host: 'http://localhost:3001',
apiKey: 'example-key',
appID: 'example-app'
};
MobileCore.configure(mcpServerConfig).then((serviceConfig: ServiceConfig) => {
const syncConfig = serviceConfig.getConfigFor('fh-sync-server');
});
Developing
- Clone this repository
- Install dependencies -
yarn install
- Make your change
- Add tests for your change
- Test your changes -
yarn test