Skip to content

Commit 35f08a0

Browse files
adinauerlbloder
andauthored
Document forceInit for Java SDK (#12260)
* document forceInit option * Apply suggestions from code review Co-authored-by: Lukas Bloder <[email protected]> --------- Co-authored-by: Lukas Bloder <[email protected]>
1 parent 4d612f4 commit 35f08a0

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/platforms/android/configuration/options.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,14 @@ _(New in version 6.0.0)_
192192

193193
</ConfigKey>
194194

195+
<ConfigKey name="force-init">
196+
197+
Set this boolean to `true` to force a call to `SentryAndroid.init` to re-initialize the SDK, even if the SDK has already been initialized with high priority.
198+
199+
_(New in version 8.0.0)_
200+
201+
</ConfigKey>
202+
195203
## Integration Configuration
196204

197205
For many platform SDKs integrations can be configured alongside it. On some platforms that happen as part of the `init()` call, in some others, different patterns apply.

docs/platforms/java/common/configuration/options.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ _(New in version 6.0.0)_
162162

163163
</ConfigKey>
164164

165+
<ConfigKey name="force-init">
166+
167+
Set this boolean to `true` to force a call to `Sentry.init` to re-initialize the SDK, even if the SDK has already been initialized by a high priority integration.
168+
169+
_(New in version 8.0.0)_
170+
171+
</ConfigKey>
172+
165173
## Integration Configuration
166174

167175
For many platform SDKs integrations can be configured alongside it. On some platforms that happen as part of the `init()` call, in some others, different patterns apply.

0 commit comments

Comments
 (0)