Open AsminBudha opened 5 years ago
Thanks for reporting this issue. I will try to find a time to have a sample code trying to reproduce this issue if I can.
@AsminBudha New V8 published. Please try v8-android 7.8.1 with use any of these react-native-v8 versions:
@Kudo App unresponsive "react": "17.0.2", "react-native": "0.67.1", "react-native-v8": "^1.6.0", "v8-android-jit": "^10.100.1" bundle size 37.6 MB may be this reason to lagging the app
Please let me know what we can do now. The Samsung galaxy app crash issue is resolved.
We recently integrated react-native-v8 engine in our android app and we were able to reduce memory consumption. But, we found out lagging when app returns back to react native part after closing new activity.
Steps to reproduce:
Screen written in react-native freezes for some time.
In our case, we're able to reproduce this issue in two scenarios:
With react-native-image-picker package. This library opens a default camera app to capture image which means new activity. When we return back to app after capturing image there is a lagging.
Our custom android native activity. We have a native android module which opens new activity. When we open and then close that activity app freezes for some time. Scrolling is working fine but app does not trigger any onPress events.
We're using: react: 16.8.3 react-native: 0.59.10