Skip to content

Conversation

@suriksarkisyan
Copy link
Contributor

No description provided.

Constants.kProjectKey: config.projectKey,
Constants.kVersion: QonversionInternal.sdkVersion,
Constants.kSource: Constants.sdkSource,
if (config.proxyUrl != null) Constants.kProxyUrl: config.proxyUrl,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we add without the null-check, will it break up?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to check to avoid unnecessary behavior

_channel.invokeMethod(Constants.mInitializeNoCodes, args);
// Initialize is fire-and-forget, errors will be handled in subsequent calls
_channel.invokeMethod(Constants.mInitializeNoCodes, args).catchError((error) {
// Silently ignore initialization errors
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's log them at least

throw _convertPlatformException(e);
final result = QMapper.userFromJson(rawResult);
if (result == null) {
throw new Exception("User deserialization failed");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and below lets replace all Exceptions with Qonversion ones

@suriksarkisyan suriksarkisyan merged commit adc743f into develop Nov 21, 2025
2 checks passed
@suriksarkisyan suriksarkisyan deleted the release/11.0.0 branch November 21, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants