Skip to content

Commit 0cc6654

Browse files
feat(messaging): Add bandwidthConstrainedOk and restrictedSatelliteOk to AndroidConfig
Adds two new optional boolean properties, `bandwidthConstrainedOk` and `restrictedSatelliteOk`, to the `AndroidConfig` type in the messaging API. This change includes: - Updating the `AndroidConfig` interface in `src/messaging/messaging-api.ts`. - Adding the corresponding property mappings in `src/messaging/messaging-internal.ts`. - Updating unit tests in `test/unit/messaging/messaging.spec.ts` to cover the new properties. - Updating the public API documentation.
1 parent 582d165 commit 0cc6654

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

etc/firebase-admin.messaging.api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { Agent } from 'http';
88

99
// @public
1010
export interface AndroidConfig {
11+
bandwidthConstrainedOk?: boolean;
1112
collapseKey?: string;
1213
data?: {
1314
[key: string]: string;
@@ -17,6 +18,7 @@ export interface AndroidConfig {
1718
notification?: AndroidNotification;
1819
priority?: ('high' | 'normal');
1920
restrictedPackageName?: string;
21+
restrictedSatelliteOk?: boolean;
2022
ttl?: number;
2123
}
2224

0 commit comments

Comments
 (0)