Skip to content

Parse app/build.gradle additionaly to find packageId #180

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

Merged
merged 3 commits into from
Jan 19, 2023

Conversation

whalemare
Copy link
Contributor

@whalemare whalemare commented Jan 15, 2023

In react-native template started from 0.71 AndroidManifest.xml doesn't contain package field anymore (upgrade-helper link) and react-native-rename will fail in trying to find them.

Снимок экрана 2023-01-15 в 12 00 30

But instead of fail, we can additionaly parse app/build.gradle file to find applicationId field and extract it from there

In template of react-native started from 0.71 AndroidManifest.xml doesn't contain `package` field.
But instead of fail, we can additionaly parse `app/build.gradle` file to find `applicationId` field and extract it from there
@junedomingo junedomingo merged commit 99a053d into junedomingo:master Jan 19, 2023
@junedomingo
Copy link
Owner

Thanks, @whalemare !

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

Successfully merging this pull request may close these issues.

2 participants