Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Calling synchronous methods on native modules is not supported in Chrome. #17

Closed
majirosstefan opened this issue Dec 26, 2021 · 4 comments
Labels
question Further information is requested

Comments

@majirosstefan
Copy link

majirosstefan commented Dec 26, 2021

backend.js:12688 Possible Unhandled Promise Rejection (id: 1):
Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome.

Screen Shot 2021-12-26 at 8 17 40 PM

@demchenkoalex
Copy link
Member

Hey @majirosstefan sorry for the late response, had health issues. What is this exactly? Is it an Android device?

@demchenkoalex
Copy link
Member

Read about this error message a bit more, seems like it was introduced in some RN version, but I tried now on 0.67 - didn't see this error

@afilp
Copy link

afilp commented Jan 29, 2022

I have the same problem, v0.66.2

@demchenkoalex demchenkoalex added the question Further information is requested label Apr 10, 2022
@demchenkoalex
Copy link
Member

react-native-documents/document-picker#70 (comment) also mentioned in the README of the document picker repo as well, is the correct way to retrieve the path. This repo will be archived.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants