Login to follow
Mobile Install Manager

Mobile Install Manager (ODC)

Stable version 0.1.4 (Compatible with ODC)
Uploaded on 12 Jan by OutSystems Labs
Mobile Install Manager

Mobile Install Manager (ODC)

Documentation
0.1.4

Overview


Manage mobile app updates with ease using the Mobile Install Manager. Control when updates are required or optional, notify users of new versions, and ensure everyone stays on supported releases for a smooth and secure app experience.


Application Composition


Applications & Libraries


Database Model - Mobile Install Manager



Roles



Single MobileInstallManager role provides full application functionality.


Settings


App:Setting

Description

Data Type

Mobile Install Manager:BatchSize

Limit for ODC REST APIs, max is 100

Integer

MobileInstallManager:CipherKey

Cipher key used to store the access token locally. Used for accessing Portfolio API Connector.

Text

Open Id Connector:ClientId

Client Id

Note: Can optionally use the same API Client in each stage (if API client has full range of stage permissions).

Text

Open Id Connector:ClientSecret

Client Secret

Note: Can optionally use the same API Client in each stage (if API client has full range of stage permissions).

Text

Open Id Connector:TenantDomain

Tenant Domain (ex: mytenant.outsystems.dev).

Note: Same URL as when accessing ODC Portal, does not change between stages.


Text


Note: For configuring Open ID Connector, please refer to documentation.


Timers


Timer Name

Description

Schedule

Sync_StageAssets

Synchronizes Mobile Assets

Daily 23:55 UTC


API Client(s)


Can configure one API Client with all the appropriate permissions or one API Client per stage. Need to assign at least Stage > View stage permission for the Portfolio API. Mobile Install Manager Application leverages the ‘deployed-assets’ and ‘environments’ endpoints.


Roll-out plan - Apps to be deployed


App Name

Mobile Install Manager



Post Deploy Configurations


Application

Name

Description

Mobile Install Manager

Settings

Update

  • MobileInstallManager:CipherKey

  • Open Id Connector:ClientId

  • Open Id Connector:ClientSecret

Mobile Install Manager

Timers

Run Sync_StageAssets


How To Consume in Mobile App


  1. Add Service Action ‘ServiceActionLocalVersionCheck’ to your mobile app

  2. Get asset key for your mobile app

    1. Can view the Asset Id/Key in URL on configuration manager or in URL on ODC Portal. The Asset Id/Key is unique across stages and does not change (unlike app name potentially).

    2. Note: Instead of hardcoding/setting, can use JavaScript API to fetch applicationKey.

  3. Configure on Splash screen for your mobile application

  4. Redirect to Update Screen

Note: For example purposes, we are using one screen for require update and update available. For your implementation, you can show/display whatever you would like (ex. could open the app store immediately on update required.)



Future Enhancements

  1. Only supports up to 100 mobile apps. ODC REST APIs have a max value of 100 returned results. Plan on implementing pagination for ODC Rest APIs.

  2. The ODC REST APIs do not expose the application versions. When the new feature is added, will plan on dynamically pulling in the application versions for configuration (ie. no need to manually specify the application version).


Disclaimer

Mobile Install Manager application is only intended for native mobile apps, not PWAs. To test end-to-end, you must generate a mobile app package for iOS or Android and install on your local device.