We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e551bc commit 565837fCopy full SHA for 565837f
sample/index.js
@@ -177,7 +177,8 @@ export default class MParticleSample extends Component {
177
// Select attributes based on platform
178
const attributes = Platform.OS === 'ios' ? iosAttributes : androidAttributes;
179
console.log(`Platform detected: ${Platform.OS}, using ${Platform.OS === 'ios' ? 'iOS' : 'Android'} attributes:`, attributes);
180
- const config = MParticle.Rokt.createRoktConfig('system')
+ const cacheConfig = MParticle.Rokt.createCacheConfig(30, attributes);
181
+ const config = MParticle.Rokt.createRoktConfig('system', cacheConfig);
182
const placeholderMap = {
183
'Location1': findNodeHandle(this.placeholder1.current),
184
}
0 commit comments