Git Product home page Git Product logo

Comments (3)

chirag04 avatar chirag04 commented on June 14, 2024 2

@jbail can you add these two lines to ActivityView.m before RCT_EXPORT_MODULE on line 6

- (dispatch_queue_t)methodQueue
{
    return dispatch_get_main_queue();
}

and see if the error still exists.

from react-native-activity-view.

jbail avatar jbail commented on June 14, 2024

That works. Thank you!

from react-native-activity-view.

davidhariri avatar davidhariri commented on June 14, 2024

I seem to have this error at the moment... From my log:

2015-11-24 16:33:24.773 VolleyTest[2462:505010] This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.

Stack:(
    0   CoreFoundation                      0x0000000102827f45 __exceptionPreprocess + 165
    1   libobjc.A.dylib                     0x0000000101a29deb objc_exception_throw + 48
    2   CoreFoundation                      0x0000000102827e7d +[NSException raise:format:] + 205
    3   Foundation                          0x000000010179f289 _AssertAutolayoutOnMainThreadOnly + 79
    4   Foundation                          0x00000001015ff4e2 -[NSISEngine optimize] + 49
    5   Foundation                          0x00000001016061e5 -[NSISEngine constraintDidChangeSuchThatMarker:shouldBeReplacedByMarkerPlusDelta:] + 313
    6   Foundation                          0x0000000101606062 -[NSISEngine tryToChangeConstraintSuchThatMarker:isReplacedByMarkerPlusDelta:undoHandler:] + 440
    7   Foundation                          0x00000001015f1fe5 -[NSLayoutConstraint _tryToChangeContainerGeometryWithUndoHandler:] + 484
    8   Foundation                          0x00000001015f1b44 -[NSLayoutConstraint _setSymbolicConstant:constant:] + 422
    9   UIKit                               0x00000001049f6dcb -[UIView(UIConstraintBasedLayout) _autoresizingConstraints_frameDidChange] + 559
    10  UIKit                               0x00000001041da2b5 -[UIView(Geometry) setFrame:] + 743
    11  VolleyTest                          0x00000001013a9b56 -[RCTPerfStats hide] + 726
    12  VolleyTest                          0x00000001013a892b -[RCTPerfStats dealloc] + 43
    13  libobjc.A.dylib                     0x0000000101a3dafe _ZN11objc_object17sidetable_releaseEb + 232
    14  CoreFoundation                      0x000000010272bc9d -[__NSDictionaryI dealloc] + 141
    15  libobjc.A.dylib                     0x0000000101a3dafe _ZN11objc_object17sidetable_releaseEb + 232
    16  VolleyTest                          0x00000001013a88ad -[RCTModuleMap .cxx_destruct] + 45
    17  libobjc.A.dylib                     0x0000000101a287bb _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class + 127
    18  libobjc.A.dylib                     0x0000000101a33390 objc_destructInstance + 93
    19  libobjc.A.dylib                     0x0000000101a333c3 object_dispose + 22
    20  libobjc.A.dylib                     0x0000000101a3dafe _ZN11objc_object17sidetable_releaseEb + 232
    21  VolleyTest                          0x0000000101372e31 __30-[RCTBatchedBridge invalidate]_block_invoke_2 + 273
    22  VolleyTest                          0x000000010136aec8 -[RCTContextExecutor executeBlockOnJavaScriptQueue:] + 248
    23  Foundation                          0x0000000101612117 __NSThreadPerformPerform + 283
    24  CoreFoundation                      0x0000000102754011 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    25  CoreFoundation                      0x0000000102749f3c __CFRunLoopDoSources0 + 556
    26  CoreFoundation                      0x00000001027493f3 __CFRunLoopRun + 867
    27  CoreFoundation                      0x0000000102748e08 CFRunLoopRunSpecific + 488
    28  VolleyTest                          0x000000010136687b +[RCTContextExecutor runRunLoopThread] + 363
    29  Foundation                          0x00000001016b3eab __NSThread__start__ + 1198
    30  libsystem_pthread.dylib             0x00000001060d79b1 _pthread_body + 131
    31  libsystem_pthread.dylib             0x00000001060d792e _pthread_body + 0
    32  libsystem_pthread.dylib             0x00000001060d5385 thread_start + 13
)

from react-native-activity-view.

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.