Hi there, thanks for this plugin.
I'm struggling to have this plugin (1.0.0) working on a new (from scratch) project using latest react native (0.83.6) + expo versions (55.0.15).
-
Tried by adding the plugin config "@splunk/otel-react-native" in app.json plugins array.
But I get a :
"Package "@splunk/otel-react-native" does not contain a valid config plugin.
Unexpected token "typeof" (INVALID_PLUGIN_IMPORT)
-
Tried the "bare install" by modifying ios and android folder files (Podfile, build.Gradle).
=> But this is not sustainable long term for me as it prevent any android/ios folder cleanup / prebuild. And re-updating those files each time is not an option, nor commit the whole folders.
Still, I tried, but on Android, and got it working, but to get it working I had to replace :
android {
compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
to
android {
compileOptions {
coreLibraryDesugaringEnabled = true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}
is that normal ?
-
I see that even if config plugin worked, I still have to update manually PodFile for ios ? is there any plan to improve that ?
-
I had to manually add/hardcode in my package.json the @opentelemetry/api package used by your Lib. Without this build would fail (TS resolution fail)
To reproduce all that :
npx create-expo-app
npx expo install @splunk/otel-react-native
Thanks
Hi there, thanks for this plugin.
I'm struggling to have this plugin (1.0.0) working on a new (from scratch) project using latest react native (0.83.6) + expo versions (55.0.15).
Tried by adding the plugin config "@splunk/otel-react-native" in app.json
pluginsarray.But I get a :
"Package "@splunk/otel-react-native" does not contain a valid config plugin.
Unexpected token "typeof" (INVALID_PLUGIN_IMPORT)
Tried the "bare install" by modifying ios and android folder files (Podfile, build.Gradle).
=> But this is not sustainable long term for me as it prevent any android/ios folder cleanup / prebuild. And re-updating those files each time is not an option, nor commit the whole folders.
Still, I tried, but on Android, and got it working, but to get it working I had to replace :
to
is that normal ?
I see that even if config plugin worked, I still have to update manually PodFile for ios ? is there any plan to improve that ?
I had to manually add/hardcode in my package.json the @opentelemetry/api package used by your Lib. Without this build would fail (TS resolution fail)
To reproduce all that :
npx create-expo-app
npx expo install @splunk/otel-react-native
Thanks