-
Notifications
You must be signed in to change notification settings - Fork 5
Chore/bump nitro #78
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
Chore/bump nitro #78
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,3 +37,8 @@ newArchEnabled=true | |
| # Use this property to enable or disable the Hermes JS engine. | ||
| # If set to false, you will be using JSC instead. | ||
| hermesEnabled=true | ||
|
|
||
| # Use this property to enable edge-to-edge display support. | ||
| # This allows your app to draw behind system bars for an immersive UI. | ||
| # Note: Only works with ReactActivity and should not be used with custom Activity. | ||
| edgeToEdgeEnabled=false | ||
|
Comment on lines
+41
to
+44
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainEdge-to-edge flag: confirm wiring and Activity type The docs are clear. Two quick checks:
Run the following to confirm: If (1) doesn’t show ReactActivity, keep edgeToEdgeEnabled=false or add manual insets handling. If (2) only hits gradle.properties, that’s fine if RN 0.81’s Gradle plugin is in use; otherwise it’s a no-op. 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "1) Check if MainActivity extends ReactActivity (auto edge-to-edge support):"
fd -t f -a -e java -e kt MainActivity example/android/app 2>/dev/null | while read -r f; do
echo "--- $f"
rg -n -C2 'class\s+\w+\s+(:\s*ReactActivity|extends\s+ReactActivity)' "$f" || true
done
echo
echo "2) Check where edgeToEdgeEnabled is referenced (besides gradle.properties):"
rg -n -C2 '\bedgeToEdgeEnabled\b' || trueLength of output: 1233 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "1) Check for react-native-gradle-plugin in buildscript classpath (android/build.gradle):"
rg -n 'react-native-gradle-plugin' -g 'android/**/*' || true
echo
echo "2) Check for application of com.facebook.react plugin in android/app/build.gradle:"
rg -nE 'id\(["'"'"']com\.facebook\.react["'"'"']\)|apply plugin:\s*["'"'"']com\.facebook\.react["'"'"']' -g 'android/app/build.gradle' || trueLength of output: 984 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "1) Look for plugin DSL 'com.facebook.react' in android/app/build.gradle(.kts):"
rg -nE "id\\s*['\"]com\\.facebook\\.react['\"]" -g "android/app/build.gradle*" || true
echo
echo "2) Look for legacy apply plugin syntax in android/app/build.gradle(.kts):"
rg -nE "apply plugin:\\s*['\"]com\\.facebook\\.react['\"]" -g "android/app/build.gradle*" || true
echo
echo "3) Check plugin resolution strategy for react-native-gradle-plugin in settings.gradle(.kts):"
rg -n "com.facebook.react:react-native-gradle-plugin" -g "android/settings.gradle*" || trueLength of output: 1783 Edge-to-edge flag not wired up – Gradle plugin missing Your
Please add: In android/build.gradle buildscript {
dependencies {
// add this line
classpath("com.facebook.react:react-native-gradle-plugin")
}
}In android/app/build.gradle (Groovy) // at top of file
apply plugin: 'com.facebook.react'Or in android/app/build.gradle.kts (Kotlin DSL) plugins {
// add this line
id("com.facebook.react")
}Once you’ve wired up the plugin, the 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Fix the YAML indentation under the second “Setup Xcode” step.
YAMLlint points out the extra indentation on Line 104. It should match the first job’s indentation so the “with” map parses correctly.
Apply this diff to align indentation:
- name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: 16.4 + xcode-version: 16.4🧰 Tools
🪛 YAMLlint (1.37.1)
[warning] 104-104: wrong indentation: expected 10 but found 12
(indentation)
🤖 Prompt for AI Agents