With the MicroAppSDK, MicroApps can interact consistently with the host app within the ANDP Mobile App—e.g., navigating, displaying messages, sharing data, and presenting errors consistently. This ensures a seamless user experience, even when multiple MicroApps are in use.

MicroApps can guide users specifically to app screens and back again—without disrupting the usage flow.

Example: * "A service is selected in the MicroApp → the app automatically opens the detail view." * "After saving, the 'Back' button returns the user to the overview."

User Context & Login

MicroApps can access the currently logged-in user context (e.g., Name/E-Mail) and trigger a logout if necessary.

Example: * "The MicroApp personalizes the view: 'Hello, Max Mustermann'." * "In case of security policy violations, the MicroApp can trigger a logout."

Multilingualism (i18n)

Texts can be translated centrally. This ensures that labels, dialogs, and error texts appear consistently in the app’s language.

Example: * "Button shows depending on language: 'Save' / 'Speichern' / 'Enregistrer'."

Alerts & Confirmations

MicroApps can display notifications and confirmation dialogs—either as native system dialogs or in a custom design.

Example: * "Dialog: 'Save changes?' → OK / Cancel" * "Custom dialog in corporate look incl. additional text and icon."

Toast Messages (Short Feedback)

For quick feedback in daily use: Success, Info, Warning, or Error—subtle and without blocking the flow.

Example: * "After saving, a brief message appears: '✅ Successfully saved'." * "In case of connection issues: '⚠️ No connection – please try again'."

Error Handling & Error Screens

Errors can be handled centrally and displayed consistently—including customer-specific error screens per error type.

Example: * "For permission errors: dedicated screen 'Access denied' with recommended action." * "Fallback: Standard error page with an OK button."

Shared Functions

Recurring actions can be provided centrally and reused by MicroApps—ideal for standard workflows.

Example: * "MicroApp A triggers 'Refresh' → App updates badges/lists in MicroApp B as well." * "A central 'OpenSupport' function is available to multiple MicroApps."

Shared Props (Shared Data)

MicroApps can share information without workarounds—e.g., filters, status, or temporary parameters.

Example: * "MicroApp sets filter 'Open tickets only' → another view automatically adopts the filter." * "A temporary value is removed after completion."

Configuration & Operation Mode

MicroApps can access central configurations (e.g., Feature Flags). Optionally, notification updates can be triggered.

Example: * "Feature 'New Overview' is activated via configuration." * "After reading a message, badges/notifications are updated."


Note

The concrete available functions and UI variants (e.g., "custom" Dialogs/Toasts) depend on your ANDP configuration and the MicroApps activated in your app.