@@ -71,20 +71,21 @@ npx expo run:android
7171
7272### Plugin Configuration Options
7373
74- | Option | Type | Required | Description |
75- | ------------------------- | -------- | -------- | ------------------------------------------------------------------- |
76- | ` iosApiKey ` | string | Yes | iOS API key from mParticle dashboard |
77- | ` iosApiSecret ` | string | Yes | iOS API secret from mParticle dashboard |
78- | ` androidApiKey ` | string | Yes | Android API key from mParticle dashboard |
79- | ` androidApiSecret ` | string | Yes | Android API secret from mParticle dashboard |
80- | ` logLevel ` | string | No | Log level: ` 'none' ` , ` 'error' ` , ` 'warning' ` , ` 'debug' ` , ` 'verbose' ` |
81- | ` environment ` | string | No | Environment: ` 'development' ` , ` 'production' ` , ` 'autoDetect' ` |
82- | ` dataPlanId ` | string | No | Data plan ID for validation |
83- | ` dataPlanVersion ` | number | No | Data plan version |
84- | ` iosKits ` | string[ ] | No | iOS kit pod names (e.g., ` ['mParticle-Rokt'] ` ) |
85- | ` customBaseUrl ` | string | No | Custom base URL for global CNAME setup on iOS and Android |
86- | ` androidKits ` | string[ ] | No | Android kit artifact names (e.g., ` ['android-rokt-kit'] ` ) |
87- | ` useEmptyIdentifyRequest ` | boolean | No | Use empty user identify request at init (default: ` true ` ) |
74+ | Option | Type | Required | Description |
75+ | ------------------------- | -------- | -------- | --------------------------------------------------------------------------------------------- |
76+ | ` iosApiKey ` | string | Yes | iOS API key from mParticle dashboard |
77+ | ` iosApiSecret ` | string | Yes | iOS API secret from mParticle dashboard |
78+ | ` androidApiKey ` | string | Yes | Android API key from mParticle dashboard |
79+ | ` androidApiSecret ` | string | Yes | Android API secret from mParticle dashboard |
80+ | ` logLevel ` | string | No | Log level: ` 'none' ` , ` 'error' ` , ` 'warning' ` , ` 'debug' ` , ` 'verbose' ` |
81+ | ` environment ` | string | No | Environment: ` 'development' ` , ` 'production' ` , ` 'autoDetect' ` |
82+ | ` dataPlanId ` | string | No | Data plan ID for validation |
83+ | ` dataPlanVersion ` | number | No | Data plan version |
84+ | ` iosKits ` | string[ ] | No | iOS kit pod names (e.g., ` ['mParticle-Rokt'] ` ) |
85+ | ` customBaseUrl ` | string | No | Custom base URL for global CNAME setup on iOS and Android |
86+ | ` pinningDisabled ` | boolean | No | Disable SSL pinning (` MPNetworkOptions ` on iOS; ` setPinningDisabledInDevelopment ` on Android) |
87+ | ` androidKits ` | string[ ] | No | Android kit artifact names (e.g., ` ['android-rokt-kit'] ` ) |
88+ | ` useEmptyIdentifyRequest ` | boolean | No | Use empty user identify request at init (default: ` true ` ) |
8889
8990### Example with Kits
9091
@@ -123,14 +124,14 @@ For global CNAME setup, add the optional shared `customBaseUrl` setting:
123124** iOS:**
124125
125126- Adds mParticle SDK initialization to ` AppDelegate ` (supports both Swift and Objective-C)
126- - Sets ` MPNetworkOptions. customBaseURL ` before startup when ` customBaseUrl ` is configured
127+ - Sets ` MPNetworkOptions ` ( ` customBaseURL ` and/or ` pinningDisabled ` ) before startup when those plugin options are configured
127128- Configures ` pre_install ` hook in Podfile for dynamic framework linking
128129- Adds specified kit pod dependencies
129130
130131** Android:**
131132
132133- Adds mParticle SDK initialization to ` MainApplication ` (supports both Kotlin and Java)
133- - Sets ` NetworkOptions. setCustomBaseURL ` before startup when ` customBaseUrl ` is configured
134+ - Sets ` NetworkOptions ` ( ` setCustomBaseURL ` and/or ` setPinningDisabledInDevelopment ` ) before startup when those plugin options are configured
134135- Adds specified kit Maven dependencies to ` build.gradle `
135136
136137### Version Support
0 commit comments