
Unlock This Lesson
36
min
publish date
Jun 7, 2022
duration
36
min
Difficulty
Case details
In the talk I will be explaning the How we can communicate to native features of application like Camera, Browser, bluetooth etc. Thus helping us to increase the functionality of our app. Flutter uses a flexible system to call platform-specific API either available on Android in Java or Kotlin code, or in Objective-C or Swift code on iOS. The general idea of accessing the platform-specific code in Flutter is through the messaging protocol. The messages are passed between the client (UI) and Host (Platform) using the common message channel. It means the clients sends a message to the Host by using this message channel. Next, the Host listens on that message channel, receives the message, does the appropriate functionality, and finally returns the result to the client.
Share case: