-
Notifications
You must be signed in to change notification settings - Fork 997
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
[Connect] Add Dashboard-only access to NotificationBanner #4061
[Connect] Add Dashboard-only access to NotificationBanner #4061
Conversation
dd968f0
to
e844c0f
Compare
2c98ef3
to
b00b9bd
Compare
🚨 New dead code detected in this PR: NotificationBannerViewController.swift: warning: Property 'collectionOptions' is assigned, but never used Please remove the dead code before merging. If this is intentional, you can bypass this check by adding the label ℹ️ If this comment appears to be left in error, double check that the flagged code is actually used and/or make sure your branch is up-to-date with |
13b9949
to
a272b52
Compare
baf7731
to
c04f948
Compare
a272b52
to
62516e2
Compare
6f39d37
to
19b7736
Compare
Dead code check has a false positive because it's not checking if the property is used in an Encodable |
@@ -9,7 +9,7 @@ import Foundation | |||
|
|||
@_spi(PrivateBetaConnect) | |||
/// Collection options for account onboarding | |||
public struct AccountCollectionOptions: Codable { | |||
public struct AccountCollectionOptions: Equatable, Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added Equatable
so we could compare values in the Dashboard app
0c10880
to
bb8a81d
Compare
Summary
Adds
NotificationBannerViewController
equivalent to the Notification banner embedded component with DashboardOnly access.This component has a delegate callback,
didChangeWithTotal: andActionRequired
which contains:Motivation
https://jira.corp.stripe.com/browse/MXMOBILE-2503
Testing
Unit tests