Expand my Community achievements bar.

Adobe Summit is live! Tune in to take part in the premier digital experience event.

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