JEN PERSON: Duh, duh, duh.
SHOBHIT CHUGH: I did that yesterday before my talk.
JEN PERSON: Yes.
You got to do it.
SHOBHIT CHUGH: Yes.
JEN PERSON: Do something like airboxing.
It works.
CREW: Take one.
Mark.
[CLAPS CLAPPERBOARD]
JEN PERSON: Hey, all you Firebase developers.
Welcome to another episode of Ask Firebase, the show
where we answer your burning Firebase questions.
I'm Jen Person, developer advocate.
And today I am joined by Shobhit Chugh.
So talk about what it is that you do for Firebase.
SHOBHIT CHUGH: So I do a very exciting job.
I'm a product manager for Firebase Crashlytics
and for our integrations.
JEN PERSON: That's really great.
I know that we had so many people that
might be newer to Firebase that were big fans of Fabric
and are really eager to see how Crashlytics is fully
incorporated into Firebase.
SHOBHIT CHUGH: Awesome.
JEN PERSON: So I have gathered some questions
about Crashlytics.
And I'm hoping you can help me answer them.
SHOBHIT CHUGH: I will try.
JEN PERSON: All right.
Let's do this.
Tony_89 wants to know, I want to upgrade
the latest version of our Android application
to use Crashlytics.
However, an older version of the app is using Crash Reporting.
Is it possible for them to upgrade to Crashlytics?
And is this going to break Crash Reporting on their older
version of the application?
SHOBHIT CHUGH: So, they can absolutely upgrade.
In fact, we encourage people to upgrade as soon as possible so
that, as your app rolls out, all of the devices
are now reporting to Crashlytics rather than to Firebase Crash
Reporting.
After September 9th, there will be no access to the Firebase
Crash Reporting Console.
There might be some old devices that
would never upgrade their apps.
And unfortunately, they will not report to Crashlytics.
So that is why I encourage you to upgrade as soon as possible.
JEN PERSON: OK.
So that's a really good callout there.
From September 9th onwards, Crash Reporting
is going to be fully retired.
So the short answer is yes, you can upgrade to Crashlytics,
and you should.
SHOBHIT CHUGH: Yes.
JEN PERSON: Welcome aboard.
Check out our docs.
We'll link below so that you can check out how to upgrade.
OK.
What do I have here?
CutikoLive asks, "What happens when different app variants use
Crashlytics?"
If each variant has its own Google services JSON,
what happens there?
SHOBHIT CHUGH: The way we treat variants
is each variant appears as a separate Firebase app.
So go ahead, use Crashlytics it for all of them.
What we do recommend is that you build and run each variant.
That way, we know that version of the app
has started reporting data to Firebase Crashlytics.
And you can see it in the console just
like any other Firebase app.
JEN PERSON: Cool.
Very good to know.
Thank you.
Oh, Javier, my man.
Javier says, so on--
no.
OK.
It's like I picked all of the questions just
to trip myself up.
Javier wants to know if someone knows if he can disable mailing
for Crashlytics.
SHOBHIT CHUGH: Absolutely.
So at the bottom of every email you
get is a link to Alert Settings.
You can go there, and you can do a whole bunch of things.
So, one, you can disable all emails.
You can disable selective emails.
So, for example, you might be getting
a lot of emails related to new issues,
so you might want to just disable that
but keep regressed issues and velocity alerts on.
Also, I would encourage you to check out our integrations
with Slack and Jira.
Sometimes it's more appropriate to send these issues
to, for example, a common Slack room
that your team uses so that everybody can get them
without getting individual emails.
That's a good alternative to using email alerts.
JEN PERSON: Great.
That's a very good callout.
So you can shut all email off.
You can have select emails.
I love the callout of routing to Slack or Jira
so that you can really, instead of just you getting the emails,
anyone out on your team who that's
relevant to is going to get them.
SHOBHIT CHUGH: Include your team.
JEN PERSON: Belen brought up this question.
They said, I'm using Crashlytics for Firebase,
and the crash reports are being uploaded
fine to the Crashlytics console.
Now, my intention is to upload a crash report only
if the user consents to do so.
For that, I want to show the report to the user
and ask if they want to send it.
I want to do that with every crash that occurs.
Is that something that's possible?
SHOBHIT CHUGH: Right.
So you can absolutely do that.
The way to do this is you do a custom uncaught exception
handler.
You initialize Crashlytics just as usual.
Now, when you invocate the uncaught exception method,
there you can check if the user has given permission.
Maybe you want to show the crash to the user
then and ask them for permission.
I would recommend a slightly different approach,
which is maybe at startup time or when the first time a crash
occurs, ask the user if they just
want to send every crash over.
Very often people will just want you to do that and not
see every crash.
Store the bit, and then you can send crashes directly
to Crashlytics without checking each time.
But you can, absolutely, using this method--
and we'll post a link--
check if the user has given permission
and send crashes only then.
JEN PERSON: Great.
That's a really great callout.
And I thought that was a really good point, especially
these days when it comes to people
sharing their information.
SHOBHIT CHUGH: Right.
JEN PERSON: That is a really good callout.
And I agree.
I don't know about you, but I have
certain applications on my computer
that crash more than others.
And after the first time, I cross it out.
I'm like I don't even want to--
I don't want to know.
I don't want to talk about it.
So that's a good callout just have them opt in once.
SHOBHIT CHUGH: So Prasanna Boppe asks, how many apps--
whether it's iOS, Android, or web--
can be added to a single Firebase Project?
JEN PERSON: The short answer is there
is no limit to the number of apps you can add.
However, if you are adding multiple apps,
if you are getting to the point where
you think you might be hitting some kind of limit,
that's a good time to stop and reflect on what are we
doing with these applications?
And why are they required?
If you're in some kind of, let's say,
contractor/vendor situation where you might be making
different applications for different vendors,
that's probably a better opportunity
to have separate projects.
Because, again, whenever you have some sort of data security
questions, it would be so much easier
to have that siloed in a separate database
so you don't have to worry about setting up the perfect database
rules to prevent the wrong information from going
to the wrong application.
So, yes, there is no hard limit on that.
But ask why you might need more apps,
and see if that's really the best solution for you.
SHOBHIT CHUGH: Yes.
That's a great answer, especially
as it relates to security.
It's important.
JEN PERSON: Right.
Yes, what kind of data are you getting from this?
What kind of analytics are you getting?
Are they going to make sense if you have
a whole bunch of applications?
SHOBHIT CHUGH: Right.
JEN PERSON: Thanks so much for coming on the show
and answering some questions about Crashlytics.
SHOBHIT CHUGH: My pleasure.
I totally loved it.
JEN PERSON: Yes.
I learned so much.
And thank all of you for submitting your questions.
Please keep them coming our way.
It's the main key.
We cannot do the show if you don't keep giving us questions.
So make sure you post those questions with #AskFIrebase.
And if you enjoyed the show, be sure to like.
Subscribe to the channel to check out other cool content.
Thanks so much for watching, and I'll
see you on a future episode.
SHOBHIT CHUGH: Bye.
So there's these chocolate covered almonds
that is absolutely amazing.
They're the best thing ever.
JEN PERSON: That's a really good one,
but I definitely enjoy banana chips.