# Dynatrace auto instrumentation is not letting axios API calls get resolved - React Native | iOS

**URL:** <https://community.dynatrace.com/t/dynatrace-auto-instrumentation-is-not-letting-axios-api-calls-get-resolved-react-native-ios/47993>\
**Category:** Real User Monitoring\
**Tags:** mobile-monitoring\
**Created:** [September 26, 2024, 11:38am UTC](https://community.dynatrace.com/t/dynatrace-auto-instrumentation-is-not-letting-axios-api-calls-get-resolved-react-native-ios/47993 "2024-09-26T11:38:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukesh\_jangid](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mukesh\_jangid](https://community.dynatrace.com/u/mukesh_jangid)\
**Post date:** [September 26, 2024, 11:38am UTC](https://community.dynatrace.com/t/dynatrace-auto-instrumentation-is-not-letting-axios-api-calls-get-resolved-react-native-ios/47993/1 "2024-09-26T11:38:50Z")

</div>

Hi there,

I’m experiencing an issue with Dynatrace auto-instrumentation in React Native with&nbsp;[https://www.npmjs.com/package/@dynatrace/react-native-plugin.](https://www.npmjs.com/package/@dynatrace/react-native-plugin)

Everything works as expected on Android and iOS in debug mode, but in the release build, specifically in iOS, API calls to get some configurations when the application launches are not resolved.

If I turn off auto-start by setting DTXAutoStart as false in the info.plist, then it works as expected.

I also tried replacing axios calls with fetch and noticed that fetch resolves the calls, but axios API calls don’t return either an error or a response.

I suspect there may be some internal conflicts between Axios and Dynatrace’s network tagging. I want to use Axios exclusively and auto-instrumentation.

I would greatly appreciate any help with this issue.

---

<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:** [September 27, 2024, 6:49am UTC](https://community.dynatrace.com/t/dynatrace-auto-instrumentation-is-not-letting-axios-api-calls-get-resolved-react-native-ios/47993/2 "2024-09-27T06:49:40Z")

</div>

Issues like this are better suited for opening a support case. We need to know the versions of react-native, axios and our react-native plugin. Basically instrumentation happens on the native side, not on the JS side. So I would assume both Axios and fetch are going down to the same native request. But we would like to reproduce this.

---

<div class="post-metadata">

**Author:** ![mukesh\_jangid](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mukesh\_jangid](https://community.dynatrace.com/u/mukesh_jangid)\
**Post date:** [September 27, 2024, 7:27am UTC](https://community.dynatrace.com/t/dynatrace-auto-instrumentation-is-not-letting-axios-api-calls-get-resolved-react-native-ios/47993/3 "2024-09-27T07:27:44Z")

</div>

We’re using the following versions

“react-native”: “0.72.13”  
“axios”: “1.7.4”

“@dynatrace/react-native-plugin”: “^2.297.2”,

**Note** : As mentioned earlier we have that axios call to get some config from the server when an application launches right after the default splash screen.

I hope this information will help you to reproduce

---

<div class="post-metadata">

**Author:** ![mukesh\_jangid](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mukesh\_jangid](https://community.dynatrace.com/u/mukesh_jangid)\
**Post date:** [October 10, 2024, 12:36pm UTC](https://community.dynatrace.com/t/dynatrace-auto-instrumentation-is-not-letting-axios-api-calls-get-resolved-react-native-ios/47993/4 "2024-10-10T12:36:46Z")

</div>

Hi, Is there any update on this?&nbsp;[@matthias\_hochri](https://community.dynatrace.com/user/2925)
