-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android App crashes on join call method #31
Comments
Hi @vineetk242000 , I tried to reproduce the issue here, but without success. The main difference is, I was using the version 0.69 from react-native, instead of the version 0.63. We have validated that our library is working on Android 12 with the versions 0.66, 0.68 and 0.69 of react native on our playground app. We have not tested with version 0.67 but should also work without any issue. The version 0.66 was the first one release which react native has announced Android 12, as you can see here: https://reactnative.dev/blog/2021/10/01/version-066 Another important thing to consider, is that on Android 12, react native has a current open issue of intermittent crash A/libc: facebook/react-native#33124 Could you test with our playground app and see if you are able to reproduce the issue ? https://github.com/daily-co/react-native-daily-js-playground |
Hi @filipi87, I tried the playground app and even the party-line. It is working perfectly fine in my environment on Android. Could you confirm if there is any issue with the react native version 0.63 for this daily-js integration on Android ? |
Hi @vineetk242000 , Sorry for the late reply, I was out the last couple of weeks. We currently don't have any known issue with the version 0.63 of react-native, but since It is a really old version of react native and they recommend using at least the version 0.66 for Android 12, we don't usually execute tests using this version. I would need to execute a regression test over this version, to see if we are going to face the same issue. Have you considered updating the app to a more recent version of react native, and migrate It to use Hermes (as I have mentioned above, this is a known issue between react native and Android 12) ? Please let me know if that is an option. |
Closing this issue, since we are unable to reproduce on the latest versions of react native. |
Hey @filipi87, |
That open react native issue of intermittent crash A/libc for Android 12, has been open for the version Considering that you are using version On the version 0.70 of react native, Hermes is now the default engine: https://reactnative.dev/blog/2022/09/05/version-070. So now, if you decide to keep your current version, I would just recommend trying to test a lot on Android 12, to see if you will face any intermittent crashes. And it would be nice to already plan to update to the latest version of react native which already comes with Hermes enabled and we are sure that is working fine. |
Expected behavior
The daily-js should work fine on android just like the iOS.
Describe the bug (unexpected behavior)
The daily-js sdk is working perfectly fine for iOS but in Android, once the join method is called the console keeps repeating this log "unrecognised iframe message join-meeting", and the app freezes after this step. It is happening with or without attaching event listeners to my call object.
Steps to reproduce
Set your project environment as described below.
Run on any android device on simulator
Try to join a call
App freezes with the join method logging "unrecognised iframe message join-meeting" repeatedly
Screenshots
System information
Additional context
My dependencies of the project are as follows:
react-native : "0.63.4"
react: "16.13.1"
@daily-co/react-native-daily-js: "0.29.0" (tried previous versions still the same issue)
@daily-co/react-native-webrtc : "1.94.1-daily.5"
Android gradle:
buildToolsVersion = "30.0.2"
minSdkVersion = 24
compileSdkVersion =31
targetSdkVersion = 30
The text was updated successfully, but these errors were encountered: