Search code examples
androidreact-nativegradlegradlewrocket.chat

Building Whitelabel Rocket Chat app results in build Failure


I am white labeling the Rocket Chat app for my server. I have everything working in the test environment. [e.g. yarn android] I am now ready to build an apk to push out to my server members. The issue I'm having is that running gradlew bundleRelease in the "/android" folder always results in an error saying,

Task :app:processBugsnagE2eFossReleaseManifest FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processBugsnagE2eFossReleaseManifest'. > Bugsnag: Your AndroidManifest.xml is missing one or more of apiKey/versionCode/buildUuid/versionName/package, which are required to upload to bugsnag. apiKey=null

I'm really not sure what could be causing the problem as I have a bugsnag apikey declared in "gradle.properties". Any help would be much appreciated!

UPDATE: It turns out that I was using the wrong build command. Instead of using gradlew bundleRelease, I needed to using the command gradlew bundleExperimentalPlayRelease.


Solution

  • UPDATE: It turns out that I was using the wrong build command. Instead of using gradlew bundleRelease, I needed to using the command gradlew bundleExperimentalPlayRelease.