I'm currently down the path of trying to figure out how to decrease Android startup time. It hasn't been an issue with iOS but for Android, I'm seeing anywhere from 6-10 seconds. The goal is to be around 3-4 seconds.
Here's a summary of the research I've come across
ReactMethod
Solutions exist but not perfect:
ReactMethods
https://github.com/facebook/react-native/pull/10084
My problem with these solutions is around using annotation processing to generate classes (compile time). I'm trying to figure out how to get these solutions running with no luck.
Also, other suggestions around decreasing startup time for Android would be helpful.
Thanks!
For this Facebook has released their new build mechanism Hermes which will increase the speed of your startup time. But you need react native 0.60>
to use this engine.
https://facebook.github.io/react-native/blog/2019/07/17/hermes
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With