Skip to main content

Hello! 
In React-Native mobile project we have error:
 Amplitude Logger rError]: Failed to set cookie for key: AMP_TEST. Error: Cannot set property 'cookie' of undefined Error Component Stack:
```

The package version is  "@amplitude/analytics-react-native": "1.5.1",

Steps to Reproduce:

  1. Initialize Amplitude with our API key

  2. Call any tracking method

  3. Error appears in console


Tried the solution with init disableCookies: true, but nothing.

Can anyone help solve this problem?

Be the first to reply!