shorebird icon indicating copy to clipboard operation
shorebird copied to clipboard

Question: Dart code patch with assets: Dart code update only or full update?

Open kim-woo-sung opened this issue 9 months ago • 3 comments

Hello, I'm using Shorebird very well.

I have a question.

If I patch Dart code and assets simultaneously, will only one of them be reflected?

I understand from the official documentation that assets are a feature still in preparation.

If assets are reflected later, will only the Dart code be reflected when uploaded simultaneously?

kim-woo-sung avatar Mar 24 '25 04:03 kim-woo-sung

i have the same question.

thanhnguyen1121 avatar Mar 24 '25 04:03 thanhnguyen1121

I think i found the answer. Image

thanhnguyen1121 avatar Mar 24 '25 10:03 thanhnguyen1121

Currently running shorebird patch with changed assets, will warn and then ignore the asset changes and only push the Dart changes to your users. https://docs.shorebird.dev/troubleshooting/#i-see-a-your-app-contains-asset-changes-warning-when-running-shorebird-patch

eseidel avatar Mar 24 '25 15:03 eseidel

To close out, currently asset changes require a full update. When we solve https://github.com/shorebirdtech/shorebird/issues/318 that will go away. Thanks.

eseidel avatar Nov 20 '25 19:11 eseidel