Hi,
I am trying to understand how the Crashlytics works.
I have followed the tutorials and added it to one of my apps and it seems to works, kind of.
In the Starter Service, if I set the Application_Error to return True, then it seems to send the crash report to firebase Crashlytics which is fine and it works.
If I set the Application_Error to return False then it doesn't report to firebase Crashlytics.
If it's set to return False then my app doesn't crash and the user won't see any errors and my app continues to run. If I have it set to True and the app has an error then it will force close and ask the user to re-open it.
Is there a way to still report the crash when returning False in the Application_Error sub ?
Also, I noticed there is CL.CLog("msg") and also CL.SetKey("key","value")
What does that actually do? I tried putting that code on a button click but didn't see anything happen and didn't see anything log in the firebase Crashlytics. (unless I am looking in the wrong place?) Even waited a good hour after using the Clog and SetKey and nothing in firebase.
Also, is the following required in the Manifest for the Crashlytics to work ?
I am trying to understand how the Crashlytics works.
I have followed the tutorials and added it to one of my apps and it seems to works, kind of.
In the Starter Service, if I set the Application_Error to return True, then it seems to send the crash report to firebase Crashlytics which is fine and it works.
If I set the Application_Error to return False then it doesn't report to firebase Crashlytics.
If it's set to return False then my app doesn't crash and the user won't see any errors and my app continues to run. If I have it set to True and the app has an error then it will force close and ask the user to re-open it.
Is there a way to still report the crash when returning False in the Application_Error sub ?
Also, I noticed there is CL.CLog("msg") and also CL.SetKey("key","value")
What does that actually do? I tried putting that code on a button click but didn't see anything happen and didn't see anything log in the firebase Crashlytics. (unless I am looking in the wrong place?) Even waited a good hour after using the Clog and SetKey and nothing in firebase.
Also, is the following required in the Manifest for the Crashlytics to work ?
B4X:
CreateResourceFromFile(Macro, FirebaseAnalytics.FirebaseAnalytics)
Last edited: