Describe the issue
We have react-native project and ios project in a seperate repo. iOS already exsists and we have newly created RN repo - All RN code resides in this repo.
iOS app is the main app in which very few screens are based on react-native. These two are integrated using bundle and other.
In iOS repo - DataDog RUM is already instrumented and working fine.
In react-native repo - Newly instrumented datadogRUM by installing below
"@datadog/mobile-react-native": "^2.3.5",
"@datadog/mobile-react-native-navigation": "^2.3.5",
"@datadog/mobile-react-navigation": "^2.3.5",
Now in iOS repo, we run pod install and opened Xcode
bundle exec pod install
open AttendeeApp.xcworkspace
Issue -
In xocde when building the App, we are getting below error and build is failed.
Redefinition of module 'DatadogCore'
Redefinition of module 'DatadogRUM'
Redefinition of module 'DatadogLogs'
Redefinition of module 'DatadogTrace'
![Uploading image.png…]()
Any help pls ?
Thanks
Reproduction steps
In iOS repo - DataDog RUM is already instrumented and working fine.
In react-native repo - Newly instrumented datadogRUM by installing below
"@datadog/mobile-react-native": "^2.3.5",
"@datadog/mobile-react-native-navigation": "^2.3.5",
"@datadog/mobile-react-navigation": "^2.3.5",
Now in iOS repo, we run pod install and opened Xcode
bundle exec pod install
open AttendeeApp.xcworkspace
SDK logs
No response
Device Information
No response
SDK version
"@datadog/mobile-react-native": "^2.3.5"
Integration Methods
NPM
React Native Version
^0.73.4
Package.json Contents
In react-native repo, part of package.json is
"dependencies": {
"@datadog/mobile-react-native": "^2.3.5",
"@datadog/mobile-react-native-navigation": "^2.3.5",
"@datadog/mobile-react-navigation": "^2.3.5",
"@types/react-native": "^0.73.0",
"react": "18.2.0",
"react-native": "^0.73.4",
"react-native-code-push": "^8.2.1",
}
iOS Setup
In pod file, included
pod 'DatadogSDKObjc', '~> 2.5.0'
Android Setup
No response
Other relevant information
No response
Describe the issue
We have react-native project and ios project in a seperate repo. iOS already exsists and we have newly created RN repo - All RN code resides in this repo.
iOS app is the main app in which very few screens are based on react-native. These two are integrated using bundle and other.
In iOS repo - DataDog RUM is already instrumented and working fine.
In react-native repo - Newly instrumented datadogRUM by installing below
Now in iOS repo, we run pod install and opened Xcode
Issue -
In xocde when building the App, we are getting below error and build is failed.
Redefinition of module 'DatadogCore'
Redefinition of module 'DatadogRUM'
Redefinition of module 'DatadogLogs'
Redefinition of module 'DatadogTrace'
Any help pls ?
Thanks
Reproduction steps
In iOS repo - DataDog RUM is already instrumented and working fine.
In react-native repo - Newly instrumented datadogRUM by installing below
Now in iOS repo, we run pod install and opened Xcode
SDK logs
No response
Device Information
No response
SDK version
"@datadog/mobile-react-native": "^2.3.5"
Integration Methods
NPM
React Native Version
^0.73.4
Package.json Contents
In react-native repo, part of package.json is
"dependencies": {
"@datadog/mobile-react-native": "^2.3.5",
"@datadog/mobile-react-native-navigation": "^2.3.5",
"@datadog/mobile-react-navigation": "^2.3.5",
"@types/react-native": "^0.73.0",
"react": "18.2.0",
"react-native": "^0.73.4",
"react-native-code-push": "^8.2.1",
}
iOS Setup
In pod file, included
pod 'DatadogSDKObjc', '~> 2.5.0'
Android Setup
No response
Other relevant information
No response