docs: fix method name in readme

This commit is contained in:
Bryan Oltman
2023-10-07 23:41:15 -04:00
parent bb2e0b5c04
commit 3b4b6ebc24
3 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
# 1.1.2
- update README
# 1.1.1
- break: `package:shorebird_code_push/shorebird_code_push_io.dart` and
+2 -2
View File
@@ -37,8 +37,8 @@ import 'package:shorebird_code_push/shorebird_code_push.dart';
// Create an instance of the ShorebirdCodePush class
final shorebirdCodePush = ShorebirdCodePush();
// Get the current patch version, or null if no patch is installed.
final currentPatchversion = shorebirdCodePush.currentPatchVersion();
// Get the current patch number, or null if no patch is installed.
final currentPatchversion = shorebirdCodePush.currentPatchNumber();
// Check whether a patch is available to install.
final isUpdateAvailable = await shorebirdCodePush.isNewPatchAvailableForDownload();
+1 -1
View File
@@ -1,6 +1,6 @@
name: shorebird_code_push
description: Check for and download Shorebird code push updates from your app.
version: 1.1.1
version: 1.1.2
homepage: https://shorebird.dev
repository: https://github.com/shorebirdtech/updater/tree/main/shorebird_code_push