We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbe64ab commit 98802beCopy full SHA for 98802be
example/.gitignore
@@ -31,7 +31,6 @@
31
/build/
32
33
# Web related
34
-lib/generated_plugin_registrant.dart
35
36
# Exceptions to above rules.
37
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
example/android/app/src/main/kotlin/im/nfc/flutter_nfc_kit/example/MainActivity.kt
@@ -25,6 +25,7 @@ class MainActivity : FlutterActivity() {
25
}
26
27
override fun onNewIntent(intent: Intent) {
28
- intent.getParcelableExtra(NfcAdapter.EXTRA_TAG)?.apply(FlutterNfcKitPlugin::handleTag)
+ val tag: Tag? = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG)
29
+ tag?.apply(FlutterNfcKitPlugin::handleTag)
30
0 commit comments