cookies icon indicating copy to clipboard operation
cookies copied to clipboard

Crash on Samsung devices without webview (play services)

Open pke opened this issue 2 years ago • 0 comments

https://github.com/react-native-cookies/cookies/blob/9420afc76d1ac9c24c205fa37182ada00da9921f/android/src/main/java/com/reactnativecommunity/cookies/CookieManagerModule.java#L55

This line can throw on Samsung devices without Google Play Services installed (and only Samsung Browser).

I somehow fail to see how the exception handler wrapped around this does anything useful? It captures any exception to simply re-throws it? How is this supposed to be handled from the JS react side to not crash the app?

pke avatar Feb 15 '22 22:02 pke