joltup / rn-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.81k stars 773 forks source link

debug mode not working syncPathAppGroup sync #489

Closed ljcp closed 4 years ago

ljcp commented 4 years ago

Invariant Violation: Calling synchronous methods on native modules is not supported in Chrome.

Consider providing alternative methods to expose this method in debug mode, e.g. by exposing constants ahead-of-time.

this error shows up and it's not possible to debug the app on executing

RNFetchBlob.fs.syncPathAppGroup('group')

any insight on how to fix it will be appreciated

ljcp commented 4 years ago

found out there is other async method RNFetchBlob.fs.pathForAppGroup !