mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-03 22:15:13 +01:00
14 lines
505 B
JavaScript
14 lines
505 B
JavaScript
const { withEntitlementsPlist } = require('expo/config-plugins');
|
|
|
|
// This disables push notifications. Even though we have them turned off by default
|
|
// eas fails in Fastlane step because there is some legacy bug.
|
|
// More here: https://github.com/expo/eas-cli/issues/987
|
|
const withRemoveiOSNotificationEntitlement = config =>
|
|
withEntitlementsPlist(config, mod => {
|
|
delete mod.modResults['aps-environment'];
|
|
|
|
return mod;
|
|
});
|
|
|
|
module.exports = withRemoveiOSNotificationEntitlement;
|