#Patches only?

1 messages · Page 1 of 1 (latest)

glacial apex
#

Hello, can Shorebird be used only for patching the app without releasing it through Shorebird CLI?
I would like to have an option to push hot fixes quickly and without the review process, but I am not sure I want to release all the updates with Shorebird

cedar forum
#

Hey, recently we upgraded flutter version. Now we want to patch an older version which uses flutter 3.13.9 but how do i downgrade shorebird flutter version?

We have no new release made using the latest version.

I tried using

shorebird flutter versions use 3.13.9
Could not find a subcommand named "use" for "shorebird flutter versions".

but got the above error

bitter solstice
cedar forum
#
shorebird patch android ./lib/main_production.dart --flavor production --staging
✓ Fetching apps (2.4s)
✗ Failed to build: You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

../../../../.pub-cache/git/story_view-7d273320a3b772eaf8cbbf17ffacae356924d9d4/lib/widgets/story_image.dart:49:35: Error: The method 'instantiateImageCodec' isn't defined for the class 'PaintingBinding'.
 - 'PaintingBinding' is from 'package:flutter/src/painting/binding.dart' ('../../../../.shorebird/bin/cache/flutter/25bc2b57a159f5b52385c4adb5c80f6ed25ae6d5/packages/flutter/lib/src/painting/binding.dart').
Try correcting the name to the name of an existing method, or defining a method named 'instantiateImageCodec'.
        PaintingBinding.instance!.instantiateImageCodec(imageBytes).then(
                                  ^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception


FAILURE: Build failed with an exception.

* Where:
Script '/Users/urvesh/.shorebird/bin/cache/flutter/25bc2b57a159f5b52385c4adb5c80f6ed25ae6d5/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1442

BUILD FAILED in 25s
Gradle task bundleProductionRelease failed with exit code 1

This tells that it is using new flutter version to create patch

bitter solstice