Comments (6)
Hi, thanks for trying this library.
The issues sounds like a native crash to me. Can you provide the native log using XCode? We can then further analyze the issue~
Thanks!
from react-native-nfc-manager.
@whitedogg13 thanks for your help, here is the console output..
2017-12-03 03:08:30.252017-0500 App[4913:3592503] NfcManager created
2017-12-03 03:08:30.310669-0500 App[4913:3592503] refreshPreferences: HangTracerEnabled: 0
2017-12-03 03:08:30.310808-0500 App[4913:3592503] refreshPreferences: HangTracerDuration: 500
2017-12-03 03:08:30.310824-0500 App[4913:3592503] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0
2017-12-03 03:08:31.152 [info][tid:com.facebook.react.JavaScript] Running application "App" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
2017-12-03 03:08:31.152493-0500 App[4913:3592589] Running application "App" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
2017-12-03 03:08:31.235 [info][tid:com.facebook.react.WebSocketModuleQueue][RCTSRWebSocket.m:520] SocketRocket: In debug mode. Allowing connection to any root cert
2017-12-03 03:08:31.235244-0500 App[4913:3592565] SocketRocket: In debug mode. Allowing connection to any root cert
2017-12-03 03:08:31.314365-0500 App[4913:3592503] [MC] Lazy loading NSBundle MobileCoreServices.framework
2017-12-03 03:08:31.314977-0500 App[4913:3592503] [MC] Loaded MobileCoreServices.framework
2017-12-03 03:08:31.316944-0500 App[4913:3592503] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-12-03 03:08:31.940982-0500 App[4913:3592568] NfcManager initialized
2017-12-03 03:08:32.006 [info][tid:com.facebook.react.JavaScript] 'start OK', undefined
2017-12-03 03:08:32.006436-0500 App[4913:3592589] 'start OK', undefined
2017-12-03 03:08:32.071 [info][tid:com.facebook.react.JavaScript] connected to remotedev-server
2017-12-03 03:08:32.070619-0500 App[4913:3592589] connected to remotedev-server
2017-12-03 03:08:32.297084-0500 App[4913:3592566] [] nw_connection_get_connected_socket 4 Connection has no connected handler
2017-12-03 03:08:32.297139-0500 App[4913:3592566] TCP Conn 0x1c0170b00 Failed : error 0:61 [61]
2017-12-03 03:08:35.436 [info][tid:com.facebook.react.JavaScript] 'registerTagEvent OK', undefined
2017-12-03 03:08:35.436282-0500 App[4913:3592589] 'registerTagEvent OK', undefined
2017-12-03 03:08:35.434491-0500 App[4913:3592566] [] nw_connection_get_connected_socket 8 Connection has no connected handler
2017-12-03 03:08:35.437406-0500 App[4913:3592566] TCP Conn 0x1c0170f80 Failed : error 0:61 [61]
from react-native-nfc-manager.
Hi, sorry for the late response.
It seems normal from the native log above. Can you describe some more detail about the crash? Ex: is the crash happened is in JS or in native? any promise rejection? any yellow or red screen popup? or do you have JS log?
Thanks!
from react-native-nfc-manager.
@whitedogg13 sorry for taking your time. I ended up trying the example project in a brand new test project and it worked great. Additionally, for anyone reading this, try it from a test project first, make sure it works there and then try to add it to your project. Finally, I'll be using this module a lot. Thank you.
from react-native-nfc-manager.
@rstims Thanks for clarifying & good to hear your project is working now!
from react-native-nfc-manager.
Not having any value in the info.plist for the Privacy - NFC Scan Usage Description will cause it to crash.
But now that it's working, I found it does nothing on iOS! It reads the sticker apparently, but doesn't seem to see that there's any data in it.
from react-native-nfc-manager.
Related Issues (20)
- Enabling Multiple Uses of NFC requestTechnology Instead of One-time HOT 2
- how to read data returned from transceive ? HOT 1
- How to scan multiple NFC chips at once? HOT 2
- Credit/Debit Card reading? HOT 2
- SecurityViolation error with isoDepHandler.transceive HOT 2
- Ndef not writing the empty tag in android only HOT 3
- ISO15693 customCommands & password protection not working HOT 2
- While scanning multiple NFC tags in iOS, how can a react native app know when the scan completes? HOT 2
- How to read multiple Mifare cards (not NDEF) on iOS? HOT 3
- getTag not returning the scanned tag, techRequestCallback is null HOT 2
- Can't retrieve tag information with background tag on IOS HOT 5
- Enable discussions on this repo to reduce clutter in issues? HOT 2
- Reset/Power-off cards HOT 2
- Session sometimes closes itself HOT 2
- ISO15693IOS Multiple Write Blocks Command unavailable
- Custom hook to check NFC support
- Cancel technology request not properly cancelling sessions
- How to read Citizen ID Card? HOT 2
- On latest expo SDK have a issue when run npx expo-doctor
- Request for Extended Multiple Read/Write Support in ISO 15693 iOS API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-nfc-manager.