Anonymous

My feedback

  1. 12 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: facebook google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    started  ·  4 comments  ·  General Feedback  ·  Flag idea as inappropriate…  ·  Admin →
    Anonymous commented  · 

    Actually, due to the fact that you could use multiple emulators or devices for development/testing, this could be not so easy.

    To achieve what youre asking for I've done this:

    private void initAcra(Application application) {
    ACRA.init(application);
    String isDebugBuild = BuildConfig.BUILD_TYPE.equals("debug") ? "1" : "0";
    ACRA.getErrorReporter().putCustomData("TRACEPOT_DEVELOP_MODE", isDebugBuild);
    }

    In this way you'll reports will be sent as "release" only if you actually performed a release version of your app.

Feedback and Knowledge Base