OnairosCoreManager class

Bridge to native compiled OnairosCore module All sensitive logic is handled in native code (AAR/XCFramework) This Dart code is just a thin wrapper for platform channel calls

Constructors

OnairosCoreManager()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
Check if the core is initialized
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decryptData(String encryptedData, String key) Future<String?>
Decrypt data using native implementation
encryptData(String data, String key) Future<String?>
Encrypt data using native implementation
getApiBaseUrl() Future<String>
Get API base URL from native code
getAuthHeaders() Future<Map<String, String>>
Get authentication headers from native code
getConfig() Future<Map<String, dynamic>>
Get SDK configuration from native code
initialize({String? apiKey, String environment = 'production', bool autoInitWithAdmin = true}) Future<CoreInitResult>
Initialize the SDK via native code All sensitive initialization logic is in the compiled binary
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateApiKey(String apiKey) Future<bool>
Validate API key format using native validation

Operators

operator ==(Object other) bool
The equality operator.
inherited