sarriaroman / FabricPlugin

Fabric.io plugin for Cordova or Phonegap
MIT License
198 stars 159 forks source link

disable? #158

Closed csabbey closed 4 years ago

csabbey commented 4 years ago

My app expires, but some people aren't uninstalling it. Is there a way to disable Crashlytics, so I stop seeing errors for these users?

amymarsh4work commented 4 years ago

You need to go into the Fabric dashboard, find where you can change settings for your project (upper right). Then, you should see a bunch of releases of your app with version numbers, and toggle switches. Turn off the toggle for the old versions that you want to disable.

csabbey commented 4 years ago

Thanks, but I wanted to disable it for individual phones when the app expires, not disable it for everyone. I was hoping there was some programmatic way of disabling it on the app side.

On Thu, Jul 18, 2019, 6:51 AM Amy Marsh notifications@github.com wrote:

You need to go into the Fabric dashboard, find where you can find settings for your project (upper right). Then, you should see a bunch of releases of your app with version numbers, and toggle switches. Turn off the toggle for the old versions that you want to disable.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sarriaroman/FabricPlugin/issues/158?email_source=notifications&email_token=AAOHHHQDPJS66M7VTN4HDC3QABDMPA5CNFSM4HSH6NNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2IDHVY#issuecomment-512766935, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOHHHTVCF65PDB3KT4KWPLQABDMPANCNFSM4HSH6NNA .

amymarsh4work commented 4 years ago

In that case, I have tons more questions and it would be very time consuming for me to ask them all. I think your best way forward is to close this thread, and ask your question differently in a new one.

It would help to know the scenario you are dealing with, very specifically. Why do you want some users but not others to be running the same released version, yet some be expected to uninstall? See how this is confusing?

Start a new thread and give as much explanation and detail as possible (the business case), along with what platforms like Firebase or Ionic AppFlow your app is using that could be used to change the way the app behaves remotely. Maybe then someone will understand your problem and be able to help.

craig-at-rsg commented 4 years ago

It's actually not complicated - our app collects data from users for a few days, and we send them a gift card for their participation. We ask them to uninstall when the study is over through multiple methods (in-app popups, email, and paper instructions we mail out), but people still have the app on their phone years later, and we don't bother maintaining that much backwards compatibility (people are getting upgrades to newer versions that get errors because the existing in-app data isn't compatible). We silence other communications from the app, but we haven't found a way to silence Crashlytics.

amymarsh4work commented 4 years ago

OK, brainstorming options here, given the info I have:

Your problem seems simple to solve. It's time based. Unfortunately, I don't have much to go on. Are you collecting device ids and when they originally installed? Seems like a challenge would be a crash scenario immediately upon launching the app and how to prevent that. If you accomplished that, you could prevent the app from running other code that could result in errors. It would basically do nothing but show a landing screen of 'disabled - uninstall me'.

Best I can do.

amymarsh4work commented 4 years ago

I'd just add that we have this happening too, except the errors I see are for users that are running a version of the app that is months and months behind what's current. If you fail to get the help you need, you could investigate how to at least filter out the crashes you care about, and ignore the ones causing noise.

csabbey commented 4 years ago

Thanks for your help, Amy.

csabbey commented 4 years ago

From https://stackoverflow.com/a/49546854/2199492: The Firebase Crashlytics documentation explains that once reporting is enabled in an app session, it cannot be disabled.

So my answer is don't initialize it after my app expires.