With Firebase Summit
looming on the horizon, I am working on a bunch of things that you will be able to see during the keynote and in the pathways that we’re publishing in the weeks ahead of the event.
One of those things is a sample app for iOS and watchOS. I don’t want to spill all the beans here - you’ll have to see for yourselves - but the app makes use of a backend that is entirely driven by Firebase and Firebase Extensions. The client app(s) communicate with the backend via Cloud Firestore, which gives us the nice benefit of a near-realtime synchronisation. So when you make a change in one of the apps (say, on the iPhone), this will be reflected on your iPad almost instantly.
Building the frontend for iOS, iPadOS, watchOS, and macOS was really straight forward, since we were able to reuse all of the existing backend functionality. And thanks to the the Firestore property wrapper
we recently added (thanks, Flo
!), we can reduce the amount of code you have to write even more.
If you’re interested in a blog or video series that walks you through the building this app, let me know