joeldiaz2302 / react-native-rfid-nfc

This project has the goal of making it easy (or easier) to scan NFC tags and read the NDEF records they contain.
MIT License
27 stars 17 forks source link

fix NullPointerException function getCurrentActivity() #5

Open cuongnv40 opened 3 years ago

cuongnv40 commented 3 years ago

Replace function getCurrentActivity by function getActivity() in line : setupForegroundDispatch(getCurrentActivity(), adapter) then catch activity null