OtaUpdate class

Flutter plugin implementing OTA update On Android it downloads the file (with progress reporting) and triggers app installation intent. On iOS it opens safari with specified ipa url. (not yet functioning)

Constructors

OtaUpdate()

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

cancel() Future<void>
Cancel the currently active ota download if there is one
execute(String url, {Map<String, String> headers = const <String, String>{}, String? androidProviderAuthority, String? destinationFilename, String? sha256checksum}) Stream<OtaEvent>
Execute download and instalation of the plugin. Download progress and all success or error states are publish in stream as OtaEvent
getAbi() Future<String?>
Get most preffered abi platform. Use if you are using split-apk
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