Here is how you can integrate the in-memory database functionality into your OutSystems Mobile applications:
Download and Install: Download and install the component in your environment like any other.
Manage Dependencies: Reference the component using the Manage Dependencies feature.
Initialize the Database: The component contains a single action, the InitInMemoryDatabase.
We recommend placing the InitInMemoryDatabase action on the OnApplicationReady system event.
?? Why do we need the action? The InitInMemoryDatabase action itself has no internal logic beyond checking if Cordova is defined. It was created solely to provide a necessary reference point, which prevents the component from being mistakenly removed when the "Remove Unused Dependencies" feature is executed.
Important Note on Support: This component was developed by the Native Development Experts team under the OutSystems Professional Services, and as such, it is not officially supported by OutSystems. However, improvements and fixes can be secured by requesting a service through OutSystems Professional Services.
Remember, you must build a new version of your application using MABS and reinstall it on your devices after implementation! Developers can still use the Local Storage feature in Service Studio, as the entities and attributes created there are used to generate the database structure; the component only changes the location where the database resides.