Start app very slow and bad FPS on Android device
See original GitHub issueWhat’s going on? My device: Sony xzs, android 8.0.0
Steps to reproduce
- Create a new app using ignite
- yarn and run on Device
- The first time open app always slow, delay about 30s to 1 minutes to start app, i was using ignite old version before, about version 5.x its ok, not slow. But now with 6.2.0 on the same device was slow, i don’t know the reason why.
ignite doctor
results:
version 6.2.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Slow rendering - Android Developers
If your app suffers from slow UI rendering, then the system is forced to skip frames and the user will perceive stuttering in...
Read more >Why is my Android slow? 8 ways to troubleshoot your phone
When your phone starts to run low, things will slow to a crawl. Google claims you'll notice performance issues when there's less than...
Read more >Why is My Android Running So Slow? - Technipages
1 – App services running in the background at start-up This can use up precious memory. Restart your Android, then check under “Settings”...
Read more >5 Ways To Deal With Super Slow Apps - Popular Mechanics
Solution: Clear the cache for your slowest apps. On Apple devices: -Tap Settings > General > Storage & iCloud Usage. Then, in the...
Read more >Speed up a slow Android device - Google Support
Speed up a slow Android device. Try the steps on this page if your phone: Runs very slowly; Lags; Takes a long time...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry for late response. I am back with some results that may help everyone with the same issue. As I have stated above that I use bowser boilerplate in all my RN apps, and each one had the same problem. Start up time takes to 15-20 seconds sometimes and freezes several seconds when the initial screen is visible. Nothing did not help (enabling hermes, caching images, removing console usages and etc.). Then, just bypassed the issue as it worked fine on newer android devices. But yesterday, it eventually got on my nerves and I decided to find the culprit. And I found! It is
react-native-keychain
package. It will kill your apps startup performance. If you have an older device (mine is Xiaomi MI 6) it gets worse. The package loads very slow and throws exception multiple times:android.security.keystore.StrongBoxUnavailableException
Keychain is being used in the boilerplate in utils section (app/utils/keychain.ts). So workarounds would be:
Additionally, I have found a thread, where the issue is escalated. Check that below. https://github.com/oblador/react-native-keychain/issues/314
Hope this update would be helpful for someone.
react-native-keychain
removed in #2003 - will be released in Ignite v8: MaverickAnother recommendation for anyone looking for similar functionality would be to check out Expo’s SecureStore