Created
March 5, 2021 14:38
-
-
Save Veenap/bde5e8cb3930343bb8fa6a1db3700ec9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onAttachedToEngine( | |
@NonNull FlutterPluginBinding flutterPluginBinding | |
) { | |
channel = | |
new MethodChannel( | |
flutterPluginBinding.getBinaryMessenger(), | |
"org.rudderstack.dev/battery" | |
); | |
channel.setMethodCallHandler(this); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment