22 Dec 2025 10:30 AM
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:
To work around that, we currently generate a app.json, transform the name in a similar way, call 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: https://docs.expo.dev/workflow/configuration/
22 Dec 2025 01:35 PM
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
Featured Posts