Skip to content
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

docs: FAQ item about how shorebird get the version for a release #271

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/content/docs/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,20 @@

If distributing through stores, please refer to store policies for additional guidelines.

### Why my Shorebird release has a different version the one I specified on my pubspec.yaml?

Shorebird uses the version found in the built artifacts to use as the release version.

By default, Flutter will use the version in the pubspec for the build artifacts, that can be
customized by the developer though, and on that case, the version used to create the Shorebird
release will differ from the one on the `pubspec.yaml`.

On iOS Shorebird will look on the `Info.plist` located at
`build/ios/archive/Runner.xcarchive/Products/Applications/Runner.app/Info.plist` to get the version.

While on Android `bundletool` `dump` command is used on top of the built appbundle to determine the

Check warning on line 469 in src/content/docs/faq.mdx

View workflow job for this annotation

GitHub Actions / spell-check / build

Unknown word (bundletool)

Check warning on line 469 in src/content/docs/faq.mdx

View workflow job for this annotation

GitHub Actions / spell-check / build

Unknown word (appbundle)
version.

## Billing

### How do I upgrade or downgrade my plan?
Expand Down
Loading