Skip to content

Allow custom release and dist for app variants #776

@kuhnroyal

Description

@kuhnroyal

Platform:

  • Dart
  • Flutter Android or iOS
  • Flutter Web

IDE:

  • VSCode
  • IntelliJ/AS
  • XCode
  • Other, which one?

split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):

  • Enabled
  • Disabled

Platform installed with:

  • pub.dev
  • GitHub

The version of the SDK (See pubspec.lock):
6.4.0-beta.1


I have the following issue:

When configuring the packageLoader parameter, the LoadReleaseIntegration is executed too late, after the native SDK integration. This results in different versions/release/dist being used on native and Flutter side. Ideally version/release/dist need to be send to the native SDK when it is being initialized.

Steps to reproduce:

  • Configure SentryFlutter.init(packageLoader: ...) with a custom release

Actual result:

  • Have two different releases appear in Sentry (one from native and one from Flutter)

Expected result:

  • They should be the same version

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions