Skip to content

Commit

Permalink
Add FAQ about dart define support
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanoltman committed Feb 6, 2024
1 parent a7028dd commit 63ce563
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,15 @@ Someone who has your `app_id` can fetch the latest version of your app from
Shorebird servers, but they cannot push updates to your app or access any
other aspect of your Shorebird account.

### Can I use Dart defines with Shorebird?

Yes. The `shorebird` command line tool passes through all Dart defines to the
`flutter` tool. For example,
`shorebird release android -- --dart-define=MY_DEFINE=foo` and
`shorebird release android -- --dart-define-from-file=config.json` will both
work as expected. Because Dart defines are compiled into your app's Dart code,
they can be updated via patches.

### What information is sent to Shorebird servers?

Although Shorebird connects to the network, it does not send any personally
Expand Down

0 comments on commit 63ce563

Please sign in to comment.