LinkRunnerNativeBridge class

Native bridge for LinkRunner SDK Handles communication between Flutter and native iOS/Android SDKs

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

capturePayment({required LRCapturePayment capturePayment}) Future<void>
Capture payment
enablePIIHashing({required bool enabled}) Future<void>
Enable or disable PII (Personally Identifiable Information) hashing
getAttributionData() Future<AttributionData?>
Get attribution data from native SDK
init(String token, String? secretKey, String? keyId, bool debug, [String platform = 'FLUTTER', String? packageVersion]) Future<void>
Initialize the native SDK with project token Optionally pass the client SDK platform and version so native Android can be configured before init
isNativeSDKAvailable() Future<bool>
Check if native SDK is available
removePayment({required LRRemovePayment removePayment}) Future<void>
Remove captured payment
setAdditionalData({required Map<String, dynamic> integrationData}) Future<void>
Set additional integration data
setUserData({required LRUserData userData}) Future<void>
Set user data
signup({required LRUserData userData, Map<String, dynamic>? data}) Future<void>
Trigger user signup event
trackEvent({required String eventName, Map<String, dynamic>? eventData}) Future<void>
Track custom event