unlockTileID static method

Future unlockTileID({
  1. required String uuid,
})

Implementation

static Future unlockTileID({required String uuid}) async {
  if (Platform.isAndroid) {
    await _channel.invokeMethod("unlockTileID", [uuid]);
  } else {
    /// We must show our [QuickEntryViewController] anyhow in order to make this work.
    /// This is an accepted workaround at the moment
    showUnlock();
    await Future.delayed(Duration(seconds: 1));
    await _channel.invokeMethod("unlockTileID", [uuid]);
  }
}