# Geеting a log error: React Native plugin has not been started yet! User Privacy Options can't be applied!

**URL:** <https://community.dynatrace.com/t/ge-ting-a-log-error-react-native-plugin-has-not-been-started-yet-user-privacy-options-cant-be-applied/41112>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [August 8, 2023, 7:01pm UTC](https://community.dynatrace.com/t/ge-ting-a-log-error-react-native-plugin-has-not-been-started-yet-user-privacy-options-cant-be-applied/41112 "2023-08-08T19:01:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arajanna](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@arajanna](https://community.dynatrace.com/u/arajanna)\
**Post date:** [August 8, 2023, 7:01pm UTC](https://community.dynatrace.com/t/ge-ting-a-log-error-react-native-plugin-has-not-been-started-yet-user-privacy-options-cant-be-applied/41112/1 "2023-08-08T19:01:41Z")

</div>

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&nbsp; 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.

---

<div class="post-metadata">

**Author:** ![nicholas\_mcwher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nicholas_mcwher/32/6822_2.png) [@nicholas\_mcwher](https://community.dynatrace.com/u/nicholas_mcwher)\
**Post date:** [August 16, 2023, 2:53pm UTC](https://community.dynatrace.com/t/ge-ting-a-log-error-react-native-plugin-has-not-been-started-yet-user-privacy-options-cant-be-applied/41112/2 "2023-08-16T14:53:57Z")

</div>

Hi there!

Thanks for reaching out. I would recommend opening a support ticket for first assistance on this. Please follow the steps in:

> **[@dynatrace/react-native-plugin](https://www.npmjs.com/package/@dynatrace/react-native-plugin#report-a-bug-or-open-a-support-case)**
>
> This plugin gives you the ability to use the Dynatrace Mobile agent in your react native application.. Latest version: 2.349.1, last published: 7 days ago. Start using @dynatrace/react-native-plugin in your project by running \`npm i...

Since you have followed the steps of the instrumentation wizard, I would provide the steps that you took along with the files listed in the link above to get further assistance with this manner. If you have any other information that would be helpful for us to understand the issue, that would also be great to add to the support ticket.

Thanks,

Nick
