Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added possibility to have many Sentry instances and different http request mechanism #56

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

lsuski
Copy link

@lsuski lsuski commented Jun 20, 2016

I've made some refactorings to achieve my requirements. Firstly I didn't want to use deprecated apache client and I needed some security configuration of http request sending. Secondly I needed to use Sentry in library and to avoid any conflicts I've added possibility to have many Sentry instances. Finally I've made some optimisations, e.g. writing requests as JSON because Java Serialization is very unoptimal on Android, especially that Sentry already used JSON. I've also disabled logging for default - it can be turned on by calling setDebugLogging method.
Review carefully my changes.
Thanks

@marcomorain
Copy link
Collaborator

Hi @lsuski - thanks for the contribution. Sorry about not getting back to you sooner.

This diff is pretty large. I'd like to merge the features, but I think it's safer (and much easier to review) if we implement the changes in smaller chunks. I have implemented a similar change to yours, to use an executor service already.

I'm going to open a GitHub issues to track the individual changes here.

@marcomorain marcomorain mentioned this pull request Sep 23, 2016
4 tasks
lukasz.suski added 2 commits February 3, 2017 11:19
# Conflicts:
#	.idea/gradle.xml
#	build.gradle
#	sentry-android/build.gradle
#	sentry-android/sentry-android.iml
#	sentry-android/src/main/java/com/joshdholtz/sentry/Sentry.java
#	sentry-app/sentry-app.iml
#	sentry-app/src/main/java/com/joshdholtz/sentryapp/MainActivity.java
@lsuski
Copy link
Author

lsuski commented Feb 3, 2017

I've merged changes from your master branch to my fork. I've changed the way of sending contexts - this functionality is not default now and is available through AppInfoSentryCaptureListener. I've changed it because I don't need so many information about device and I have different release versioning beacuse I use Sentry in library. I've also fixed the way of passing credentials which causes Google Play warning.

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.

2 participants