Skip to content
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

App crash when click a story on android (only android crash) #102

Closed
ozberkctn opened this issue May 24, 2021 · 4 comments
Closed

App crash when click a story on android (only android crash) #102

ozberkctn opened this issue May 24, 2021 · 4 comments
Assignees
Labels
bug Something isn't working react native stale

Comments

@ozberkctn
Copy link

Environment Details
Storyly SDK Version: 1.8.4
React Native SDK Version: 0.64.0
Platform: Only Android

Current Behavior
Crash when clicking a story

Steps to Reproduce
I am sharing with you my demo repo which has the crash. Only check the App.js file.
https://github.com/ozberkctn/StorylyCrash (public repo)
For a new 0.64 react native app you need to follow the steps below to reproduce the crash

  1. Add the following dependencies
    "react-native-anchor-carousel": "^3.1.2"
    "react-native-gesture-handler": "^1.10.3"
    "react-native-screens": "3.1.0"
  2. Render Storyly and Carousel component.
  3. Click a story
  4. Crash
@ozberkctn ozberkctn added bug Something isn't working react native labels May 24, 2021
@levent-oral levent-oral self-assigned this May 25, 2021
@levent-oral
Copy link
Contributor

Hello @ozberkctn ,

Thanks for detailed explanation and sample app, appreciate the effort!

We've cloned the app and tested the scenario, but we couldn't reproduce the issue with the device. So, this may be related with Android version of device.

We've tested with Android 10+ real devices, what is your test device information so that we can test it with emulator?

By the way, we've also tested with storyly-react-native@1.11.0 version to ensure it's not related with versions. Can you test it with your setup and test devices as well please to check latest version has already solved this issue?

Thanks,

@ozberkctn
Copy link
Author

@levent-oral I updated the repo. Sorry, I forgot to add one signal dependency to reproduce the crash. Now you can reproduce the crash with the updated repo. Can you check again?

@levent-oral
Copy link
Contributor

@ozberkctn , we're able to reproduce with latest changes.

We've checked and researched the error log, there seems an issue react-native 31245 which is introduced in 0.64 version and seems like it will be fixed in next patch version of react-native.

In the comments, downgrading react-native to 0.63.4(which you've already mentioned that it's not reproducible) is suggested until new version has been released.

We're also following the issue for further checks.

@stale
Copy link

stale bot commented Jun 26, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 26, 2021
@stale stale bot closed this as completed Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working react native stale
Projects
None yet
Development

No branches or pull requests

2 participants