Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set custom build id in gradle files #123

Open
SilentCatD opened this issue Oct 28, 2024 · 4 comments
Open

Ability to set custom build id in gradle files #123

SilentCatD opened this issue Oct 28, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@SilentCatD
Copy link

SilentCatD commented Oct 28, 2024

Hello, while generating new BUILD_ID in android side has its uses, it also causes changing .dex file in native android code.
This makes integration with code push (shorebird) not suitable for android.

I would like to ask if we have any other way working around this, like set the BUILD_ID to specific value in some gradle files

@ndesai-newrelic
Copy link
Contributor

@SilentCatD this is not possible right now. we understand your issue . can you file Feature request for this with newrelic support team.

@ndesai-newrelic ndesai-newrelic added the enhancement New feature or request label Oct 28, 2024
@SilentCatD
Copy link
Author

Sure, thank you for the support

@Nguyen-Ngoc-Phuoc
Copy link

Nguyen-Ngoc-Phuoc commented Oct 29, 2024

image

I'm reading VarientAdapter.groovy file inside newrelic-android-agent
If I understood it right, it also read value from the file .metadata to set buildId before falling back to uuid.

Can we create that file beforehand then run the build? If so, what value format should it be?
Do you happen to know about this @ndesai-newrelic

@SilentCatD
Copy link
Author

I created a PR newrelic/newrelic-android-agent#304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants