@@ -166,30 +166,15 @@ - (void)configureDynamicLinks:(FIRApp *)app {
166
166
userInfo: errorDict];
167
167
}
168
168
if (error) {
169
- NSString *message = nil ;
170
- if (options.usingOptionsFromDefaultPlist ) {
171
- // Configured using plist file
172
- message = [NSString
173
- stringWithFormat:
174
- @" Firebase Dynamic Links has stopped your project "
175
- @" because there are missing or incorrect values provided in %@ .%@ that may "
176
- @" prevent your app from behaving as expected:\n\n "
177
- @" Error: %@ \n\n "
178
- @" Please fix these issues to ensure that Firebase is correctly configured in "
179
- @" your project." ,
180
- kServiceInfoFileName , kServiceInfoFileType , error.localizedFailureReason];
181
- } else {
182
- // Configured manually
183
- message = [NSString
184
- stringWithFormat:
185
- @" Firebase Dynamic Links has stopped your project "
186
- @" because there are incorrect values provided in Firebase's configuration "
187
- @" options that may prevent your app from behaving as expected:\n\n "
188
- @" Error: %@ \n\n "
189
- @" Please fix these issues to ensure that Firebase is correctly configured in "
190
- @" your project." ,
191
- error.localizedFailureReason];
192
- }
169
+ NSString *message =
170
+ [NSString stringWithFormat:
171
+ @" Firebase Dynamic Links has stopped your project "
172
+ @" because there are incorrect values provided in Firebase's configuration "
173
+ @" options that may prevent your app from behaving as expected:\n\n "
174
+ @" Error: %@ \n\n "
175
+ @" Please fix these issues to ensure that Firebase is correctly configured in "
176
+ @" your project." ,
177
+ error.localizedFailureReason];
193
178
[NSException raise: kFirebaseDurableDeepLinkErrorDomain format: @" %@ " , message];
194
179
}
195
180
[self checkForCustomDomainEntriesInInfoPlist ];
0 commit comments