Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to generate AndroidManifest.xml from a react-native app created with react-native init

Tags:

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?

like image 794
Jodi Parker Avatar asked Jul 12 '17 14:07

Jodi Parker


People also ask

Where is the AndroidManifest xml file in React Native?

Open your Android project and go to <AppProjectFolder>/app/src/main/. Open the app manifest file AndroidManifest.

How do I add activity to manifest xml?

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.

Where is AndroidManifest xml capacitor?

Android apps manage permissions, device features, and other settings in the AndroidManifest. xml file, which is located at android/app/src/main/AndroidManifest.


2 Answers

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.

enter image description here

like image 63
Sara Inés Calderón Avatar answered Sep 20 '22 15:09

Sara Inés Calderón


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

like image 43
Muhammad Shakir Avatar answered Sep 18 '22 15:09

Muhammad Shakir