Files
native-app/apps/expo/config-plugins/withRemoveiOSNotificationEntitlement.js

12 lines
324 B
JavaScript

const withEntitlementsPlist =
require("@expo/config-plugins").withEntitlementsPlist;
const withRemoveiOSNotificationEntitlement = (config) => {
return withEntitlementsPlist(config, (mod) => {
delete mod.modResults["aps-environment"];
return mod;
});
};
module.exports = withRemoveiOSNotificationEntitlement;