-
Notifications
You must be signed in to change notification settings - Fork 1.8k
refactor(inappmessaging): remove obsolete OS availability checks #16336
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
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -26,7 +26,7 @@ NS_SWIFT_NAME(InAppMessagingDefaultDisplayImpl) | |||
| * to help UI Testing app access the UI layer directly. | ||||
| */ | ||||
| NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.") | ||||
| API_AVAILABLE(ios(13.0), tvos(13.0)) | ||||
|
|
||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| @interface FIRIAMDefaultDisplayImpl : NSObject <FIRInAppMessagingDisplay> | ||||
|
|
||||
| /// Conforms to display delegate for rendering of in-app messages. | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -20,6 +20,6 @@ | |||
| // a Firebase Analytics event is fired. | ||||
|
|
||||
| NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.") | ||||
| API_AVAILABLE(ios(13.0), tvos(13.0)) | ||||
|
|
||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| @interface FIRIAMDisplayCheckOnAnalyticEventsFlow : FIRIAMDisplayCheckTriggerFlow | ||||
| @end | ||||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -39,7 +39,7 @@ NS_ASSUME_NONNULL_BEGIN | |||
| // 1 No current in-app message is being displayed | ||||
| // 2 For non-contextual messages, the display interval in display setting is met. | ||||
| NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.") | ||||
| API_AVAILABLE(ios(13.0), tvos(13.0)) | ||||
|
|
||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| @interface FIRIAMDisplayExecutor : NSObject | ||||
|
|
||||
| - (instancetype)initWithInAppMessaging:(FIRInAppMessaging *)inAppMessaging | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -50,7 +50,7 @@ NS_ASSUME_NONNULL_BEGIN | |||
| // This class exists so that we can do message match more efficiently (in-memory search vs search | ||||
| // in local persistent storage) by using appropriate in-memory data structure. | ||||
| NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.") | ||||
| API_AVAILABLE(ios(13.0), tvos(13.0)) | ||||
|
|
||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| @interface FIRIAMMessageClientCache : NSObject | ||||
|
|
||||
| // used to inform the analytics event display check flow about whether it should start/stop | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -26,7 +26,7 @@ | |||
| NS_ASSUME_NONNULL_BEGIN | ||||
| // A class for managing the objects/dependencies for supporting different fiam flows at runtime | ||||
| NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.") | ||||
| API_AVAILABLE(ios(13.0), tvos(13.0)) | ||||
|
|
||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| @interface FIRIAMRuntimeManager : NSObject | ||||
| @property(nonatomic, nonnull) FIRIAMSDKSettings *currentSetting; | ||||
| @property(nonatomic, nonnull) FIRIAMActivityLogger *activityLogger; | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -44,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN | |||
|
|
||||
| NS_EXTENSION_UNAVAILABLE("Firebase In App Messaging is not supported for iOS extensions.") | ||||
| API_UNAVAILABLE(macos, watchos) | ||||
| API_AVAILABLE(ios(13.0), tvos(13.0)) | ||||
|
|
||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| NS_SWIFT_NAME(InAppMessaging) | ||||
| @interface FIRInAppMessaging : NSObject | ||||
| /** @fn inAppMessaging | ||||
|
|
||||
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.