File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,20 @@ const isMessagingSupportedPromiseSymbol = '__angularfire_symbol__messagingIsSupp
16
16
17
17
globalThis [ isAnalyticsSupportedPromiseSymbol ] ||= isAnalyticsSupported ( ) . then ( it =>
18
18
globalThis [ isAnalyticsSupportedValueSymbol ] = it
19
+ ) . catch ( ( ) =>
20
+ globalThis [ isAnalyticsSupportedValueSymbol ] = false
19
21
) ;
20
22
21
23
globalThis [ isMessagingSupportedPromiseSymbol ] ||= isMessagingSupported ( ) . then ( it =>
22
24
globalThis [ isMessagingSupportedValueSymbol ] = it
25
+ ) . catch ( ( ) =>
26
+ globalThis [ isMessagingSupportedValueSymbol ] = false
23
27
) ;
24
28
25
29
globalThis [ isRemoteConfigSupportedPromiseSymbol ] ||= isRemoteConfigSupported ( ) . then ( it =>
26
30
globalThis [ isRemoteConfigSupportedValueSymbol ] = it
31
+ ) . catch ( ( ) =>
32
+ globalThis [ isRemoteConfigSupportedValueSymbol ] = false
27
33
) ;
28
34
29
35
const isSupportedError = ( module : string ) =>
You can’t perform that action at this time.
0 commit comments