Skip to content

Commit 5832e24

Browse files
authored
Update appDelegate.ts
1 parent 615abf5 commit 5832e24

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
@@ -70,7 +70,7 @@ export function modifyObjcAppDelegate(contents: string): string {
7070

7171
export function modifySwiftAppDelegate(contents: string): string {
7272
const methodInvocationBlock = `FirebaseApp.configure()`;
73-
const methodInvocationLineMatcher = /(?:self\.moduleName\s*=\s*"([^"]*)")/g;
73+
const methodInvocationLineMatcher = /(?:self\.moduleName\s*=\s*"([^"]*)")|(?:reactNativeFactory\?\.\s*startReactNative)/;
7474

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

0 commit comments

Comments
 (0)