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

Distribute the library only as aar (not as jar) #91

Merged
merged 5 commits into from
Jan 18, 2016

Conversation

larsgrefer
Copy link
Contributor

see and close #90

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<!-- Optional: To see which Activity was active at the time of a crash -->
<uses-permission android:name="android.permission.GET_TASKS" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I wouldn't put these two here as they are automatically added to all consumers requiring opt-out. Opt-in seems a much better strategy for the optional permissions.

@@ -49,13 +43,12 @@ Configuring Your AndroidManifest
</application>
```

- Enable the `INTERNET`, `ACCESS_NETWORK_STATE` and `GET_TASKS` permissions:
- Optional: Enable the `ACCESS_NETWORK_STATE` and `GET_TASKS` permissions:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd rather say "recommended" here, since having these available massively aids in debugging. We can possibly remove GET_TASKS since we get this information by default now in Android 5.0+.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@loopj What is your opinion about this comment by @JakeWharton : #91 (comment)

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree with Jake, these should not be automatically added (only INTERNET should be automatic, as it is 100% required).

@larsgrefer
Copy link
Contributor Author

The PR is ready to merge now. Please review and merge @kattrali

@kattrali
Copy link
Contributor

kattrali commented Jan 8, 2016

This looks good to me. Is there any reason we would need to keep jar distribution around?

/cc @snmaynard

android:versionName="1.0">

<!-- Required: Used to deliver Bugsnag crash reports -->
<uses-permission android:name="android.permission.INTERNET" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Its nice to be able to guarantee this is enabled as well. 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is one of the reasons for this PR 👍
see #50

Copy link
Contributor

Choose a reason for hiding this comment

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

Of course, just good to see it in action. :)

kattrali added a commit that referenced this pull request Jan 11, 2016
Distribute the library only as aar (not as jar)
@larsgrefer
Copy link
Contributor Author

@kattrali What is the current status of this?

@kattrali kattrali merged commit 047160c into bugsnag:master Jan 18, 2016
kattrali added a commit to bugsnag/bugsnag-unity that referenced this pull request Apr 15, 2016
Android Changelog
====

## 3.4.0 (2016-03-09)

### Enhancements

- Limit the number of stored errors
  [Duncan Hewett](https://github.com/duncanhewett)
  [#97](bugsnag/bugsnag-android#97)

### Bug Fixes

- Fix `ConcurrentModificationException` which could occur when saving
  breadcrumbs
  [Duncan Hewett](https://github.com/duncanhewett)
  [#98](bugsnag/bugsnag-android#98)

- Localize all numbers in error metrics
  [Delisa Mason](https://github.com/kattrali)
  [#100](bugsnag/bugsnag-android#100)

3.3.0 (2016-01-18)
-----

### Enhancements

- Change distribution method to be .aar only
  [Lars Grefer](https://github.com/larsgrefer)
  [#91](bugsnag/bugsnag-android#91)

- Skip sending empty device data values
  [Matthias Urhahn](https://github.com/d4rken)
  [#96](bugsnag/bugsnag-android#96)

- Remove the need for synthetic methods
  [Jake Wharton](https://github.com/JakeWharton)
  [#87](bugsnag/bugsnag-android#87)

3.2.7 (2015-12-10)
-----

### Enhancements

- Add additional check to ensure the cache of uploaded errors are deleted
  [#80](bugsnag/bugsnag-android#80)

### Bug Fixes

- Fix exception which occurs when `appContext.getResources()` is null
  [#78](bugsnag/bugsnag-android#78)

- Fix bug preventing `maxBreadcrumbs` from being set
  [David Wu](https://github.com/wuman)
  [#70](bugsnag/bugsnag-android#70)

3.2.6
-----
-   Add blocking API
-   Fix NPE issue
-   Concurrent adding to tabs
-   Thread Safe DateUtils#toISO8601
lemnik pushed a commit that referenced this pull request Jun 2, 2021
Fixes an issue in metadata key serialization where the key names
were replaced entirely with underscores.
rich-bugsnag pushed a commit that referenced this pull request Sep 3, 2021
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.

Distribute the library only as aar (not as jar)
4 participants