Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

App with RN 0.63.3 crashes after installing lib in version 5.1.1 #156

Closed
felipejoribeiro opened this issue Oct 4, 2022 · 4 comments
Closed

Comments

@felipejoribeiro
Copy link

Describe the bug
I installed version 5.1.1, in my app, as recommended for 0.63.3 SDK, but after installing the app keeps crashing, and it doesn't open. After uninstalling the lib, I'm able to open the app in the emulator again.

Expected behavior
The emulator should open normally with the lib working.

Logs

{"DONE": 4, "HEADERS_RECEIVED": 2, "LOADING": 3, "OPENED": 1, "UNSENT": 0, "_aborted": false, "_cachedResponse": undefined, "_hasError": true, "_headers": {"accept": "application/json, text/plain, */*", "user-agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36"}, "_incrementalEvents": false, "_lowerCaseResponseHeaders": {}, "_method": "GET", "_perfKey": "network_XMLHttpRequest_https://play.google.com/store/apps/details?id=com.snackin&hl=us", "_requestId": null, "_response": "canceled due to java.lang.NoSuchMethodError: No virtual method toString(Z)Ljava/lang/String; in class Lokhttp3/Cookie; or its super classes (declaration of 'okhttp3.Cookie' appears in /data/app/com.snackin-DkiuJo851oslvZXexZj2RA==/base.apk!classes3.dex)", "_responseType": "", "_sent": true, "_subscriptions": [], "_timedOut": false, "_trackingName": "unknown", "_url": "https://play.google.com/store/apps/details?id=com.snackin&hl=us", "data": undefined, "readyState": 4, "responseHeaders": undefined, "status": 0, "timeout": 0, "upload": {}, "withCredentials": true}

SDK version
5.1.1

Language version, developer tools
yarn 1.22.28;
node version 14.19.1;
react 16.13.1;
react-native 0.63.3;

OS/platform
Apple Monterey 12.6

@louis-launchdarkly
Copy link
Contributor

Hello @felipejoribeiro, I have filed this internally as 171835.

While we are going to try looking into this issue, I am also wondering if would it be possible for you to upgrade your react native version. There are stability improvements that we released in the RN SDK 6.x, and that if you can upgrade to RN 0.65 minimum you will be able to get those.

@felipejoribeiro
Copy link
Author

felipejoribeiro commented Oct 7, 2022

Thank you for the prompt response. I wouldn't be able to do it in time for testing within the 14 trial period. Our company's project requires some attention before the upgrade.

@yusinto
Copy link
Contributor

yusinto commented Mar 14, 2023

@felipejoribeiro is this still an issue? Please try upgrading to the latest version 7.1.1 to verify.

@yusinto
Copy link
Contributor

yusinto commented Mar 24, 2023

I'm closing this due to inactivity.

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

No branches or pull requests

3 participants