I used react-native init to create my react application. I'm trying to tie in auth0 and auth0 documentation is saying I need something from the androidManafest.xml. The problem is that the react-native init didn't create "android/app/src/main/AndroidManifest.xml " during the process. How does this get created and tie into my react-native app?
Open your Android project and go to <AppProjectFolder>/app/src/main/. Open the app manifest file AndroidManifest.
To declare your activity, open your manifest file and add an <activity> element as a child of the <application> element. For example: <manifest ... > The only required attribute for this element is android:name, which specifies the class name of the activity.
Android apps manage permissions, device features, and other settings in the AndroidManifest. xml file, which is located at android/app/src/main/AndroidManifest.
I am doing the same thing and had to hunt around for it, but after I did a react-native run-android
I found that very file in the following folder: android
> app
> src
> main
.
if you are using VS Code for React Native development, you can find AndroidManifest.xml in android directory of the app folder as follows:
android\app\src\main
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With