@@ -106,8 +106,12 @@ Example (same pattern as `ExpoTestApp/App.tsx`):
106106const config = MParticle .Rokt .createRoktConfig (' system' );
107107
108108MParticle .Rokt .selectShoppableAds (' YOUR_PLACEMENT_ID' , attributes, config)
109- .then (() => { /* success */ })
110- .catch ((error ) => { /* handle */ });
109+ .then (() => {
110+ /* success */
111+ })
112+ .catch (error => {
113+ /* handle */
114+ });
111115```
112116
113117Listen for ` RoktCallback ` and ` RoktEvents ` on ` RoktEventManager ` to observe load/unload and Shoppable Ads–related events emitted by the native bridge.
@@ -277,16 +281,16 @@ dependencies {
277281
278282## Plugin Configuration Options
279283
280- | Option | Type | Description |
281- | --------| ------| -------------|
282- | ` iosApiKey ` | string | mParticle iOS API key |
283- | ` iosApiSecret ` | string | mParticle iOS API secret |
284- | ` androidApiKey ` | string | mParticle Android API key |
285- | ` androidApiSecret ` | string | mParticle Android API secret |
286- | ` logLevel ` | string | Log level: ` none ` , ` error ` , ` warning ` , ` debug ` , ` verbose ` |
287- | ` environment ` | string | Environment: ` development ` , ` production ` , ` autoDetect ` |
288- | ` useEmptyIdentifyRequest ` | boolean | Initialize with empty identify request (default: true) |
289- | ` dataPlanId ` | string | Data plan ID for validation |
290- | ` dataPlanVersion ` | number | Data plan version |
291- | ` iosKits ` | string[ ] | iOS kit pod names (e.g., ` ["mParticle-Rokt"] ` ) |
292- | ` androidKits ` | string[ ] | Android kit dependencies (e.g., ` ["android-rokt-kit"] ` ) |
284+ | Option | Type | Description |
285+ | ------------------------- | -------- | --------------------------------------------------------- |
286+ | ` iosApiKey ` | string | mParticle iOS API key |
287+ | ` iosApiSecret ` | string | mParticle iOS API secret |
288+ | ` androidApiKey ` | string | mParticle Android API key |
289+ | ` androidApiSecret ` | string | mParticle Android API secret |
290+ | ` logLevel ` | string | Log level: ` none ` , ` error ` , ` warning ` , ` debug ` , ` verbose ` |
291+ | ` environment ` | string | Environment: ` development ` , ` production ` , ` autoDetect ` |
292+ | ` useEmptyIdentifyRequest ` | boolean | Initialize with empty identify request (default: true) |
293+ | ` dataPlanId ` | string | Data plan ID for validation |
294+ | ` dataPlanVersion ` | number | Data plan version |
295+ | ` iosKits ` | string[ ] | iOS kit pod names (e.g., ` ["mParticle-Rokt"] ` ) |
296+ | ` androidKits ` | string[ ] | Android kit dependencies (e.g., ` ["android-rokt-kit"] ` ) |
0 commit comments