Skip to main content

Upload A Public App From Play Store Or Galaxy Store

To Upload the public app (Play Store Or Galaxy Store) application of KnoxConfigure, use the following methods.

Example

import { KnoxInstance } from '@redredgroup/samsungknox-api';

const instance = new KnoxInstance({
region: 'YOUR_KNOX_REGION',
knoxAccessToken: 'YOUR_JWT_TOKEN',
});

const uploadAPublicAppFromPlayStoreOrGalaxyStore = await instance.kcContentManagementApplication.uploadAPublicAppFromPlayStoreOrGalaxyStore({
args: {
name: 'YOUR_APP_NAME',
platform: 'ANDROID',
source: 'GOOGLE_PLAY_STORE',
}, // <- other optional param
});

console.log(uploadAPublicAppFromPlayStoreOrGalaxyStore);

Input parameters:

  • args: Insert parameters for the upload public app from playstore or galaxy store (required) name, platform, source.
  • region: Insert the Knox region. Most of them are EU (case insensitive)
  • knoxAccessToken: Your X-KNOX-APITOKEN.

Output:

  • Responds with the results of the application upload.