





















































MobilePro #163: Google I/O 2025, Latest Updates in Flutter and Android 16, and more…
Hi ,
Welcome to the very first edition of MobilePro for 2025! We’ve been away for some time, but we're back with vigor and fresh new insights. We are here to deliver all recent happenings from the world of mobile development straight to your inbox. This edition features a roundup of top mobile dev news, including details on the upcoming Google I/O, Apple Intelligence finally supporting new languages, and discussions around UI development in Flutter. We also have a new Developer Tip section to enhance your workflow and a Did You Know? section, because how else can you plan for the future without knowing your past?
Let’s dive in!
P.S.: If you have any suggestions or feedback, or would like us to feature your project on a particular subject, please write to us. Just respond to this email!
If there’s any major news in the world of mobile app dev in the last week, MobilePro has you covered.
What are mobile app developers discussing? Do you have any concerns, advice, or tutorials to share? MobilePro brings them to you all in one place.
MobilePro presents the latest titles from Packt that ought to be useful for mobile developers.
Home screen widgets for iOS are a very recent development with iOS 14, and now with iOS 18, third-party apps are allowed access to widgets on the home screen as well as in the control center. Avi Tsadok in Mastering iOS 18 Development elaborates on how to make full use of this newfound freedom to make your app’s presence felt on the home screen. What follows is an excerpt on how to add your widget to the control center using WidgetKit:
Similar to how we create a widget by conforming to the Widget protocol, we need to conform to the ControlWidget protocol to create a control widget. For example, imagine we have an app that helps us control smart home accessories, and we want to create a widget that opens and closes our home’s main door. Let’s start by creating a simple control widget called MaindoorControl:
struct MaindoorControl: ControlWidget {
var body: some ControlWidgetConfiguration {
StaticControlConfiguration(
kind: "com.avitsadok.MaindoorControl"
) {
// rest of the widget goes here
}
}
}
In this code example, the MaindoorControl widget contains the body variable from the time of ControlWidgetConfiguration. In this case, we return an instance of the StaticControlConfiguration type, which means we don’t give the user the ability to configure it. However, similar to the home screen widget, we can also add a user-configurable control widget by returning AppIntentControlConfiguration.
We can add two control widget controls – a toggle and a button. In the case of controlling our home’s main door state, we need to add a toggle. Let’s modify our code and add a ControlWidgetToggle instance:
struct MaindoorControl: ControlWidget {
var body: some ControlWidgetConfiguration {
StaticControlConfiguration(
kind: "com.avitsadok.MaindoorControl"
) {
ControlWidgetToggle(
"Main door control",
isOn: HouseManager.shared.isOpen,
action: MaindoorIntent()
) { isOn in
Label(isOn ? "Opened" : "Closed",
systemImage: isOn ?
"door.left.hand.open" :
"door.left.hand.closed")
}
}
}
}
In this code example, we add the ControlWidgetToggle, containing the following parameters:
The widget instance is straightforward. Let’s see how it looks in our control center:
***
You can read Avi Tsadok’s further thoughts and work in Mastering iOS 18 Development.
“Avoid the golden hammer. There is no one way to do something and learn early on to formulate your options, pros and cons, and pick the one that works for that situation. Also avoid cultures that enforce this “one way to do something”.” — Melvyn Sopacua
Sourced from Medium.
In case you have any tips to share with your fellow mobile developers, do reply to this mail and we’d be glad to feature you in a future edition of MobilePro.
According to Sensor Tower's Mobile App Market Forecast 2030, consumers are projected to spend over $2.2 trillion on apps between 2021 and 2030, with annual spending reaching $288 billion by 2030. Additionally, nearly 2.9 trillion new apps and games are expected to be downloaded during this period, reflecting a 123% increase from the previous decade. Total time spent on mobile devices is anticipated to surpass 58 trillion hours over the decade. Check out Sensor Tower’s complete forecast.
👋 And that’s a wrap. We hope you enjoyed this new and improved MobilePro. If you have any suggestions and feedback, or would just like to say hi to us—maybe you reacted joyously to our lovely new banner!—please write to us. Just respond to this email!
Cheers,
Runcil Rebello,
Editor-in-Chief, MobilePro