We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97ddefd commit 7617611Copy full SHA for 7617611
packages/app/plugin/src/ios/appDelegate.ts
@@ -70,7 +70,8 @@ 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 =
74
+ /(?:self\.moduleName\s*=\s*"([^"]*)")|(?:reactNativeFactory\?\.\s*startReactNative)/;
75
76
// Add import
77
if (!contents.includes('import FirebaseCore')) {
0 commit comments