# Dynatrace Race Native Plugin with Expo dynamic config

**URL:** <https://community.dynatrace.com/t/dynatrace-race-native-plugin-with-expo-dynamic-config/54460>\
**Category:** Open Q&A\
**Created:** [December 22, 2025, 10:30am UTC](https://community.dynatrace.com/t/dynatrace-race-native-plugin-with-expo-dynamic-config/54460 "2025-12-22T10:30:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KevinGruber](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@KevinGruber](https://community.dynatrace.com/u/KevinGruber)\
**Post date:** [December 22, 2025, 10:30am UTC](https://community.dynatrace.com/t/dynatrace-race-native-plugin-with-expo-dynamic-config/54460/1 "2025-12-22T10:30:56Z")

</div>

Hi,

We are currently implementing the official Dynatrace react-native plugin into an EXPO for monitoring RN apps.

We ran into an issue during setup, the step where we need to call `npx instrumentDynatrace` expects a static app.json file and takes the name property verbatim from there to find the project folder in the iOS and android folder.

This has multiple problems:

1. We don’t have a static app.json → we use app.config.ts as we use dynamic bundleIds etc based on build params
2. The name is not 1:1 so expo does some transformations to create the folder name
3. we use CNG → which has the above mentioned problems

To work around that, we currently generate a app.json, transform the name in a similar way, call&nbsp;instrumentDynatrace and then delete the app.json again. While this works okish, I am of the opinion that the plugin should support static and dynamic configurations.

All the Best,  
Kevin Gruber

Dynamic config Refercence:&nbsp;[Configure with app config - Expo documentation](https://docs.expo.dev/workflow/configuration/)

---

<div class="post-metadata">

**Author:** ![matthias\_hochri](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/matthias_hochri/32/15052_2.png) [@matthias\_hochri](https://community.dynatrace.com/u/matthias_hochri)\
**Post date:** [December 22, 2025, 1:35pm UTC](https://community.dynatrace.com/t/dynatrace-race-native-plugin-with-expo-dynamic-config/54460/2 "2025-12-22T13:35:52Z")

</div>

Hi Kevin,

Thanks for your request. I noted that down and we will take a look upon this feature request.

In general the app.json is used for us to get an indication for plist naming. If you are using npx instrumentDynatrace and append plist= with a customized path you can essentially skip the app.json reading as well.

[https://www.npmjs.com/package/@dynatrace/react-native-plugin#npx-instrumentdynatrace](https://www.npmjs.com/package/@dynatrace/react-native-plugin#npx-instrumentdynatrace)

---

<div class="post-metadata">

**Author:** ![KevinGruber](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@KevinGruber](https://community.dynatrace.com/u/KevinGruber)\
**Post date:** [December 23, 2025, 6:27am UTC](https://community.dynatrace.com/t/dynatrace-race-native-plugin-with-expo-dynamic-config/54460/3 "2025-12-23T06:27:02Z")

</div>

Hi Matthias,

Awesome thanks for taking it into consideration as a feature request / would be nice to not need the manual sync step at all for expo projects.

I wasn’t aware (missed the doc entry) of the manual plist config will try this to not create almost empty files to just delete it afterwards 😄

Thanks for the help!

BR,

Kev
