Semen Matusovskiy Well-Known Member Licensed User Oct 30, 2020 #1 Hi, guys - I got an eMail, that the Fabric SDK will work until November 15, 2020 only. To update a program according https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ was simple. But remains a problem, which I was not able to fix with old SDK also. I output to log inside Catch. If there is a fatal exceptions, I can see messages in Firebase Console. If there are non-fatal exceptions only, I see nothing in Firebase Console. Any ideas ?
Hi, guys - I got an eMail, that the Fabric SDK will work until November 15, 2020 only. To update a program according https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ was simple. But remains a problem, which I was not able to fix with old SDK also. I output to log inside Catch. If there is a fatal exceptions, I can see messages in Firebase Console. If there are non-fatal exceptions only, I see nothing in Firebase Console. Any ideas ?
Erel B4X founder Staff member Licensed User Longtime User Nov 1, 2020 #2 Customize your Crashlytics crash reports | Firebase Crashlytics An overview of options to customize Firebase Crashlytics crash reports, including adding custom keys, log messages, and user identifiers, and reporting non-fatal exceptions. firebase.google.com Try this: Code: Sub Activity_Click Try Dim ii As Int = "dddd" Catch If LastException.IsInitialized Then GetCrashlytics.RunMethod("recordException", Array(LastException)) End If Log(LastException) End Try End Sub Private Sub GetCrashlytics As JavaObject Dim jo As JavaObject jo = jo.InitializeStatic("com.google.firebase.crashlytics.FirebaseCrashlytics").RunMethod("getInstance", Null) Return jo End Sub Note that the exception is not sent immediately. Upvote 0
Customize your Crashlytics crash reports | Firebase Crashlytics An overview of options to customize Firebase Crashlytics crash reports, including adding custom keys, log messages, and user identifiers, and reporting non-fatal exceptions. firebase.google.com Try this: Code: Sub Activity_Click Try Dim ii As Int = "dddd" Catch If LastException.IsInitialized Then GetCrashlytics.RunMethod("recordException", Array(LastException)) End If Log(LastException) End Try End Sub Private Sub GetCrashlytics As JavaObject Dim jo As JavaObject jo = jo.InitializeStatic("com.google.firebase.crashlytics.FirebaseCrashlytics").RunMethod("getInstance", Null) Return jo End Sub Note that the exception is not sent immediately.
Semen Matusovskiy Well-Known Member Licensed User Nov 1, 2020 #3 Exception itself is not very interesting , but a combination of log (own text)+ recordException works fine. Upvote 0
Exception itself is not very interesting , but a combination of log (own text)+ recordException works fine.