Mobile App White Labelling: Compile

Hello Rocket.Chat community!
I’m new to mobile app development.
I have been able to deploy the white-label app to my phone using Android studio. It works great and even my push notification works great. I haven’t figured out how to compile it yet though. An apk. I was able to compile one using gradlew but when I installed that and had my coworkers install it, push notifications did not work anymore. Would anyone share with me what the gradlew command is to compile RC Android? Thank you very much.