0

I want to stop all Firebase Cloud Messaging functionality from my app completely. How can I do it? Does removing the Firebase project prevent the app from using all the Firebase Messaging related functionality? I tried disabling the Firebase Cloud Messaging API from Google's API console but it reenables itself automatically next I sent push notification using Firebase Cloud Messaging.

I just want to disable all Firebase Cloud Messaging related functionality from all versions of my app without creating another APK.

Ravi Patel
  • 2,136
  • 3
  • 32
  • 48

1 Answers1

2

if you want to stop all the servcices of firebse in your running app there are 2 ways to stop them ;-

1) remove all the SHA from firebase console. 2) Delete your firebase project from firebase console.

Sandeep Malik
  • 1,972
  • 1
  • 8
  • 17
  • Problem is if I remove the Firebase Project and it doesn't stop it. I will lose access to remote config and remote database too which prevents unauthorized users from using the app right now. I want to be sure before doing it. – Ravi Patel Apr 16 '19 at 09:58
  • if you don't want to delete project then remove all the SHA from your firebase project. – Sandeep Malik Apr 16 '19 at 09:59
  • It doesn't work. I removed SHA from the project. I can still receive Firebase Cloud Messaging push notification. – Ravi Patel Apr 16 '19 at 10:21
  • 1
    i search about your question on google and i found an answer i think it may be solve you proble :- https://stackoverflow.com/questions/43193215/firebase-cloud-messaging-handling-logout/43197589#43197589 – Sandeep Malik Apr 16 '19 at 10:26
  • I can't provide new version of the apk. I want to do this to stop the app from working. That means all the previous version of app must stop too. – Ravi Patel Apr 16 '19 at 10:34
  • now the final step is you can delete your project from firebase and it will surely stop your all services – Sandeep Malik Apr 16 '19 at 10:35
  • I'm gonna try that with test project first. – Ravi Patel Apr 16 '19 at 10:42
  • if my answer helps you then please appreciate the answer – Sandeep Malik Apr 16 '19 at 10:46
  • I tried removing Firebase Project but it still works normally. It may be due to the multiple sender feature of Firebase Messaging that I use. I contacted Google about this. – Ravi Patel Apr 17 '19 at 06:27