This commit is contained in:
Harsh Bhikadia 2021-04-24 21:38:42 +05:30
parent 004189b425
commit 61ca0ffb41

View file

@ -57,7 +57,7 @@ class ReceiveIntentPlugin : FlutterPlugin, MethodCallHandler, EventChannel.Strea
eventSink?.success(latestIntentMap) eventSink?.success(latestIntentMap)
} }
private fun giveResult(result: Result, resultCode: Int?, data: String?, shouldFinish: Bool?) { private fun giveResult(result: Result, resultCode: Int?, data: String?, shouldFinish: Boolean?) {
if (resultCode != null) { if (resultCode != null) {
if (data == null) { if (data == null) {
activity?.setResult(resultCode) activity?.setResult(resultCode)