docs: fix method name in readme
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
# 1.1.2
|
||||
|
||||
- update README
|
||||
|
||||
# 1.1.1
|
||||
|
||||
- break: `package:shorebird_code_push/shorebird_code_push_io.dart` and
|
||||
|
||||
@@ -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,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user