Skip to content

Commit 3d3c4ec

Browse files
authored
fix(app, expo): update config plugin to match Expo 53.0.1 AppDelegate (#8500)
1 parent 7617611 commit 3d3c4ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/plugin/src/ios/appDelegate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export function modifyObjcAppDelegate(contents: string): string {
7171
export function modifySwiftAppDelegate(contents: string): string {
7272
const methodInvocationBlock = `FirebaseApp.configure()`;
7373
const methodInvocationLineMatcher =
74-
/(?:self\.moduleName\s*=\s*"([^"]*)")|(?:reactNativeFactory\?\.\s*startReactNative)/;
74+
/(?:self\.moduleName\s*=\s*"([^"]*)")|(?:factory\.startReactNative\()/;
7575

7676
// Add import
7777
if (!contents.includes('import FirebaseCore')) {

0 commit comments

Comments
 (0)