Expert Native Utils
Overview
Enhance your Mendix Mobile apps with powerful JavaScript actions for secure data storage, address book integration, and precise data handling. Unlock native device capabilities seamlessly!
Native Expert Utils provides robust JavaScript actions specifically tailored for Mendix Native Mobile applications. Simplify tasks like securely storing sensitive data, managing contacts effortlessly, generating cryptographic hashes, parsing numeric values, and more. Accelerate development and deliver a seamless native mobile experience.
Documentation
The Native Expert Utils module provides a collection of JavaScript actions specifically designed for Mendix Native Mobile applications. Customers can use these actions to enhance their apps with native device capabilities, improving user experience and app security. Common scenarios include:
-
Securely storing and retrieving sensitive information (e.g., credentials, pins).
-
Easily creating and managing contacts directly in the user's address book.
-
Generating cryptographic hashes (HMAC-SHA256) for secure integrations.
-
Performing precise numeric parsing and formatting.
-
Manipulating and formatting string values, such as padding and transformations.
Features and Limitations
Features:
-
Secure Data Handling: Store, retrieve, and manage sensitive user information securely.
-
Contacts Integration: Seamlessly add contacts to the native address book with predefined labels.
-
Cryptographic Utilities: Generate secure HMAC-SHA256 hashes for authentication and secure data exchange.
-
Precise Numeric Parsing: Safely parse numeric values ensuring accuracy in calculations.
-
String Formatting: Perform convenient string manipulations like padding and conversions.
-
Date-Time Utilities: Get precise timestamps for logging or synchronization purposes.
Limitations:
-
Currently supports Mendix Native Mobile apps only; not suitable for web applications.
-
Label values for contacts must adhere to the provided enumeration (home, work, other) to ensure consistent behavior across platforms.
-
Cryptographic actions rely on underlying native libraries; compatibility is ensured but performance may slightly vary across different devices.
Dependencies
This module utilizes the following external libraries:
-
react-native-keychain: For secure storage of sensitive information.
-
react-native-contacts: To interact with the device's native address book.
-
react-native-hash: To generate cryptographic hashes (HMAC-SHA256).
Ensure these dependencies are available in your Mendix Native Mobile application environment for full functionality.
Frequently Asked Questions
Q: Can I use this module for Mendix Web Applications?
A: No, this module is specifically designed for Mendix Native Mobile apps.
Q: Can I customize contact labels beyond the provided enumerations?
A: While custom labels may work, it's recommended to stick to predefined labels (home, work, other) to ensure consistent behavior across devices.
Q: Does this module support both Android and iOS?
A: Yes, it supports both platforms, ensuring consistent behavior across devices.