This is important as you will only see Application startup and Touches out of the box.įor more details about the configuration, see Advanced topics. Note: Define the components that you want to see lifecycle instrumented ( example). If you are not sure you can always use npx configDynatrace to create a default configuration file. Download and copy this file into the root folder of your application. In the settings you will see a file which can be downloaded for React Native. Your old configuration is still available in nfig and you have to copy your values to the new .ĭefine a mobile app in Dynatrace and open the Mobile app instrumentation settings. Note: If you are upgrading from a previous version of this plugin, you'll notice that the file format has changed. In your project's root directory, create or extend so that it contains the following configuration properties transformer.babelTransformerPath and reporter: For React Native v0.72.1 or newer If you already have a babel transformer (babelTransformerPath) in place, you need to use the upstreamTransformer property in to use a transformer besides our dynatrace transformer. The following configuration must be added. If you don't know the version, enter react-native -version in your terminal. seperate native projects) react-native link doesn't work as expected, manually add the iOS agent to your project.ĭepending on your React Native version, you will need to use a different way to register the transformer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |