I have a problem implementing the shorebird package.
final shorebirdCodePush = ShorebirdCodePush();
shorebirdCodePush.currentPatchNumber().then((currentPatchVersion) {
_currentPatchVersion = currentPatchVersion;
});
I want to know which is the patch that I have installed in the device, but it always returns a null, when debugging, it sends me the following error:
I/flutter (24419): [ShorebirdCodePush]: Shorebird Engine not available, using no-op implementation.
But, if the patch is downloaded to the device, patch 2 was launched:
C:\Users\victo\Desktop\D2G\New D2G\15\d2g-consumer-ver15\build\app\outputs\flutter-apk> shorebird patch android
β Fetching apps (2.9s)
β Building patch (905.0s)
β Detected release version 2.0.1+68 (2.2s)
β Fetching releases (0.5s)
β Fetching release artifacts (0.4s)
β Fetching aab artifact (0.1s)
β Downloading release artifacts (222.4s)
β Verifying patch can be applied to release (0.3s)
β Creating artifacts (105.8s)
π Ready to publish a new patch!
π± App: ....
π¦ Release Version:
Would you like to continue? (y/N) Yes
β Creating patch (1.0s)
β Uploading artifacts (2.8s)
β Fetching channels (0.1s)
β Promoting patch to stable (0.1s)
β Published Patch 2!