diff --git a/changes/issue-39184-apns-banner-fix b/changes/issue-39184-apns-banner-fix new file mode 100644 index 0000000000..05ea0e0635 --- /dev/null +++ b/changes/issue-39184-apns-banner-fix @@ -0,0 +1 @@ +- Added APNs expiry banner in the UI for fleet free tier. diff --git a/frontend/components/MainContent/MainContent.tsx b/frontend/components/MainContent/MainContent.tsx index 3d92952eb1..66aea31397 100644 --- a/frontend/components/MainContent/MainContent.tsx +++ b/frontend/components/MainContent/MainContent.tsx @@ -57,10 +57,12 @@ const MainContent = ({ // the order of these checks is important. This is the priority order // for showing banners and only one banner is shown at a time. - if (isPremiumTier) { - if (isApplePnsExpired || willApplePnsExpire) { - banner = ; - } else if (isAndroidEnterpriseDeleted) { + if (isApplePnsExpired || willApplePnsExpire) { + // APNs expiration banner will show for either premium or free tiers + // but all other banners are only for premium tiers + banner = ; + } else if (isPremiumTier) { + if (isAndroidEnterpriseDeleted) { banner = ; } else if (isAppleBmExpired || willAppleBmExpire) { banner = ;