You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you flip inlineRequires to false, then promise in this library starts working again. Because this is issue only with this package I believe there is some conflict, but for now I do not have deeper knowledge why is that, just reporting it here as it may help someone...
What is interesting though that this repository has the flag turned to true, I believe it will be issue just with "published / build" package.
I've been using @react-native-clipboard/clipboard and it's been working great but suddenly I notice today that getString() is now returning empty. And I have not changed this code. Anyone know what is going on?
Environment
Platforms
both
Versions
Description
When I call
await Clipboard.getString()
the promise will not be resolved (ever)This happens if your metro configuration is:
If you flip
inlineRequires
to false, then promise in this library starts working again. Because this is issue only with this package I believe there is some conflict, but for now I do not have deeper knowledge why is that, just reporting it here as it may help someone...What is interesting though that this repository has the flag turned to true, I believe it will be issue just with "published / build" package.
There is similar issue opened in react-native repo: facebook/react-native#31558
Reproducible Demo
The text was updated successfully, but these errors were encountered: