futurice / pepperoni-app-kit

Pepperoni - React Native App Starter Kit for Android and iOS
http://getpepperoni.com
MIT License
4.63k stars 645 forks source link

generated android apk is too slow #224

Open majidln opened 6 years ago

majidln commented 6 years ago

I use ./gradlew assembleRelease command and when using this APK it's too slow. for example, when I touch TouchableOpacity or TouchableWithoutFeedback in Android there is some second delay for trigger onPress event! what's the problem and how I can solve that?

FruitieX commented 6 years ago

Hi, this sounds unusual. From my experience release builds run way faster than debug builds. What are you doing in your onPress handler, does it affect other components (such as a large list of components re-rendering) or some other computationally heavy actions?