revtel / react-native-nfc-manager

React Native NFC module for Android & iOS
MIT License
1.33k stars 317 forks source link

fail to get current activity #640

Closed daheeahn closed 11 months ago

daheeahn commented 1 year ago

When I use NfcManager.getLaunchTagEvent() ,

      try {
        const tag = await NfcManager.getLaunchTagEvent();
      } catch (error) {
        console.log(error)
      }

I get an error below.

fail to get current activity

image I think you caught an error because currentActivity is null. What should I do in this case? Why is this happening?

react-native-nfc-manager version is 3.14.5

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 5 days with no activity.