Skip to content

Configuration reference

ConceptAndroidiOSNode.jsElectron.NET
API keybuilder(activity, apiKey)createWithConsent(..., apiKey:)Constructor argumentapiKeyApiKey
Debug.debug(boolean)debug:debugdebugDebug
Identity seed.deviceIdentitySeed(...)deviceIdentitySeed:deviceIdentitySeeddeviceIdentitySeedDeviceIdentitySeed
Identity pathManagedManagedidentityPathidentityPathIdentityPath
Connected.onConnect(...)onConnectcallback or eventForwarded to NodeOnConnect / Connected
Disconnected.onDisconnect(...)onDisconnectcallback or eventForwarded to NodeOnDisconnect / Disconnected
Background.enableBackgroundMode(true)OS policy onlyHost process lifetimebackgroundMode: trueHost process lifetime
PlatformURLRevoke URLVersionPublic key
Android artifactp2psdkConsentUrlp2psdkConsentRevokeUrlp2psdkConsentVersionp2psdkConsentPublicKeyPem
iOS appP2PSDKConsentURLP2PSDKConsentRevokeURLP2PSDKConsentVersionP2PSDKConsentPublicKeyPEM
ElectronconsentUrlEnvironment variableconsentVersionconsentPublicKeyPem
Windows WPFConsentUrlEnvironment variableConsentVersionConsentPublicKeyPem
Node without UIApproved receipt sourceEnvironment variableReceipt sourceReceipt source

Android application code receives a preconfigured AAR. Do not rebuild or override its consent configuration outside the artifact-publication process supplied during onboarding.

VariableConsumerPurpose
P2P_SDK_NATIVE_LIBNode.jsAbsolute .so or .dll diagnostic/onboarding override
P2P_SDK_NATIVE_TARGETNode.js source layoutRepository target-triple override
P2P_SDK_IDENTITY_FILENode.js / ElectronPersistent generated identity record path
P2P_SDK_CONSENT_REVOKE_URLNode.js, Electron, .NETConsent revoke endpoint supplied during onboarding

Set an environment variable before the wrapper performs the related operation. Do not expose registry credentials or receipt values through client-visible environment injection.

Application code cannot set:

  • Runtime connection URL or bearer token.
  • Reconnect delay and retry policy.
  • DNS servers or selection policy.
  • Battery thresholds and pause policy.
  • WebSocket heartbeat or transport limits.
  • Wire-protocol features.

These values are controlled by the SDK runtime and assigned policy. A custom identity seed is also usually unnecessary; use it only when your application already owns a stable per-install identifier.