I used react-native init MyApp to initialise a new React Native app. This created among others an Android project with the package com.myapp.
react-native init MyApp
com.myapp
The simplest one:
npx react-native-rename YourNewAppName -b com.YourCompanyName.YourNewAppName