|  | 
| 4 | 4 | 
 | 
| 5 | 5 | ### Changed | 
| 6 | 6 | 
 | 
| 7 |  | -- (react-native) Update bugsnag-android to v5.20.0 | 
|  | 7 | +- (react-native) Update bugsnag-android to v5.22.0 | 
| 8 | 8 |   - The number of threads reported can now be limited using `Configuration.setMaxReportedThreads` (defaulting to 200) | 
| 9 | 9 |     [bugsnag-android#1607](https://github.com/bugsnag/bugsnag-android/pull/1607) | 
| 10 | 10 |   - Improved the performance and stability of the NDK and ANR plugins by caching JNI references on start | 
| 11 | 11 |     [bugsnag-android#1596](https://github.com/bugsnag/bugsnag-android/pull/1596) | 
| 12 | 12 |     [bugsnag-android#1601](https://github.com/bugsnag/bugsnag-android/pull/1601) | 
|  | 13 | +  - Fix inconsistencies in stack trace quality for C/C++ events. Resolves a few | 
|  | 14 | +    cases where file and line number information was not resolving to the correct | 
|  | 15 | +    locations. This change may result in grouping changes to more correctly | 
|  | 16 | +    highlight the root cause of an event. | 
|  | 17 | +    [bugsnag-android#1605](https://github.com/bugsnag/bugsnag-android/pull/1605) | 
|  | 18 | +    [bugsnag-android#1606](https://github.com/bugsnag/bugsnag-android/pull/1606) | 
|  | 19 | +  - Fixed an issue where an uncaught exception on the main thread could in rare cases trigger an ANR. | 
|  | 20 | +    [bugsnag-android#1624](https://github.com/bugsnag/bugsnag-android/pull/1624) | 
|  | 21 | +  - Added `Bugsnag.isStarted()` to test whether the Bugsnag client is in the middle of initializing. This can be used to guard uses of the Bugsnag API that are either on separate threads early in the app's start-up and so not guaranteed to be executed after `Bugsnag.start` has completed, or where Bugsnag may not have been started at all due to some internal app logic. | 
|  | 22 | +    [slack-jallen](https://github.com/slack-jallen):[#1621](https://github.com/bugsnag/bugsnag-android/pull/1621) | 
|  | 23 | +    [bugsnag-android#1640](https://github.com/bugsnag/bugsnag-android/pull/1640) | 
|  | 24 | +  - Events and Sessions will be discarded if they cannot be uploaded and are older than 60 days or larger than 1MB | 
|  | 25 | +    [bugsnag-android#1633](https://github.com/bugsnag/bugsnag-android/pull/1633) | 
|  | 26 | +  - Fixed potentially [thread-unsafe access](https://github.com/bugsnag/bugsnag-android/issues/883) when invoking `Bugsnag` static methods across different threads whilst `Bugsnag.start` is still in-flight. It is now safe to call any `Bugsnag` static method once `Bugsnag.start` has _begun_ executing, as access to the client singleton is controlled by a lock, so the new `isStarted` method (see above) should only be required where it cannot be determined whether the call to `Bugsnag.start` has begun or you do not want to wait. | 
|  | 27 | +  - [bugsnag-android#1638](https://github.com/bugsnag/bugsnag-android/pull/1638) | 
|  | 28 | +  - Calling `bugsnag_event_set_context` with NULL `context` correctly clears the event context again | 
|  | 29 | +    [bugsnag-android#1637](https://github.com/bugsnag/bugsnag-android/pull/1637) | 
| 13 | 30 | 
 | 
| 14 | 31 | ### Fixed | 
| 15 | 32 | 
 | 
|  | 
0 commit comments