Android performance issues
This is an issue to track places where we have noticed performance issues on android.
Describe where in the app you saw something taking longer than it should have, or the user not getting any feedback for too long a time.
"bouncing" loading indicator on first opening the app (or reloading the app), can take way too long
Here is a good screen capture https://recordit.co/qUninW7pk2
I actually saw this taking way long than in the screen capture, like 60+ seconds, earlier. This was on an emulator. But that went away after restart of my local system.
When I tracked this down, what I found was that the callback to the setTimeout in componentDidMount of Views/Entry/index.js was not called when expected (i.e. after the 100 millisecond delay). Tracking that down further show that the callTimers in the core native library file metamask-mobile/node_modules/react-native/Libraries/Core/Timers/JSTimers.js was not called when expected. The comment there said it should be called from the native side. I have not debugged the native side yet. I also have not confirmed whether the smaller delay shown in the screen capture above has the same cause.

Short details, I traced this to metamask-mobile/node_modules/react-native-aes-crypto/android/src/main/java/com/tectiv3/aes/RCTAes.java. In particular the pbkdf2 method and encryptDecrypt of metamask-mobile/node_modules/react-native-aes-crypto/android/src/main/java/com/tectiv3/aes/CryptLib.java
Addressed by other performance work.