Skip to content

Calling the capture method on ref causes error #36

@idanlo

Description

@idanlo

When calling the ref.current.capture() method I get this error:

Exception 'This function must be called on the UIManager queue' was thrown while invoking capture on target RNPdfScannerManager with params (
    767
)

RCTFatal
facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&)
facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const
invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)
2AFAF864-7F5C-3011-840D-B066E7377AF1
2AFAF864-7F5C-3011-840D-B066E7377AF1
_dispatch_main_queue_callback_4CF
93BD750D-2ECE-3E38-8405-9E46EFE482C6
93BD750D-2ECE-3E38-8405-9E46EFE482C6
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
9059087B-727B-3B45-B672-09E5B03E6020

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions