Developing for iOS 14 beta

The iOS 14 release, the new version of Apple’s mobile operating system, is coming. As it’s not yet stable, we don’t fully support it yet.

But we have some tips to get you up and running—assuming that you don’t mind being on the leading edge.

Using hot reload

When you run your app for the first time in debug mode, iOS 14 presents a popup dialog asking you to allow local network connections. If you choose Don’t Allow, hot reload won’t work, because it prevents the app from talking to Observatory.

Screenshot of "allow network connections" dialog

Solution: Choose OK to allow local network connections.

Just to be clear: this only happens in debug mode. Your users won’t see this message in release mode. Only the debug version of your app needs to access the local network.

For more information, see Issue 60634.

Launching the app from the home screen

When you install a debug version of your app on a physical iOS 14 device (using flutter run or from Xcode), then disconnect, and then try to open the app from the home screen, it crashes.

Solution: Use flutter run --release (or --profile) if you want to start your app from the home screen.

Once again, the crash only happens in debug mode, and only when opening the app from the home screen on iOS 14. This crash doesn’t happen when using the iOS simulator.

For more information, see Issue 62531.

Conclusion

You might also be interested in the following tracking bugs:

If you experience other bugs or unpolished edges when developing for iOS 14, please file a bug!