TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Shorebird 1.0, Flutter Code Push

153 pointsby eseidelabout 1 year ago
Hey HN. Eric Seidel here (former lead of Flutter &amp; Dart at Google, prev. YC S06).<p>I founded Flutter and led the team for almost a decade. One of the constant questions we got was would we support code push like the web&#x2F;react native: <a href="https:&#x2F;&#x2F;github.com&#x2F;flutter&#x2F;flutter&#x2F;issues&#x2F;14330">https:&#x2F;&#x2F;github.com&#x2F;flutter&#x2F;flutter&#x2F;issues&#x2F;14330</a> I left Google about a year ago and set out to build a company around Flutter and decided to start with code push.<p>It took us a year to build. We had to build a new toolchain for Dart and a custom interpreter (for store compliance). But it works! Our beta has already been used by thousands of apps. Most (eventually all) of the code is open source on GitHub.<p>I’ll be around all day to answer Flutter and Shorebird questions. We run our company in the public on Discord and are happy to take questions there too. Would love to hear your thoughts.

14 comments

dlachausseabout 1 year ago
Has there been any consideration of possibly spinning the Flutter project out of Google and into a non-profit foundation?<p>I think right now the biggest thing holding Flutter back isn’t technological, but rather the stigma that is attached to Google’s history of abandoning products. I understand that it is in widespread use in important products from Google and other major companies, but nearly every time Flutter comes up both here and on Reddit a significant number of comments are concerns about Google’s long-term commitment.
评论 #39974685 未加载
评论 #39973785 未加载
评论 #39973605 未加载
bartekpaciaabout 1 year ago
This is amazing. Thank you very much for all you&#x27;ve done and are still doing. Flutter changed my life as a developer. I learned so much thanks to its culture of openess &amp; embracing community contributions. I feel like it&#x27;s something unseen in most other open-source projects of this scale - I&#x27;m speaking this as a person that contributes regularly &amp; has been invited to #flutter-hackers a few months ago:)<p>I was at Fluttercon Berlin last year and I remember your talk where you said we need to build for the next 10 million developers who will use Flutter. Many tools that should exist for Flutter still don&#x27;t exist. The fact that you did code push on Android &amp; iOS is a great achievement (code push on desktop should be much easier to implement than iOS and it&#x27;s only a matter of time for you) - but what&#x27;s the next big thing you plan to accomplish at Shorebird?
评论 #39973807 未加载
lwansbroughabout 1 year ago
We have a pretty large (surface area) Flutter app. One of our concerns with Shorebird in evaluating it early on was lack of JIT for iOS. As you mentioned, your custom interpreter solves this problem. But I guess my question is, how well?<p>Do you have performance data for comparison between the interpreted runtime and the official runtime?<p>Edit: found this thread + comment which answered most of my questions. <a href="https:&#x2F;&#x2F;github.com&#x2F;shorebirdtech&#x2F;shorebird&#x2F;issues&#x2F;1871#issuecomment-2040568074">https:&#x2F;&#x2F;github.com&#x2F;shorebirdtech&#x2F;shorebird&#x2F;issues&#x2F;1871#issue...</a>
lxgrabout 1 year ago
How are these &quot;code pushing&quot; technologies holding up when it comes to security?<p>Apps loading and executing additional code at runtime (as opposed to e.g. gating behavior using feature flags fetched from the backend) just doesn&#x27;t sound like a great idea, even if it might technically pass the various app stores&#x27; review guidelines.
评论 #39973956 未加载
maartenhabout 1 year ago
TIL that self-updating mobile apps are a thing. It is quite surprising to me that the app store gatekeepers don&#x27;t force all app changes through their vetting process! Has this always been the case, or is this a new development?
评论 #39974702 未加载
评论 #39974572 未加载
评论 #39976607 未加载
00deadbeefabout 1 year ago
How is this App Store compliant? I’ve heard of people having apps rejected for including Expo’s OTA update feature.
评论 #39975422 未加载
mixmastamykabout 1 year ago
I had to read the github ticket to find out what &quot;code push&quot; actually meant, as it is quite the generic term. Makes me think of git.<p>Turns out it means, &quot;out-of-store updates,&quot; a description which I immediately understood. I&#x27;d lead with that.
评论 #39974705 未加载
edelansabout 1 year ago
Hi Eric, congrats for the launch!<p>I&#x27;m curious, do you recommend any E2E test framework for Flutter? The idea behind hot pushing is releasing more often, for which you become more confident if you have some testing involved.<p>I&#x27;ll make a shameless plug for my product (you don&#x27;t get an opportunity to reach out to the Flutter founder every day!). I waited till the page was out of the front page to avoid looking like I was riding your show hn.<p>We claim we have the best support for writing and running end-to-end tests for mobile apps, and Waldo stands out in terms of compatibility with hybrid frameworks like RN or Flutter (where Appium support is poor). How can you tap on a button if your test framework doesn&#x27;t &quot;see&quot; it?<p>We are releasing a new offer to run local test scripts on cloud devices, which has many benefits: <a href="https:&#x2F;&#x2F;dash.readme.com&#x2F;project&#x2F;usewaldo&#x2F;v2.0&#x2F;docs&#x2F;getting-started" rel="nofollow">https:&#x2F;&#x2F;dash.readme.com&#x2F;project&#x2F;usewaldo&#x2F;v2.0&#x2F;docs&#x2F;getting-s...</a> . By any chance, if you want to know more, I&#x27;d be glad to offer additional credits and even honored to do a personal demo (this holds for all HNers!)! My email is in my profile.
nerder92about 1 year ago
Not a question but a prop, this is truly a great product built by a great team!<p>One day I hope to be able to truly do CD on mobile to avoid the annoying gatekeeping of the app stores, for sure Shorebird is the way!
mfkpabout 1 year ago
Looks cool. Was just about to start a new project with react native, but I might just have to check out flutter again to give this a shot.
wiradikusumaabout 1 year ago
Will this work with state management libraries like Bloc, and libraries that depend on code generation like MobX?<p>And how about adding new (Dart-only) libraries in pubspec?<p>EDIT: Also, flavors.
评论 #39981367 未加载
animeshjainabout 1 year ago
about how much size does shorebird add to the app bundle?
Humphreyabout 1 year ago
Does this still run AOT built code at fully optimised native performance? Your FAQ&#x27;s mention that the App &amp; Play stores allow interpretted code to be downloaded, but not native code. So this reads to me that this solution might be running things closer to JIT debug mode than AOT release mode. Help me understand this please.
评论 #39975121 未加载
pritambarhateabout 1 year ago
This service is straight up lying when it says that Remote Code Push is implemented as per Apple&#x27;s guidelines. Apple expressly prohibits Remote Code Push and if your app is found doing this, it can be banned by Apple.<p>Here is the guideline from Apple for the same:<p>2.5.2: Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code which introduces or changes features or functionality of the app, including other apps. Educational apps designed to teach, develop, or allow students to test executable code may, in limited circumstances, download code provided that such code is not used for other purposes. Such apps must make the source code provided by the app completely viewable and editable by the user.<p>Ref: <a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;app-store&#x2F;review&#x2F;guidelines&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;app-store&#x2F;review&#x2F;guidelines&#x2F;</a>
评论 #39976508 未加载