From 6df7c303e6b914627695a8388db4af2310223440 Mon Sep 17 00:00:00 2001 From: Atul Gupta Date: Mon, 16 Jun 2025 20:10:00 +0530 Subject: [PATCH 1/2] [docs] Correct the link to MainActivity --- docs/_integration-with-existing-apps-kotlin.md | 2 +- .../version-0.76/_integration-with-existing-apps-kotlin.md | 2 +- .../version-0.77/_integration-with-existing-apps-kotlin.md | 2 +- .../version-0.79/_integration-with-existing-apps-kotlin.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_integration-with-existing-apps-kotlin.md b/docs/_integration-with-existing-apps-kotlin.md index e39fd640b5b..539b6433e28 100644 --- a/docs/_integration-with-existing-apps-kotlin.md +++ b/docs/_integration-with-existing-apps-kotlin.md @@ -424,7 +424,7 @@ class MyReactActivity : ReactActivity() { -As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.77-stable/template/android/app/src/main/java/com/helloworld/MainApplication.kt) +As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.79-stable/template/android/app/src/main/java/com/helloworld/MainActivity.kt) Whenever you create a new Activity, you need to add it to your `AndroidManifest.xml` file. You also need set the theme of `MyReactActivity` to `Theme.AppCompat.Light.NoActionBar` (or to any non-ActionBar theme) as otherwise your application will render an ActionBar on top of your React Native screen: diff --git a/website/versioned_docs/version-0.76/_integration-with-existing-apps-kotlin.md b/website/versioned_docs/version-0.76/_integration-with-existing-apps-kotlin.md index 3de3c29f0d2..7c86a2705aa 100644 --- a/website/versioned_docs/version-0.76/_integration-with-existing-apps-kotlin.md +++ b/website/versioned_docs/version-0.76/_integration-with-existing-apps-kotlin.md @@ -424,7 +424,7 @@ class MyReactActivity : ReactActivity() { -As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.76-stable/template/android/app/src/main/java/com/helloworld/MainApplication.kt) +As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.76-stable/template/android/app/src/main/java/com/helloworld/MainActivity.kt) Whenever you create a new Activity, you need to add it to your `AndroidManifest.xml` file. You also need set the theme of `MyReactActivity` to `Theme.AppCompat.Light.NoActionBar` (or to any non-ActionBar theme) as otherwise your application will render an ActionBar on top of your React Native screen: diff --git a/website/versioned_docs/version-0.77/_integration-with-existing-apps-kotlin.md b/website/versioned_docs/version-0.77/_integration-with-existing-apps-kotlin.md index e39fd640b5b..69a31378766 100644 --- a/website/versioned_docs/version-0.77/_integration-with-existing-apps-kotlin.md +++ b/website/versioned_docs/version-0.77/_integration-with-existing-apps-kotlin.md @@ -424,7 +424,7 @@ class MyReactActivity : ReactActivity() { -As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.77-stable/template/android/app/src/main/java/com/helloworld/MainApplication.kt) +As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.77-stable/template/android/app/src/main/java/com/helloworld/MainActivity.kt) Whenever you create a new Activity, you need to add it to your `AndroidManifest.xml` file. You also need set the theme of `MyReactActivity` to `Theme.AppCompat.Light.NoActionBar` (or to any non-ActionBar theme) as otherwise your application will render an ActionBar on top of your React Native screen: diff --git a/website/versioned_docs/version-0.79/_integration-with-existing-apps-kotlin.md b/website/versioned_docs/version-0.79/_integration-with-existing-apps-kotlin.md index e39fd640b5b..539b6433e28 100644 --- a/website/versioned_docs/version-0.79/_integration-with-existing-apps-kotlin.md +++ b/website/versioned_docs/version-0.79/_integration-with-existing-apps-kotlin.md @@ -424,7 +424,7 @@ class MyReactActivity : ReactActivity() { -As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.77-stable/template/android/app/src/main/java/com/helloworld/MainApplication.kt) +As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.79-stable/template/android/app/src/main/java/com/helloworld/MainActivity.kt) Whenever you create a new Activity, you need to add it to your `AndroidManifest.xml` file. You also need set the theme of `MyReactActivity` to `Theme.AppCompat.Light.NoActionBar` (or to any non-ActionBar theme) as otherwise your application will render an ActionBar on top of your React Native screen: From a61a04595e3815ce8eca6160a4f404cfcd5aed25 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 16 Jun 2025 16:59:24 +0100 Subject: [PATCH 2/2] Update docs/_integration-with-existing-apps-kotlin.md --- docs/_integration-with-existing-apps-kotlin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_integration-with-existing-apps-kotlin.md b/docs/_integration-with-existing-apps-kotlin.md index 539b6433e28..2fc5f7a23d5 100644 --- a/docs/_integration-with-existing-apps-kotlin.md +++ b/docs/_integration-with-existing-apps-kotlin.md @@ -424,7 +424,7 @@ class MyReactActivity : ReactActivity() { -As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.79-stable/template/android/app/src/main/java/com/helloworld/MainActivity.kt) +As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.80-stable/template/android/app/src/main/java/com/helloworld/MainActivity.kt) Whenever you create a new Activity, you need to add it to your `AndroidManifest.xml` file. You also need set the theme of `MyReactActivity` to `Theme.AppCompat.Light.NoActionBar` (or to any non-ActionBar theme) as otherwise your application will render an ActionBar on top of your React Native screen: