Skip to main content

 

Hello! We paid for access and set up a remote configuration in Data within the project.

Also connected inside the project via the following code:

await init(apiKey, '', {
disableCookies: true,
}).promise;

const config = {
enableRemoteConfig: true,
sampleRate: 0.1,
autoStart: !isDevEnv,
disableCookies: true,
};

const sessionReplayPlugin = new SessionReplayPlugin(config);
await add(sessionReplayPlugin).promise;

 

But it still doesn't work, Amplitude doesn't record and doesn't seem to recognize that we've connected Session Replay. Please help us with solution. Thank you!

Hey ​@Gaka, here are some notes and suggestions below that might help point you in the right direction:

    await init(API_KEY).promise;
const sr = new SessionReplayPlugin({ enableRemoteConfig: true, sampleRate: 1, autoStart: false });
await add(sr).promise;
await sr.start(); // force start to verify

(“Session Replay React Native SDK Plugin | Amplitude Session Replay”).