I have a more lowkey solution that I have been using. This is not a replacement for the above solutions, but simply, one more way to do it. I have only tested this on iOS but I assume it would work for Android as well.
I noticed that in most cases, the project created would have a com.xyz.something which is something like this.
org.reactjs.native.example.abcyourprojectname-extras
I realised, instead of checking each and every folder (and not having to use Xcode), I simply do a search for (in Visual Studio Code, with the project folder open)
org.reactjs.native.example
This would list all the files with the bundle identifier. Just change it your preferred bundle identifier, and thats about it. This way, even if tomorrow, there are any file changes or format changes or whatever, searching will still be consistent way of doing things.
(again, this is a low key solution, but it seems to work for me)