We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 615abf5 commit 5832e24Copy full SHA for 5832e24
packages/app/plugin/src/ios/appDelegate.ts
@@ -70,7 +70,7 @@ export function modifyObjcAppDelegate(contents: string): string {
70
71
export function modifySwiftAppDelegate(contents: string): string {
72
const methodInvocationBlock = `FirebaseApp.configure()`;
73
- const methodInvocationLineMatcher = /(?:self\.moduleName\s*=\s*"([^"]*)")/g;
+ const methodInvocationLineMatcher = /(?:self\.moduleName\s*=\s*"([^"]*)")|(?:reactNativeFactory\?\.\s*startReactNative)/;
74
75
// Add import
76
if (!contents.includes('import FirebaseCore')) {
0 commit comments