mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 09:45:14 +00:00
fix: Remove fcmpushservice from manifest
This commit is contained in:
parent
003dbffbe4
commit
ca3cff8a07
2 changed files with 21 additions and 2 deletions
|
@ -82,12 +82,12 @@
|
||||||
|
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<service android:name=".FcmPushService"
|
<!-- <service android:name=".FcmPushService"
|
||||||
android:exported="false">
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</service>
|
</service> -->
|
||||||
|
|
||||||
<receiver android:exported="true" android:enabled="true" android:name=".UnifiedPushReceiver">
|
<receiver android:exported="true" android:enabled="true" android:name=".UnifiedPushReceiver">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
|
@ -15,6 +15,25 @@ index 8d58a3db..1d6d9600 100644
|
||||||
|
|
||||||
-//apply plugin: 'com.google.gms.google-services'
|
-//apply plugin: 'com.google.gms.google-services'
|
||||||
+apply plugin: 'com.google.gms.google-services'
|
+apply plugin: 'com.google.gms.google-services'
|
||||||
|
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
|
||||||
|
index 9cbecc16..1709ddc6 100644
|
||||||
|
--- a/android/app/src/main/AndroidManifest.xml
|
||||||
|
+++ b/android/app/src/main/AndroidManifest.xml
|
||||||
|
@@ -82,12 +82,12 @@
|
||||||
|
|
||||||
|
</activity>
|
||||||
|
|
||||||
|
- <!-- <service android:name=".FcmPushService"
|
||||||
|
+ <service android:name=".FcmPushService"
|
||||||
|
android:exported="false">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
||||||
|
</intent-filter>
|
||||||
|
- </service> -->
|
||||||
|
+ </service>
|
||||||
|
|
||||||
|
<receiver android:exported="true" android:enabled="true" android:name=".UnifiedPushReceiver">
|
||||||
|
<intent-filter>
|
||||||
diff --git a/android/app/src/main/kotlin/chat/fluffy/fluffychat/FcmPushService.kt b/android/app/src/main/kotlin/chat/fluffy/fluffychat/FcmPushService.kt
|
diff --git a/android/app/src/main/kotlin/chat/fluffy/fluffychat/FcmPushService.kt b/android/app/src/main/kotlin/chat/fluffy/fluffychat/FcmPushService.kt
|
||||||
index d9930f55..510e9845 100644
|
index d9930f55..510e9845 100644
|
||||||
--- a/android/app/src/main/kotlin/chat/fluffy/fluffychat/FcmPushService.kt
|
--- a/android/app/src/main/kotlin/chat/fluffy/fluffychat/FcmPushService.kt
|
||||||
|
|
Loading…
Reference in a new issue