You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does start working. But if we're only using the SDK with an OTEL exporter, then we don't need an app_id or api_token according to the documentation and setting them causes some other issues.
Looks like an issue with how we are consolidating the various settings. Without an appId, we can't make a request to the Embrace server, so it feels like we should just fall back to the default. I'll take a look
HI @joe-acosta-okcupid - this issue seems to be related to an inability to instantiate the configuration service, so SDK defaults are applied with out the settings in the config file taking affect. We will address this in our next release.
The fix will be in the next release. The issue turns out to be in our gradle plugin and the generation of local configuration the SDK consumes from embrace-config.json. The other properties in there should be properly populated even if app_id and api_token were not specified.
Describe the bug
disabled_url_patterns
in embrace-config.json should disable any tracking of listed url patterns: https://embrace.io/docs/android/features/configuration-file/But it doesn't seem to do anything unless app_id and api_token are also set. I.e. if I follow the example and do:
Example:
"disabled_url_patterns": [".*"], // Will disable network calls for all URLs
The network calls won't get disabled. But if I add in a fake app_id and api_token:
It does start working. But if we're only using the SDK with an OTEL exporter, then we don't need an app_id or api_token according to the documentation and setting them causes some other issues.
Steps to reproduce
Set your embrace-config.json to contain:
Run the app, and see that no urls are disabled
Environment
The text was updated successfully, but these errors were encountered: