Rethinking Dart interoperability with Android



Rethinking Dart interoperability with Android

Rethinking Dart interoperability with Android

In the past, Flutter only supported integration with Android libraries through a message-based approach called platform channels. With a new command using JNI to bridge to Android system APIs, Flutter developers can easily access platform APIs without needing to use a platform channel or plugin. This session will dive deeper into how Dart automatically creates bindings for cross-language interoperation and demo how to call a Jetpack Library directly from Dart in a Flutter app.

Resources:
Java interop → https://goo.gle/3GilmDA
Full sample code → https://goo.gle/3KfwORI
Demo code → https://goo.gle/3KAvp9O
File issues and share feedback → https://goo.gle/3KU4V3a

Speakers: Mariam Hasnany, Hossein Yousefi

Watch more:
Watch all Flutter Sessions → https://goo.gle/IO23_flutter
Watch all the Technical Sessions from Google I/O 2023 → https://goo.gle/IO23_sessions
Watch more Mobile Sessions → https://goo.gle/IO23_mobile
All Google I/O 2023 Sessions → https://goo.gle/IO23_all

Subscribe to Flutter! → https://goo.gle/FlutterYT

#GoogleIO

Comments are closed.