react-native-website icon indicating copy to clipboard operation
react-native-website copied to clipboard

Link for `Creating a ReactActivity` community template is wrong

Open atulgpt17 opened this issue 6 months ago • 4 comments

Description

In the page https://reactnative.dev/docs/integration-with-existing-apps?android-language=java#creating-a-reactactivity we have mentioned the As usual, here the [MainActivity.kt Community template file as reference] but that points to file https://github.com/react-native-community/template/blob/0.77-stable/template/android/app/src/main/java/com/helloworld/MainApplication.kt from github which is MainApplication file not an Android activity file

Documentation version

I am seeing this for version 0.79

atulgpt17 avatar Jun 16 '25 14:06 atulgpt17

Yup that's clearly a wrong link for the wrong version (it should be the one from branch 0.79-stable).

Are you up for sending a PR to fix it? @atulgpt17

cortinico avatar Jun 16 '25 14:06 cortinico

Yes, you can assign this to me

atulgpt17 avatar Jun 16 '25 14:06 atulgpt17

@cortinico do I need to update for all the previous versions(or all the versions are auto generated?)? For 79-stable, I think correct version is https://github.com/react-native-community/template/blob/0.79-stable/template/android/app/src/main/java/com/helloworld/MainActivity.kt

atulgpt17 avatar Jun 16 '25 14:06 atulgpt17

Yup let's update all the versions that are not correctly linked 👍 (shouldn't be more than a couple)

cortinico avatar Jun 16 '25 14:06 cortinico

Thanks for the fixes, closing as done!

Simek avatar Aug 11 '25 14:08 Simek