|
4 | 4 |
|
5 | 5 | ### Features
|
6 | 6 |
|
7 |
| -- Support allowUrls and denyUrls for Flutter Web ([#2227](https://github.com/getsentry/sentry-dart/pull/2227)) |
| 7 | +- Session replay Alpha for Android and iOS ([#2208](https://github.com/getsentry/sentry-dart/pull/2208), [#2269](https://github.com/getsentry/sentry-dart/pull/2269)). |
| 8 | + |
| 9 | + To try out replay, you can set following options (access is limited to early access orgs on Sentry. If you're interested, [sign up for the waitlist](https://sentry.io/lp/mobile-replay-beta/)): |
8 | 10 |
|
9 | 11 | ```dart
|
10 | 12 | await SentryFlutter.init(
|
11 | 13 | (options) {
|
12 | 14 | ...
|
13 |
| - options.allowUrls = ["^https://sentry.com.*\$", "my-custom-domain"]; |
14 |
| - options.denyUrls = ["^.*ends-with-this\$", "denied-url"]; |
| 15 | + options.experimental.replay.sessionSampleRate = 1.0; |
| 16 | + options.experimental.replay.errorSampleRate = 1.0; |
15 | 17 | },
|
16 | 18 | appRunner: () => runApp(MyApp()),
|
17 | 19 | );
|
18 | 20 | ```
|
19 | 21 |
|
20 |
| -- Session replay Alpha for Android and iOS ([#2208](https://github.com/getsentry/sentry-dart/pull/2208)). |
21 |
| - |
22 |
| - To try out replay, you can set following options (access is limited to early access orgs on Sentry. If you're interested, [sign up for the waitlist](https://sentry.io/lp/mobile-replay-beta/)): |
| 22 | +- Support allowUrls and denyUrls for Flutter Web ([#2227](https://github.com/getsentry/sentry-dart/pull/2227)) |
23 | 23 |
|
24 | 24 | ```dart
|
25 | 25 | await SentryFlutter.init(
|
26 | 26 | (options) {
|
27 | 27 | ...
|
28 |
| - options.experimental.replay.sessionSampleRate = 1.0; |
29 |
| - options.experimental.replay.errorSampleRate = 1.0; |
| 28 | + options.allowUrls = ["^https://sentry.com.*\$", "my-custom-domain"]; |
| 29 | + options.denyUrls = ["^.*ends-with-this\$", "denied-url"]; |
30 | 30 | },
|
31 | 31 | appRunner: () => runApp(MyApp()),
|
32 | 32 | );
|
|
0 commit comments