cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android report not capturing from React-Native app

saikats5
Newcomer

As per the documentation, I have installed the react-native plugin for dynatrace and the setup is successful as I can see the react-native dynatrace logs, but the endpoint is not capturing the data, I have also configured the network_security_config.xml file but still it's not working

 

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
<domain-config cleartextTrafficPermitted="false">
<domain includeSubdomains="true">abc.com</domain>
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</domain-config>
<debug-overrides>
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</debug-overrides>
</network-security-config>

 

not sure what changes I have to make but the end point is capturing the data for iOS, that means it's reachable

1 REPLY 1

Thomas_Wirth1
Dynatrace Pro
Dynatrace Pro

Hi saikats5,

 

I'm not sure what you mean with "react-native dynatrace logs". The root cause of your problem should be visible in the debug logs from OneAgent for Android. This documentation section explains how to enable debug logging for the Dynatrace React Native plugin and this documentation section explain how to retrieve the debug logs from a device or emulator.

 

I think the best approach is to generate a support ticket and upload the collect debug logs. The support team will analyze it and will help you to solve the problem.