Dec 21, 2017 Replies: 41 Make sure to use B4A v13.4+ with the recommended SDK: https://www.b4x.com/b4a.html Follow firebase integration tutorial: Integrating Firebase Services Add a reference to OkHttpUtils2. Add to Main: Code: Copy #AdditionalJar: com.google.firebase:firebase-crashlytics #AdditionalJar: com.google.android.datatransport:transport-runtime #AdditionalJar: com.google.android.datatransport:transport-backend-cct Make sure that #VersionName attribute is not empty. It will not work with an empty value. Add to manifest editor: Code: Copy CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase) CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase) CreateResourceFromFile(Macro, FirebaseAnalytics.Crashlytics) Make sure that Crashlytics is enabled in Firebase console and crash the app in release mode. You can use this code: Code: Copy Dim i As Int = "aaa" The crash should appear in Firbease console under Quality - Crashlytics after a few minutes. Last edited: Jul 9, 2025 Click to expand...
Make sure to use B4A v13.4+ with the recommended SDK: https://www.b4x.com/b4a.html Follow firebase integration tutorial: Integrating Firebase Services Add a reference to OkHttpUtils2. Add to Main: Code: Copy #AdditionalJar: com.google.firebase:firebase-crashlytics #AdditionalJar: com.google.android.datatransport:transport-runtime #AdditionalJar: com.google.android.datatransport:transport-backend-cct Make sure that #VersionName attribute is not empty. It will not work with an empty value. Add to manifest editor: Code: Copy CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase) CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase) CreateResourceFromFile(Macro, FirebaseAnalytics.Crashlytics) Make sure that Crashlytics is enabled in Firebase console and crash the app in release mode. You can use this code: Code: Copy Dim i As Int = "aaa" The crash should appear in Firbease console under Quality - Crashlytics after a few minutes.
Erel B4X founder Staff member Licensed User Longtime User Aug 30, 2018 #21 I've updated the instructions.
wizard699 Active Member Licensed User Longtime User Sep 6, 2018 #22 Hi Erel. In which tutorial you have update instructions? This? https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ And, is it necessary also add Code: Copy #AdditionalJar: com.google.android.gms:play-services-measurement-base ? Thanks
Hi Erel. In which tutorial you have update instructions? This? https://www.b4x.com/android/forum/threads/crashlytics-crash-reports.87510/ And, is it necessary also add Code: Copy #AdditionalJar: com.google.android.gms:play-services-measurement-base ? Thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 6, 2018 #23 wizard699 said: Hi Erel. In which tutorial you have update instructions? Click to expand... First post. wizard699 said: And, is it necessary also add Click to expand... No.
wizard699 said: Hi Erel. In which tutorial you have update instructions? Click to expand... First post. wizard699 said: And, is it necessary also add Click to expand... No.
tufanv Expert Licensed User Longtime User Sep 15, 2018 #24 Do we need to register to fabric.io site because waited about 10 minutes and crash reports are not coming yet. maybe it takes time. edit: ok nearly after 10 minutes , they started to come. Thanks ! Last edited: Sep 15, 2018
Do we need to register to fabric.io site because waited about 10 minutes and crash reports are not coming yet. maybe it takes time. edit: ok nearly after 10 minutes , they started to come. Thanks !
D Deleted member 103 Guest Oct 24, 2018 #25 The long GUID id should be changed whenever you make a new release. It uniquely identifies the build. You can change one or more of the hex digits. Click to expand... Is there an automatism or does it have to be changed manually?
The long GUID id should be changed whenever you make a new release. It uniquely identifies the build. You can change one or more of the hex digits. Click to expand... Is there an automatism or does it have to be changed manually?
DonManfred Expert Licensed User Longtime User Oct 24, 2018 #26 Filippo said: Is there an automatism Click to expand... no
D Deleted member 103 Guest Oct 24, 2018 #27 DonManfred said: no Click to expand... Then I have to come up with something.
DonManfred Expert Licensed User Longtime User Oct 24, 2018 #28 Filippo said: Then I have to come up with something. Click to expand... you can write a b4j app which is called in a custombuildaction which then changes the B4A File (the Manifestpart) using regex for ex. to find the value and change it.
Filippo said: Then I have to come up with something. Click to expand... you can write a b4j app which is called in a custombuildaction which then changes the B4A File (the Manifestpart) using regex for ex. to find the value and change it.
D Deleted member 103 Guest Oct 24, 2018 #29 DonManfred said: you can write a b4j app which is called in a custombuildaction which then changes the B4A File (the Manifestpart) using regex for ex. to find the value and change it. Click to expand... I know, but I prefer programming that in Visual Studio.
DonManfred said: you can write a b4j app which is called in a custombuildaction which then changes the B4A File (the Manifestpart) using regex for ex. to find the value and change it. Click to expand... I know, but I prefer programming that in Visual Studio.
SMOOTSARA Active Member Licensed User Longtime User Sep 18, 2020 #31 Erel said: Google has deprecated the old method. The instructions were updated. Note that the old class is no longer required. Make sure to use B4A v10.2+ with the recommended SDK: https://www.b4x.com/b4a.html Follow firebase integration tutorial: Integrating Firebase Services Add a reference to OkHttpUtils2. Add to Main: Code: Copy #AdditionalJar: com.google.firebase:firebase-crashlytics Make sure that #VersionName attribute is not empty. It will not work with an empty value. Add to manifest editor: Code: Copy CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase) CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase) CreateResourceFromFile(Macro, FirebaseAnalytics.Crashlytics) Make sure that Crashlytics is enabled in Firebase console and crash the app in release mode. You can use this code: Code: Copy Dim i As Int = "aaa" The crash should appear in Firbease console under Quality - Crashlytics after a few minutes. Click to expand... hi If we use the B4X: Copy Try Dim i As Int = "aaa" Catch Log(LastException.Message) End Try Will this error be sent to Firebase again? If the answer is no, how can we send this error to Firebase? thankyou Last edited: Sep 18, 2020
Erel said: Google has deprecated the old method. The instructions were updated. Note that the old class is no longer required. Make sure to use B4A v10.2+ with the recommended SDK: https://www.b4x.com/b4a.html Follow firebase integration tutorial: Integrating Firebase Services Add a reference to OkHttpUtils2. Add to Main: Code: Copy #AdditionalJar: com.google.firebase:firebase-crashlytics Make sure that #VersionName attribute is not empty. It will not work with an empty value. Add to manifest editor: Code: Copy CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase) CreateResourceFromFile(Macro, FirebaseAnalytics.Firebase) CreateResourceFromFile(Macro, FirebaseAnalytics.Crashlytics) Make sure that Crashlytics is enabled in Firebase console and crash the app in release mode. You can use this code: Code: Copy Dim i As Int = "aaa" The crash should appear in Firbease console under Quality - Crashlytics after a few minutes. Click to expand... hi If we use the B4X: Copy Try Dim i As Int = "aaa" Catch Log(LastException.Message) End Try Will this error be sent to Firebase again? If the answer is no, how can we send this error to Firebase? thankyou
Michael2150 Member Licensed User Sep 18, 2020 #32 Do we still need the Crashlytics class in the project?
asales Expert Licensed User Longtime User Sep 18, 2020 #33 arastoo said: Will this error be sent to Firebase again? Click to expand... I don't see the error in Firebase Console If I use the try..catch. arastoo said: If the answer is no, how can we send this error to Firebase? Click to expand... Use the events of Firebase Analitics (I don't know other way): B4X: Copy Catch Log(LastException.Message) Starter.analytics.SendEvent("FirebaseError", LastException.Message)
arastoo said: Will this error be sent to Firebase again? Click to expand... I don't see the error in Firebase Console If I use the try..catch. arastoo said: If the answer is no, how can we send this error to Firebase? Click to expand... Use the events of Firebase Analitics (I don't know other way): B4X: Copy Catch Log(LastException.Message) Starter.analytics.SendEvent("FirebaseError", LastException.Message)
asales Expert Licensed User Longtime User Sep 18, 2020 #34 Michael2150 said: Do we still need the Crashlytics class in the project? Click to expand... No, If you use the new Firebase Crashlytics instructions: B4A v10.2 BETA is available for download This update adds support for the latest version of Firebase, Crashlytics and Android SDK. B4ASdkManager updated to support latest version of Android SDK command line tools. Firebase libraries updated to support latest version of Firebase SDK. OkHttp updated based on OkHttp 3.14.9. Support for... www.b4x.com
Michael2150 said: Do we still need the Crashlytics class in the project? Click to expand... No, If you use the new Firebase Crashlytics instructions: B4A v10.2 BETA is available for download This update adds support for the latest version of Firebase, Crashlytics and Android SDK. B4ASdkManager updated to support latest version of Android SDK command line tools. Firebase libraries updated to support latest version of Firebase SDK. OkHttp updated based on OkHttp 3.14.9. Support for... www.b4x.com
SMOOTSARA Active Member Licensed User Longtime User Sep 19, 2020 #35 asales said: No, If you use the new Firebase Crashlytics instructions: B4A v10.2 BETA is available for download This update adds support for the latest version of Firebase, Crashlytics and Android SDK. B4ASdkManager updated to support latest version of Android SDK command line tools. Firebase libraries updated to support latest version of Firebase SDK. OkHttp updated based on OkHttp 3.14.9. Support for... www.b4x.com Click to expand... Hello Thank you for your guidance Do we need to add a " Firebase Crashlytics " library and B4A v10.2 BETA is available for download This update adds support for the latest version of Firebase, Crashlytics and Android SDK. B4ASdkManager updated to support latest version of Android SDK command line tools. Firebase libraries updated to support latest version of Firebase SDK. OkHttp updated based on OkHttp 3.14.9. Support for... www.b4x.com
asales said: No, If you use the new Firebase Crashlytics instructions: B4A v10.2 BETA is available for download This update adds support for the latest version of Firebase, Crashlytics and Android SDK. B4ASdkManager updated to support latest version of Android SDK command line tools. Firebase libraries updated to support latest version of Firebase SDK. OkHttp updated based on OkHttp 3.14.9. Support for... www.b4x.com Click to expand... Hello Thank you for your guidance Do we need to add a " Firebase Crashlytics " library and B4A v10.2 BETA is available for download This update adds support for the latest version of Firebase, Crashlytics and Android SDK. B4ASdkManager updated to support latest version of Android SDK command line tools. Firebase libraries updated to support latest version of Firebase SDK. OkHttp updated based on OkHttp 3.14.9. Support for... www.b4x.com
asales Expert Licensed User Longtime User Sep 19, 2020 #36 arastoo said: Do we need to add a " Firebase Crashlytics " library Click to expand... This is a question?? If yes: you need the Firebase Analytics lib 2.00 and follow the instrucions.
arastoo said: Do we need to add a " Firebase Crashlytics " library Click to expand... This is a question?? If yes: you need the Firebase Analytics lib 2.00 and follow the instrucions.
F fishwolf Well-Known Member Licensed User Longtime User Sep 26, 2020 #37 I have enable crash analitics on firebase console, but don't exit from this status (waiting) Last edited: Sep 26, 2020
asales Expert Licensed User Longtime User Sep 26, 2020 #38 fishwolf said: I have enable crash analitics on firebase console, but don't exit from this status (waiting) View attachment 100527 Click to expand... Did you use this code to make a crash in the app and "start" the crashlytics? B4X: Copy Dim i As Int = "aaa"
fishwolf said: I have enable crash analitics on firebase console, but don't exit from this status (waiting) View attachment 100527 Click to expand... Did you use this code to make a crash in the app and "start" the crashlytics? B4X: Copy Dim i As Int = "aaa"
F fishwolf Well-Known Member Licensed User Longtime User Sep 27, 2020 #39 asales said: Did you use this code to make a crash in the app and "start" the crashlytics? B4X: Copy Dim i As Int = "aaa" Click to expand... I have done, but the console is not enabled
asales said: Did you use this code to make a crash in the app and "start" the crashlytics? B4X: Copy Dim i As Int = "aaa" Click to expand... I have done, but the console is not enabled
F fishwolf Well-Known Member Licensed User Longtime User Sep 27, 2020 #40 fishwolf said: I have done, but the console is not enabled Click to expand... I have discovery that when add jar tha app crash Code: Copy #AdditionalJar: com.google.firebase:firebase-crashlytics
fishwolf said: I have done, but the console is not enabled Click to expand... I have discovery that when add jar tha app crash Code: Copy #AdditionalJar: com.google.firebase:firebase-crashlytics