I am trying to integrate Dynatrace into the react-native app and followed all the steps from the instrumentation wizard. Also included this in one of my components for analyzing the user behavior.
import {
Dynatrace,
DataCollectionLevel,
UserPrivacyOptions,
} from ‘@dynatrace/react-native-plugin’;
let privacyConfig = new UserPrivacyOptions(
DataCollectionLevel.UserBehavior,
true,
);
Dynatrace.applyUserPrivacyOptions(privacyConfig);But when I run the app on ios or Android, I am getting a log message saying “React Native plugin has not been started yet! User Privacy Options can’t be applied!”. Nor I am able to see user events and actions under user session analysis.