-
public final class BootstrapRequestSDK bootstrap handshake. Parity port of libs/web-sdk/src/core/bootstrap.ts.
A successful bootstrap resolves writeKey → propertyId, returns the VAPID public key (web push, mobile ignores), workspace + organisation ids, allowed origins, and the event-governance hint that drives the client-side NameGovernor. A failed bootstrap (401/403) aborts SDK init — the SDK refuses to emit events against an origin/install it cannot prove ownership of.
The Android SDK omits browser-specific fields (first-party cookie, window.location.origin) and substitutes the application's package id as the origin assertion.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringwriteKeyprivate final StringapplicationIdprivate final StringdeviceFingerprintprivate final StringattestationTokenprivate final StringuserAgent
-
Method Summary
Modifier and Type Method Description final StringgetWriteKey()final StringgetApplicationId()final StringgetDeviceFingerprint()final StringgetAttestationToken()final StringgetUserAgent()-
-
Method Detail
-
getWriteKey
final String getWriteKey()
-
getApplicationId
final String getApplicationId()
-
getDeviceFingerprint
final String getDeviceFingerprint()
-
getAttestationToken
final String getAttestationToken()
-
getUserAgent
final String getUserAgent()
-
-
-
-