Skip to content

Commit 8b1c801

Browse files
author
farfromrefug
committed
fix(android): events contains more data
1 parent a29ced5 commit 8b1c801

23 files changed

+264
-318
lines changed

packages/sentry/integrations/debugsymbolicator.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ export declare class DebugSymbolicator implements Integration {
2828
*/
2929
setupOnce(): void;
3030
/**
31-
* Symbolicates the stack on the device talking to local dev server.
32-
* Mutates the passed event.
33-
*/
31+
* Symbolicates the stack on the device talking to local dev server.
32+
* Mutates the passed event.
33+
*/
3434
private _symbolicate;
3535
/**
3636
* Replaces the frames in the exception of a error.

packages/sentry/integrations/debugsymbolicator.js

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sentry/integrations/devicecontext.js

Lines changed: 4 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sentry/integrations/nativescripterrorhandlers.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ export interface NativescriptErrorHandlersOptions {
44
onerror?: boolean;
55
onunhandledrejection?: boolean;
66
/**
7-
* When enabled, Sentry will overwrite the global Promise instance to ensure that unhandled rejections are correctly tracked.
8-
* If you run into issues with Promise polyfills such as `core-js`, make sure you polyfill after Sentry is initialized.
9-
* Read more at https://docs.sentry.io/platforms/react-native/troubleshooting/#unhandled-promise-rejections
10-
*
11-
* When disabled, this option will not disable unhandled rejection tracking. Set `onunhandledrejection: false` on the `ReactNativeErrorHandlers` integration instead.
12-
*
13-
* @default true
14-
*/
7+
* When enabled, Sentry will overwrite the global Promise instance to ensure that unhandled rejections are correctly tracked.
8+
* If you run into issues with Promise polyfills such as `core-js`, make sure you polyfill after Sentry is initialized.
9+
* Read more at https://docs.sentry.io/platforms/react-native/troubleshooting/#unhandled-promise-rejections
10+
*
11+
* When disabled, this option will not disable unhandled rejection tracking. Set `onunhandledrejection: false` on the `ReactNativeErrorHandlers` integration instead.
12+
*
13+
* @default true
14+
*/
1515
patchGlobalPromise?: boolean;
1616
}
1717
/** NativescriptErrorHandlers Integration */

packages/sentry/integrations/nativescripterrorhandlers.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sentry/integrations/screenshot.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ import { EventHint, Integration } from '@sentry/types';
22
/** Adds screenshots to error events */
33
export declare class Screenshot implements Integration {
44
/**
5-
* @inheritDoc
6-
*/
5+
* @inheritDoc
6+
*/
77
static id: string;
88
/**
9-
* @inheritDoc
10-
*/
9+
* @inheritDoc
10+
*/
1111
name: string;
1212
/**
13-
* If enabled attaches a screenshot to the event hint.
14-
*/
13+
* If enabled attaches a screenshot to the event hint.
14+
*/
1515
static attachScreenshotToEventHint(hint: EventHint, { attachScreenshot }: {
1616
attachScreenshot?: boolean;
1717
}): EventHint;
1818
/**
19-
* @inheritDoc
20-
*/
19+
* @inheritDoc
20+
*/
2121
setupOnce(): void;
2222
}

packages/sentry/integrations/screenshot.js

Lines changed: 10 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sentry/integrations/sdkinfo.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ export declare const defaultSdkInfo: DefaultSdkInfo;
44
/** Default SdkInfo instrumentation */
55
export declare class SdkInfo implements Integration {
66
/**
7-
* @inheritDoc
8-
*/
7+
* @inheritDoc
8+
*/
99
static id: string;
1010
/**
11-
* @inheritDoc
12-
*/
11+
* @inheritDoc
12+
*/
1313
name: string;
1414
private _nativeSdkInfo;
1515
/**
16-
* @inheritDoc
17-
*/
16+
* @inheritDoc
17+
*/
1818
setupOnce(addGlobalEventProcessor: (e: EventProcessor) => void): void;
1919
}
2020
export {};

packages/sentry/integrations/sdkinfo.js

Lines changed: 11 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/sentry/platforms/android/native-api-usage.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
22
"uses": [
3+
"androidx.core.app:FrameMetricsAggregator",
34
"io.sentry.android.core.internal.util:ScreenshotUtils",
45
"io.sentry.android.core:AndroidLogger",
56
"io.sentry.android.core:AnrIntegration",
67
"io.sentry.android.core:AppStartState",
78
"io.sentry.android.core:BuildInfoProvider",
9+
"io.sentry.android.core:InternalSentrySdk",
810
"io.sentry.android.core:CurrentActivityHolder",
911
"io.sentry.android.core:NdkIntegration",
1012
"io.sentry.android.core:SentryAndroid",
13+
"io.sentry.android.core:SentryAndroidOptions",
1114
"io.sentry.exception:ExceptionMechanismException",
1215
"io.sentry.protocol:Message",
1316
"io.sentry.protocol:SdkVersion",
@@ -21,8 +24,10 @@
2124
"io.sentry.transport:ITransportGate",
2225
"io.sentry.transport:RateLimiter",
2326
"io.sentry:Breadcrumb",
27+
"io.sentry:HubAdapter",
2428
"io.sentry:Integration",
2529
"io.sentry:ILogger",
30+
"io.sentry:IScope",
2631
"io.sentry:ITransportFactory",
2732
"io.sentry:RequestDetails",
2833
"io.sentry:ScopeCallback",

0 commit comments

Comments
 (0)