Skip to content
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

TRCL-3695 Add configs for notification provider types #657

Merged
merged 8 commits into from
Sep 17, 2024
Merged

Conversation

ruixhuang
Copy link
Contributor

By default, all provider types are enabled, but the client can optionally set the notification types it wants.

This is needed for mobile push notifications where the fills and order status notifications will come from backend instead of Abacus.

Copy link

linear bot commented Sep 16, 2024

@ruixhuang ruixhuang marked this pull request as ready for review September 16, 2024 23:25
jsonEncoder,
),
val notifications: List<NotificationProviderType> = listOf(
NotificationProviderType.BlackReward,
Copy link
Contributor

Choose a reason for hiding this comment

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

⚫ Blockreward ⚫

@@ -251,8 +251,7 @@ class DynamicLocalizer(
}
}
} else {
// Not a valid language
callback(false, null)
callback(_loadingLanguage == language, null)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fixes an existing race condition of language settings on iOS.

@ruixhuang ruixhuang merged commit da96768 into main Sep 17, 2024
3 checks passed
@ruixhuang ruixhuang deleted the feature/push_2 branch September 17, 2024 21:53
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.

2 participants