h1. WHAT: Create a new module that can connect to the aerogear-js-sdk init for enabling and disabling . This module will need to mimic the current services and take in a config file with a url in it to point at the Go mobile-security service , That url will be used to connect to endpoint on the go Mobile-security-service. See implementations at push push implements init by calling the @aerogear/core ConfigurationService at https://github.com/aerogear/aerogear-js-sdk/blob/964a45b0a851720410b68958774ed0f97e7d6785/packages/push/src/PushRegistration.ts#L23 auth Same with auth at https://github.com/aerogear/aerogear-js-sdk/blob/964a45b0a851720410b68958774ed0f97e7d6785/packages/auth/src/Auth.ts#L17
sync and sync is slightly different at but uses a similar pattern https://github.com/aerogear/aerogear-js-sdk/blob/964a45b0a851720410b68958774ed0f97e7d6785/packages/sync/src/config/SyncConfig.ts#L26
h1. WHY New module is required see https://issues.jboss.org/browse/AEROGEAR-8664 |
|