Skip to content

Comments

Enable Sentry Release tracking by default#78

Merged
marcomorain merged 1 commit intojoshdholtz:masterfrom
marcomorain:feature-package-version
Sep 23, 2016
Merged

Enable Sentry Release tracking by default#78
marcomorain merged 1 commit intojoshdholtz:masterfrom
marcomorain:feature-package-version

Conversation

@marcomorain
Copy link
Collaborator

If events have a 'release' attribute set, then Sentry will
automcatiically the first and last release in which events occured.

This change makes the client read the package's versionCode and use that
as the 'release' by default. The versionCode is an integer that
increases, and therefore is a perfect candidate for release tracking.

The user can continue to use an event capture listener to set the
release manaully, which will override this new default value.

Fixes #71

return new File(context.getCacheDir(), "crashes");
}

private static String getStackTrace(Throwable t) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~ this was unused

@marcomorain
Copy link
Collaborator Author

I like this one @joshdholtz :)

@marcomorain marcomorain force-pushed the feature-package-version branch 2 times, most recently from 0e29610 to a28bbc9 Compare September 23, 2016 21:32
If events have a 'release' attribute set, then Sentry will
automcatiically the first and last release in which events occured.

This change makes the client read the package's versionCode and use that
as the 'release' by default. The versionCode is an integer that
increases, and therefore is a perfect candidate for release tracking.

The user can continue to use an event capture listener to set the
release manaully, which will override this new default value.

Fixes joshdholtz#71
@marcomorain marcomorain force-pushed the feature-package-version branch from a28bbc9 to a9d792e Compare September 23, 2016 21:39
@marcomorain marcomorain merged commit c1e3845 into joshdholtz:master Sep 23, 2016
@marcomorain marcomorain deleted the feature-package-version branch September 23, 2016 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant