Skip to content

Commit

Permalink
plugin.xml test
Browse files Browse the repository at this point in the history
  • Loading branch information
oranedir committed Feb 22, 2022
1 parent b4cf962 commit 4f499d8
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@
<intent-filter>
<action android:name="FCM_PLUGIN_ACTIVITY"/>
<category android:name="android.intent.category.DEFAULT"/>
<action android:exported="true"/>

</intent-filter>
</activity>
<service android:name="com.gae.scaffolder.plugin.MyFirebaseMessagingService" android:stopWithTask="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
<action android:exported="true"/>
</intent-filter>
</service>
<meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="$ANDROID_DEFAULT_NOTIFICATION_ICON"/>
</config-file>
Expand All @@ -44,12 +47,7 @@
<preference name="AndroidXEnabled" value="true"/>
</platform>
</config-file>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='com.gae.scaffolder.plugin.FCMPluginActivity']">
<activity android:exported="true" android:name="com.gae.scaffolder.plugin.FCMPluginActivity"/>
</edit-config>
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application/service[@android:name='com.gae.scaffolder.plugin.MyFirebaseMessagingService']">
<activity android:exported="true" android:name="com.gae.scaffolder.plugin.MyFirebaseMessagingService"/>
</edit-config>

<framework src="src/android/FCMPlugin.gradle" custom="true" type="gradleReference"/>
<source-file src="src/android/com/gae/scaffolder/plugin/FCMPlugin.java" target-dir="src/com/gae/scaffolder/plugin"/>
<source-file src="src/android/com/gae/scaffolder/plugin/FCMPluginChannelCreator.java" target-dir="src/com/gae/scaffolder/plugin"/>
Expand Down

0 comments on commit 4f499d8

Please sign in to comment.