Code Monkey home page Code Monkey logo

react-native-pedometer's Issues

Unrecognized selector sent to class

In our release build on some devices our crash reporting tool (bugsnag) is reporting this crash:

RCTFatalException: Exception '+[CMPedometer authorizationStatus]: unrecognized selector sent to class 0x1aaa04b48' was thrown while invoking authorizationStatus on target RNPedometer with params ( 897 ) callstack: ( 0 CoreFoundation 0x00000001850ed1d0 <redacted> + 148 1 libobjc.A.dylib 0x0000000183b2455c objc_exception_throw + 56 2 CoreFoundation 0x00000001850f41a8 <redacted> + 0 3 CoreFoundation 0x00000001850f1270 <redacted> + 916 4 CoreFoundation 0x0000000184fea80c _CF_forwarding_prep_0 + 92 5 Thunderpod 0x000000010092b038 _ZN7plcrash5async24dwarf_cfa_state_iteratorIyxE4nextEPjPNS0_28plcrash_dwarf_cfa_reg_rule_tEPy + 1348752 6 CoreFoundation 0x00000001850f3150 <redacted> + 144 7 CoreFoundation 0x0000000184fe5eac <redacted> + 284 8 CoreFoundation 0x0000000184fea95c <redacted> + 60 9 Thunderpod 0x000000010098d7dc _ZN7plcrash5async24dwarf_cfa_state_iteratorIyxE4nextEPjPNS0_28plcrash_dwarf_cfa_reg_rule_tEPy + 1752116 10 Thunderpod 0x00000001009d1ba4 RCTFBQuickPerformanceLoggerConfigureHooks + 107804 11 Thunderpod 0x00000001009d1904 RCTFBQuickPerformanceLoggerConfigureHooks + 107132 12 libdispatch.dylib 0x0000000183f761fc <redacted> + 24 13 libdispatch.dylib 0x0000000183f761bc <redacted> + 16 14 libdispatch.dylib 0x0000000183f843dc <redacted> + 928 15 libdispatch.dylib 0x0000000183f799a4 <redacted> + 652 16 libdispatch.dylib 0x0000000183f848d8 <redacted> + 360 17 libdispatch.dylib 0x0000000183f8634c <redacted> + 572 18 libdispatch.dylib 0x0000000183f860ac <redacted> + 124 19 libsystem_pthread.dylib 0x000000018417f2a0 _pthread_wqthread + 1288 20 libsystem_pthread.dylib 0x000000018417ed8c start_wqthread + 4 )RCTFatal

Here are the device details:
Apple iPhone 6S
ModelNumber: N71mAP
OSName: iOS
OSVersion: 10.2

Have any idea why this is happening ?

The result is null

After the call method, the callback function returns the result of NULL。
Please help!

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.