Official Content

Developing a native mobile Mini App with GeneXus is similar to developing any other application, with the caveat that there are some considerations and limitations to take into account.

Security Issues

For security reasons, each Mini App must be sandboxed in order to prevent one Mini App from accessing the data of another. Therefore, some features available for application development have a particular behavior when executed as Mini Apps.

ClientInformation external object

The Id property of the ClientInformation external object returns a unique identifier for each Mini App.

ClientStorage external object

Each Mini App will have its own internal storage that cannot be shared between Mini Apps and the Super App.

When clearing the cache of a Mini App, either explicitly via API or implicitly with the expiration properties (by time or quantity), all cached information on the device about this Mini App is deleted. ClientStorage is a particular case of this.

If you need to keep this information in successive executions of the Mini App, you should consider the option of storing it server-side.

Design and UX

Design System

Colors defined in the "Application" Class, such as gx-accent-color and gx-action-tint-color, are not taken from the defined Mini App but from the Super App. This is an Android limitation; those colors are taken from the Style of the host application and cannot be changed dynamically.

Language settings

Language settings in Super App and Mini Apps operate independently.

When running the Super App, it adopts the Language set as the preferred one on the Device.

If SetLanguage() is executed at the Super App level, it won't impact the Language with which Mini Apps load; this will remain the default language of the Device. In the event of using SetLanguage() within a Mini App, this change applies only to that specific Mini App.

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant