We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ceb45 commit 5f74256Copy full SHA for 5f74256
packages/auth/plugin/src/ios/openUrlFix.ts
@@ -183,6 +183,10 @@ export function modifySwiftAppDelegate(contents: string): string | null {
183
return null;
184
}
185
186
+ const isAlreadyModified = contents.includes(skipOpenUrlForFirebaseAuthBlockSwift);
187
+ if (isAlreadyModified) {
188
+ return null;
189
+ }
190
return contents.replace(pattern, `${fullMatch[0]}${skipOpenUrlForFirebaseAuthBlockSwift}\n`);
191
192
0 commit comments