Skip to content

Commit b0ee274

Browse files
authored
Use custom endpoint for Reaper (#475)
1 parent 0478843 commit b0ee274

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

android/app/src/main/AndroidManifest.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@
2727
tools:node="remove" />
2828
</provider>
2929

30+
<!-- The Reaper library sends data to two endpoints:
31+
- $baseUrl/report
32+
- $baseUrl/reaper/error
33+
So if baseUrl is set to https://example.com/foo as
34+
below Reaper reports will be sent to:
35+
- https://example.com/foo/report
36+
and errors will be sent to:
37+
- https://example.com/foo/reaper/error
38+
-->
39+
<meta-data
40+
android:name="com.emergetools.OVERRIDE_BASE_URL"
41+
android:value="https://example.com/foo" />
42+
3043
<meta-data
3144
android:name="io.sentry.dsn"
3245
android:value="https://db2524adf3fee320562f372d15f98098@o497846.ingest.us.sentry.io/4506028523388928" />

0 commit comments

Comments
 (0)