Can I interop with my mobile platform’s default programming language?

Posted by Andre Scott | Updated on

Yes, Flutter supports calling into the platform, including integrating with Java or Kotlin code on Android, and ObjectiveC or Swift code on iOS. This is enabled via a flexible message passing style where a Flutter app might send and receive messages to the mobile platform using a BasicMessageChannel.

Learn more about accessing platform and third-party services in Flutter with platform channels.

Here is an example project that shows how to use a platform channel to access battery state information on iOS and Android.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers