You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Title: templateAndroid.app_build_gradle Configuration Not Applied to /app/build.gradle
Description
I’m encountering an issue where configurations defined under the templateAndroid.app_build_gradle section of renative.json are not being applied to the generated /app/build.gradle file during the rnv configure process. This specifically affects the apply key within app_build_gradle, which is intended to add Gradle plugin applications.
Steps to Reproduce
Define the following configuration in renative.json under the templateAndroid section for an appConfig:
Run the following command to configure the project:
rnv configure -p androidtv
Inspect the generated /platformBuilds/androidtv/app/build.gradle file.
Expected Behavior
The /app/build.gradle file should include the following line at the top:
apply plugin: 'com.google.gms.google-services'
Actual Behavior
The /app/build.gradle file does not contain the apply plugin line, and the configuration under app_build_gradle is ignored. Other parts of templateAndroid, such as buildscript.dependencies, work correctly.
Environment
ReNative Version: 1.0.0
Node.js Version: 18.20
OS: macOS 15.0
Platform: AndroidTV
Request
I would like to know:
If the templateAndroid.app_build_gradle key is fully supported in the current version.
If there are additional steps or configurations needed to enable this feature.
If this is a bug
The text was updated successfully, but these errors were encountered:
Here’s a polished issue text for GitHub:
Title:
templateAndroid.app_build_gradle
Configuration Not Applied to/app/build.gradle
Description
I’m encountering an issue where configurations defined under the
templateAndroid.app_build_gradle
section ofrenative.json
are not being applied to the generated/app/build.gradle
file during thernv configure
process. This specifically affects theapply
key withinapp_build_gradle
, which is intended to add Gradle plugin applications.Steps to Reproduce
Define the following configuration in
renative.json
under thetemplateAndroid
section for anappConfig
:Run the following command to configure the project:
Inspect the generated
/platformBuilds/androidtv/app/build.gradle
file.Expected Behavior
The
/app/build.gradle
file should include the following line at the top:Actual Behavior
The
/app/build.gradle
file does not contain theapply plugin
line, and the configuration underapp_build_gradle
is ignored. Other parts oftemplateAndroid
, such asbuildscript.dependencies
, work correctly.Environment
1.0.0
18.20
macOS 15.0
Request
I would like to know:
templateAndroid.app_build_gradle
key is fully supported in the current version.The text was updated successfully, but these errors were encountered: