Hybrid Mobile Actions
Last modified: June 25, 2024
This module is deprecated. Mendix recommends building a native or progressive web app instead. For more information, see Introduction to Mobile Technologies.
1 Introduction
The Hybrid Mobile Actions module contains the following nanoflow actions that can be used for hybrid mobile applications:
Category | Action |
---|---|
Authentication | Is biometric authentication supported |
Biometric authentication | |
Calendar | Open calendar |
Save calendar event | |
Camera | Take picture |
Scan barcode | |
Clipboard | Get clipboard content |
Set clipboard content | |
Contacts | Save contact |
Search contacts | |
Select contact | |
Mobile | Get device info |
Vibrate | |
Network | Is connected |
Is cellular connection | |
Is Wi-Fi connection |
2 Dependencies
The actions above are dependent on Cordova plugins. Most dependencies are already provided in the standard template. When building your hybrid mobile app, make sure you add and enable the dependencies by first enabling in Permissions by selecting the following:
- Calendar
- Camera
- Photo Library
- Contacts
Next, add the following snippet to the custom Cordova configuration:
|
|
Note that the standard config.xml template already includes cordova-plugin-contacts
, but due to a permission structure change for Android 9 that causes a crash on saving, it has to be replaced by the following snippet:
|
|
Please note that the above plugins are not available in the in standard Mendix Developer App and can only be tested with a custom-built mobile app.