GetMetaMap / metamap-flutter-plugin

Flutter plugin for Mati SDK
MIT License
2 stars 8 forks source link

Fix in android native null safety #18

Closed nestorsgarzonc closed 2 years ago

nestorsgarzonc commented 2 years ago

This PR solve this error using flutter 3.0 and some android devices:

/mati_plugin_flutter-2.5.5/android/src/main/kotlin/com/getmati/mati_plugin_flutter/MatiPluginFlutterPlugin.kt: (32, 28): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Intent?
mati_plugin_flutter-2.5.5/android/src/main/kotlin/com/getmati/mati_plugin_flutter/MatiPluginFlutterPlugin.kt: (32, 77): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Intent?