import { AppRegistry } from 'react-native';
import App from './App';
import { name as appName } from './app.json';
import RiskifiedSDK from '@riskified/react-native-riskified-sdk';
RiskifiedSdk.startBeacon(shopDomain, token, false);
AppRegistry.registerComponent(appName, () => App);
Open the app in a simulator
Refresh metro to reload the js
You should see the error pop up since the app is reloaded and the js code is run again.
This issue is a native iOS issue that appears in the react native implementation of this sdk.
Official react native sdk: https://www.npmjs.com/package/@riskified/react-native-riskified-sdk
Steps to reproduce
You should see the error pop up since the app is reloaded and the js code is run again.