As for the mobile update, Android 17 Beta 2 is adding a few building blocks for developers. The new tools are privacy-focused, just like the photo picker that limits access to only selected photos.
Google API keys for services like Maps embedded in accessible client-side code could be used to authenticate to the Gemini AI ...
Following the Gemini automation announcement today, Google is detailing how all this works under the hood on Android.