futurice/pepperoni-app-kit

generated android apk is too slow

majidln opened this issue · 1 comments

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?

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?