@@ -44,7 +44,6 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
4444 supportsTablet : true ,
4545 bundleIdentifier : Env . BUNDLE_ID ,
4646 requireFullScreen : true ,
47- googleServicesFile : 'GoogleService-Info.plist' ,
4847 infoPlist : {
4948 UIBackgroundModes : [ 'remote-notification' , 'audio' , 'bluetooth-central' , 'voip' ] ,
5049 ITSAppUsesNonExemptEncryption : false ,
@@ -54,6 +53,10 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
5453 LSApplicationQueriesSchemes : [ 'resgridunit' ] ,
5554 } ,
5655 entitlements : {
56+ // Required for APNs registration. Previously added by the expo-notifications
57+ // plugin; set explicitly so removing/swapping plugins can never silently drop
58+ // it (which previously broke ALL iOS push — see docs/ios-foreground-notifications-fix.md).
59+ 'aps-environment' : 'production' ,
5760 ...( ( Env . APP_ENV === 'production' || Env . APP_ENV === 'internal' ) && {
5861 'com.apple.developer.usernotifications.critical-alerts' : true ,
5962 'com.apple.developer.usernotifications.time-sensitive' : true ,
@@ -169,13 +172,6 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
169172 } ,
170173 ios : {
171174 deploymentTarget : '18.1' ,
172- useFrameworks : 'static' ,
173- // Build React Native from source instead of the prebuilt
174- // ReactNativeDependencies.xcframework. The prebuilt core does not
175- // re-export RN's preprocessor macros (RCT_EXTERN, RCT_CONCAT) across
176- // the static-framework module boundary, so RCT_EXPORT_MODULE() fails
177- // to compile in third-party Obj-C modules like @react-native-firebase.
178- buildReactNativeFromSource : true ,
179175 } ,
180176 } ,
181177 ] ,
@@ -223,12 +219,10 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
223219 'react-native-ble-manager' ,
224220 '@livekit/react-native-expo-plugin' ,
225221 '@config-plugins/react-native-webrtc' ,
226- './plugins/withWebRTCFrameworkFix.js' ,
227222 '@config-plugins/react-native-callkeep' ,
228- '@react-native-firebase/app ' ,
223+ 'expo-notifications ' ,
229224 './customGradle.plugin.js' ,
230225 './customManifest.plugin.js' ,
231- './plugins/withForegroundNotifications.js' ,
232226 './plugins/withNotificationSounds.js' ,
233227 './plugins/withMediaButtonModule.js' ,
234228 [
0 commit comments