-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Different namings between android package name or ios bundle id and pubspec's name. #137
Comments
PR is left in #138 |
@klnfreedom For configuring the release's name that will be created by the plugin, you have to configure the On the SDK side, you init the SDK, you can set your own So what you wanna do is instead of setting the |
@marandaneto Example: When I set a But the native sides of my app has got a different package name such as the As a result, I have two releases with different packages name, but one of them has got a source mapping (which was created by the plugin) and the other one hasn't got it (which was created by the event of the crash), so it creates a problem of inability to read the stack trace from the native sides. |
@klnfreedom gotcha, I guess the error is somewhere else then, if |
#139 should address this issue, can you take a look? |
|
When a developer uploads source mappings to the sentry dashboard by the current lib, there appears a new release with a package name, which is different from the android package name or ios' bundle id. But when a crash of the app happens, the sentry io of the native side sends a native package names or bundle id which is not the same as the pubspec's package (name@version).
The decision, add a name parameter of sentry config (configuration.dart -> 96 row)
name = config?['name']?.toString() ?? pubspec['name'].toString();
The text was updated successfully, but these errors were encountered: