admin管理员组文章数量:1290946
We are in the process of upgrading our App code compile sdk API level 34. The app is a hybrid app that contains Android + React Native code.
Currently using RN version 0.68.2
We are facing an issue in which the bundle loading time for react native in the app has increased and we are seeing a white screen for that time after the app launch due to the loading bundle which is leading to bad user experience.
We have checked different relevant approaches to the problem including:
1. RN upgrade to 0.72, 0.74, 0.75
2. Add reactrootview to blank fragment
3. Tried removing all the patches added soloader loadlibrary call explicitly in mainapplication oncreate for the following libs: reactnativejni, rnscreens, fbjni, yoga
4. Checking peer dependency of packages for RN ( to check if any other version of RN package is installed or not)
5. Check release notes for API level 34 - android
6. Trying with and without hermes
7. Tried removing library module import and direct file import POC
8. Update to react native 0.76+ without patches
9. Code cleanup from library module and direct file import
We have only upgraded compile sdk level 33 to 34 and we are seeing increase in RN bundle loading.
Please let know further process to debug the issue and fix the same.
Steps to reproduce Launch the app.
React Native Version 0.68.2
Affected Platforms Runtime - Android
本文标签:
版权声明:本文标题:android - Bundle loading time for react native in the app increased on changing compile sdk version from 33 to 34 - Stack Overfl 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741524018a2383358.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论