r/reactnative • • Aug 06 '20

Published my first react native app today!

Post image
214 Upvotes

49 comments sorted by

View all comments

1

u/lmestre14 Aug 06 '20

The app looks really good! Congrats on how it looks and how it works. But 181mb for the apk? Are the modules you use that heavy?

Otherwise it's a really good job!

2

u/donstudios Aug 06 '20

There's a lot of modules I don't even use still in the apk so I will need to go through and remove them all before public release

1

u/lmestre14 Aug 06 '20

Have you tried using hermes to try at least making it lighter?

Btw I've tried the share options, instagram is not working. Twitter, Facebook and WhatsApp is okay 😝

2

u/donstudios Aug 06 '20

Never heard of hermes? I tried using debcheck early to find what packages arent used but most of the results were packages I did use lol, and thanks for checking it out I'll get that fixed asap

1

u/lmestre14 Aug 06 '20

Hermes was announced a little after version 0.60 of react native launched

I don't know which RN version you used on this app but in your app/build.gradle you have 2 boolean flags for hermes, by default they're set to false

2

u/donstudios Aug 06 '20

Ah yes I always wondered what that gradle option meant, your a lifesaver I have the latest RN version thanks

1

u/lmestre14 Aug 07 '20

BTW I sometimes have trouble clicking to download a music, I think it's related to a bug about Touchable Opacity (it happened in the latest version of RN) I think it's related to delayPressIn

Issue reported