FOSS Crash Reporting Tools

Are there other tools alongside ACRA that F-Droid accepts? For example Bugsnag?

1 Like

Bugsnag looks interesting.

But why is it neccessary to send the bugs via a 3d-party-service and to register for an account? If i have seen it correctly only the bug reporter is open-source but not the bug-processing service.

I am using my own minimalistic gpl crash reporter https://github.com/k3b/APhotoManager/blob/FDroid/app/src/main/java/de/k3b/android/util/LogCat.java that catches all uncaught exceptions and writes the content of the recent logcat to a file.

It must be initialized with all the logger-names in Application.onCreate().

Here is an example)

import de.k3b.android.util.LogCat;
public class AndroFotoFinderApp extends Application {
	private LogCat mCrashSaveToFile = null;

	@Override public void onCreate() {
		...
		mCrashSaveToFile = new LogCat(this, Global.LOG_CONTEXT, HugeImageLoader.LOG_TAG,
				PhotoViewAttacher.LOG_TAG, CupcakeGestureDetector.LOG_TAG,
				FotoLibGlobal.LOG_TAG, ThumbNailUtils.LOG_TAG, IMapView.LOGTAG,
				ExifInterface.LOG_TAG, ImageMetaReader.LOG_TAG);

	}

	@Override
	public void onTerminate() {
		Log.i(Global.LOG_CONTEXT, getAppId() + " terminated");
		if (mCrashSaveToFile != null) {
			mCrashSaveToFile.close();
		}
		mCrashSaveToFile = null;
		super.onTerminate();
	}

	public void saveToFile() {
		if (mCrashSaveToFile != null) {
			mCrashSaveToFile.saveToFile();
		}
	}
	public void clear() {
		if (mCrashSaveToFile != null) {
			mCrashSaveToFile.clear();
		}
	}
}

It is privacy friendly as it does not automatically send any report, just write it to a local file.

3 Likes

I think that it is good to know if and why my app crashes without the need of users to contact me actively.
Some users may not contact me and just uninstall the app and I have no chance to fix the bugs.

A fully agree that this is usefull.

I assume that fdroid privacy requires “active user-optin” to send a crash report.

so sending it through an email should be as good without the requirement of a 3d party.

1 Like

A bit off-topic, but I wonder if F-Droid would allow apps made with Unity and/or OneSignal? :thinking:

It seems those are non-free libraries. F-Droid requires that all apps be free software. So, no.

1 Like

Maybe Godot would be an alternative to Unity?
There are no other real alternatives I suppose. :thinking:

If the game is already finished in Unity, I would suggest to make an own repo.
For new games, you can try out Godot. Do you agree, @blendergeek & @k3b?

2 Likes

If you use Godot, it looks like you could make an F-Droid compatible game. If you do, I will probably play it.

I really don’t know much about game development as I am not a gamer at all. But Godot seems like a good Free/Libre Open Source option for game engines as far as I know (which is reading the front text on their website).

There is also libgdx. There are both libgdx and godot games in F-Droid.

2 Likes

(thx to @NicoAlt for) re-open:

linked to Check our APKs with Exodus (#566) · Issues · F-Droid / fdroidserver · GitLab , I’m looking for fdroid state of the art on these:

Bugsnag____com.bugsnag.____https://docs.bugsnag.com/platforms/android/sdk/#identifying-users____nc____9999
DebugDrawer____io.palaima.debugdrawer.____https://github.com/palaima/DebugDrawer____nc____9999
Buglife____com.buglife.sdk____https://buglife.com/docs/android____nc____9999
Flipper____com.facebook.flipper.____https://github.com/facebook/flipper/search?q=com.facebook.flipper&unscoped_q=com.facebook.flipper____nc____9999
Rollbar____com.rollbar.android.____https://docs.rollbar.com/docs/android____nc____9999
Critic____io.inventiv.critic.____https://github.com/inventivtools/inventiv-critic-android____nc____9999
Raygun____main.java.com.mindscapehq.android.raygun4android____https://raygun.com/documentation/language-guides/android/installation/____nc____9999
Custom Activity On Crash____cat.ereza.customactivityoncrash____https://github.com/Ereza/CustomActivityOnCrash____nc____9999
?Instabug____com.instabug.library.Instabug____https://instabug.com/platforms/android____nc____8888
?Doorbell____https://github.com/doorbell/android-sdk
?android-issue-reporter____com.heinrichreimersoftware.androidissuereporter.____https://github.com/heinrichreimer/android-issue-reporter
?Gitty Reporter____com.github.paolorotolo.gitty_reporter.____https://github.com/paolorotolo/GittyReporter

Are they eligible to fdroid policy ?

Also interested about fdroid users general feedback on

Google Ads-Consent____com.google.ads.consent____https://developers.google.com/admob/android/eu-consent____nc____8888
Mozilla___org.mozilla.gecko.telemetry.____https://github.com/mozilla-mobile/android-components/search?q=telemetry&unscoped_q=telemetry____nc____9999
Mozilla___org.mozilla.telemetry.____https://github.com/mozilla-mobile/android-components/search?q=telemetry&unscoped_q=telemetry____nc____9999

Thx

EDIT: Instabug seems to have Firebase embedded (?): Repository search results · GitHub. (and Bugly BugSense are closed source)

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.