Hello everyone,
I have had an iOS and Android application available on the app stores (iOS and Android) for over a year now. While I’m not a C++ expert, I am quite satisfied with the overall result of my application. It’s a comprehensive application, but unfortunately, around 3% of users are experiencing crashes (ANR or app crashes). I use Firebase Crashlytics to track issues. This percentage is too high. The crashes occur either within the JUCE library or, occasionally (0.4% of the time), during the display of an Admob ad. I’ve attempted to share the details of these issues on the forum in the past, but no one has been able to assist me.
I’m curious if there are any JUCE (Full, including the JUCE interface) users on iOS and Android who have encountered very few bugs. Regrettably, I lack the expertise to understand all the intricacies of JUCE’s code, and I can’t reproduce these bugs on my own devices.
In general, it appears that these crashes may be related to overlaying pages, displaying a web page on top, showing an ad on top, returning to my app, cleanly closing my app, and managing threads, among other things.
My JUCE application interface (JUCEApplication) is standard, but there are instances when I need to display a web page (e.g., Terms Of Use or Privacy Policy) or a store page (Appstore Connect, pay or PlayStore Rate And Review), share pages (audio or midi), or show an ad (Google Admob), and my crashes occur during these moments. Therefore, it’s possible that the issue lies in how my application launches (main.cpp) or in managing the suspended() or resumed() states. I don’t know.
Understanding the Firebase Crashlytics reports is challenging because these issues seem to originate outside of my code.
If anyone can provide guidance, advice, or any help that can help me improve and finally have a stable application, it would be greatly appreciated. I would also be grateful for the opportunity to connect with someone who has a comprehensive application running smoothly on both iOS and Android.
I understand that many JUCE users primarily focus on creating plugins rather than smartphone applications, but I’m hopeful that I can find some assistance. I’m also aware that there are individuals who use JUCE on smartphones, primarily for audio processing, and they may utilize native iOS and Android interfaces for visual components.
I’m more than willing to share whatever is necessary, be it code, Crashlytics data, or anything else that could be of help.
Thank you very much,
ToBy