Skip to content

Commit 113730e

Browse files
authored
Update chrome-extensions.mdx
1 parent 6debc04 commit 113730e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

docs/platforms/dart/guides/flutter/configuration/chrome-extensions.mdx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ categories:
88
- flutter
99
---
1010

11-
<Alert level="warning">
12-
13-
Chrome Extensions enforce strict Content Security Policy (CSP) rules that prevent dynamically loaded scripts. The standard Sentry Flutter SDK setup will not work in Chrome Extension environments without the modifications outlined in this guide.
14-
15-
</Alert>
16-
1711
## Overview
1812

1913
Chrome Extensions enforce strict Content Security Policy (CSP) rules that prevent dynamically loaded scripts. Since the Sentry Flutter SDK typically loads the Sentry JavaScript SDK dynamically for web platforms, you need to include the Sentry JavaScript bundle as a static asset instead.
@@ -25,9 +19,7 @@ Chrome Extensions enforce strict Content Security Policy (CSP) rules that preven
2519
Instead of loading the Sentry JavaScript SDK dynamically, you need to include it as a static asset:
2620

2721
1. Download the minified Sentry JavaScript bundle from the Sentry CDN. Use the version that is compatible with the Sentry Flutter SDK:
28-
```
29-
https://browser.sentry-cdn.com/9.40.0/bundle.tracing.min.js
30-
```
22+
[bundle.tracing.min.js](https://browser.sentry-cdn.com/9.40.0/bundle.tracing.min.js)
3123

3224
<Alert level="info">
3325

0 commit comments

Comments
 (0)