-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically detect package name for in-app-frame detection #818
Comments
@ueman which package is this one? The idea isn't bad, the only problem I see is if the SDK is being initialized in a library or 3rd party, that could lead to a wrong inApp, I guess? |
For a normal App, it'd return:
So it'd only work for Flutter apps most likely. |
It's from the
Yep, that's true, but still better than the current default of |
|
Maybe it's not a big problem if it gets logged with something like: |
Yeah, they can remove it from the |
Since this is possible to do it manually, and also, doing It automatically can lead to unwanted side effects, for example, when initialising the SDK later. |
The Flutter initialization can be changed to the following, in order to automatically detect the application package name to correctly identify in-app-stack-frames.
This works at least on Flutter VM platforms. I haven't looked at pure Dart and Web use cases.
Relates to #729. If both in-app-includes and in-app-excludes work, the results should be fairly reliable.
The text was updated successfully, but these errors were encountered: