fix: add config plugin to remove notification entitlement during prebuild

This commit is contained in:
Adrian Castro
2024-03-19 20:05:53 +01:00
parent d3368ef644
commit 134b71eeaf
2 changed files with 17 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
import type { ExpoConfig } from "expo/config";
import withRemoveiOSNotificationEntitlement from "./config-plugins/withRemoveiOSNotificationEntitlement";
import { version } from "./package.json";
const defineConfig = (): ExpoConfig => ({
@@ -37,6 +38,7 @@ const defineConfig = (): ExpoConfig => ({
},
plugins: [
"expo-router",
[withRemoveiOSNotificationEntitlement as unknown as string],
[
"expo-screen-orientation",
{