mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:33:26 +00:00
Merge branch 'feat-providers-video' of https://github.com/castdrian/mw-native into pr/9
This commit is contained in:
@@ -3,13 +3,14 @@
|
|||||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||||
const withEntitlementsPlist = require("@expo/config-plugins").withEntitlementsPlist;
|
const withEntitlementsPlist =
|
||||||
|
require("@expo/config-plugins").withEntitlementsPlist;
|
||||||
|
|
||||||
const withRemoveiOSNotificationEntitlement = (config) => {
|
const withRemoveiOSNotificationEntitlement = (config) => {
|
||||||
return withEntitlementsPlist(config, mod => {
|
return withEntitlementsPlist(config, (mod) => {
|
||||||
delete mod.modResults['aps-environment'];
|
delete mod.modResults["aps-environment"];
|
||||||
return mod;
|
return mod;
|
||||||
})
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
module.exports = withRemoveiOSNotificationEntitlement;
|
module.exports = withRemoveiOSNotificationEntitlement;
|
Reference in New Issue
Block a user