Giter VIP home page Giter VIP logo

Comments (6)

whitedogg13 avatar whitedogg13 commented on August 20, 2024

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.

rstims avatar rstims commented on August 20, 2024

@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.

whitedogg13 avatar whitedogg13 commented on August 20, 2024

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.

rstims avatar rstims commented on August 20, 2024

@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.

whitedogg13 avatar whitedogg13 commented on August 20, 2024

@rstims Thanks for clarifying & good to hear your project is working now!

from react-native-nfc-manager.

arapocket avatar arapocket commented on August 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.