-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Shorebird code push should provide information about releases #140
Comments
What release information are you proposing we provide? Requirements for this feature request might look like:
Does that seem right? |
Yes, that seems pretty much what we would need! In addition, I feel it would be useful if we had a method like |
Easy to implement, we'll have to think about what the best home for this would be. It feels odd to have this as an Updater API, but maybe it's fine?
We'll need to think about what the correct behavior is here. Things that will make this tricky:
|
Not directly related, but reminds me of shorebirdtech/shorebird#1288. We've had several requests to be able to attach metadata to releases, this is about pulling existing metadata from the disk it seems. |
As I understand it, it's a mix – both asking about the current release (data from disk) and other available releases (data from the cloud). |
shorebird_code_push
is the pillar for users to implement any custom behaviour that Shorebird does not provides out of the box.A very common use of it is to manually manage patches, where the developer can suggest users to update to the latest patch, or even block the user from using the app if a certain patch is not installed.
But that is not the same for releases. Since we don't provide any way for developers to get release information programatically.
Developers could rely on
package_info_plus
to get the current version, but that would get them the current version, they cannot know if there newer releases. There are thirdparty plugins that could do that (like this one), but IMO since shorebird contains all that info, it would provide a more robust, with better developer experience solution if we provided a way for developers to have a way to access the release information programmatically as well.The text was updated successfully, but these errors were encountered: