Sun, 17 Oct 2021 08:20:58 GMT
Join the conversation at slack.cordova.io
Sat, 16 Oct 2021 19:33:35 GMT
@ucheozoemena says
Hi folks, please I need some help updating my manifest.xml file.
I am trying to add the snippet under “Modify AndroidManifest” at <https://pushy.me/docs/resources/fcm-fallback-delivery|this link>. I already have an existing entry in my
config.xml
file that looks like this:<application android:usesCleartextTraffic="true"> </edit-config>``` So I tried changing it to this: ``` <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application"> <application android:usesCleartextTraffic="true"> <!-- Pushy Firebase Service --> <service android:name="me.pushy.sdk.services.PushyFirebaseService" android:exported="false" android:stopWithTask="false"> <intent-filter> <action android:name="com.google.firebase.MESSAGING_EVENT" /> </intent-filter> </service> </application> </edit-config>``` But that didn't work. I think what's throwing me off is how to add the nested `service` tag inside the `application` tag. Thanks in advance :simple_smile: .