Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!

Unable to find AndroidManifest.xml from Android platform from Cordova

Avatar

Level 1

Using Cordova Android 8.0.0

Unable to find AndroidManifest.xml

 

Manually change plugin.xml

Spoiler
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.adobe.mobile.MessageFullScreenActivity" android:theme="@android:style/Theme.Translucent" />
<receiver android:name="com.adobe.mobile.MessageNotificationHandler" />
</config-file>
to 
 
Spoiler
<config-file target="app/src/main/AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<config-file target="app/src/main/AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.adobe.mobile.MessageFullScreenActivity" android:theme="@android:style/Theme.Translucent" />
<receiver android:name="com.adobe.mobile.MessageNotificationHandler" />
</config-file>
 
Can you help to modify your plugin to make it work without manually change by user?
0 Replies