Skip to content

Commit ddd973c

Browse files
Chuan Renmorganchen12
authored andcommitted
Minor fixes
1 parent 26024bb commit ddd973c

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

EmailAuth/FirebaseEmailAuthUI/FUIConfirmEmailViewController.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ - (void)onNext:(NSString *)emailText {
164164
case FIRAuthErrorCodeTooManyRequests:
165165
[self showAlertWithMessage:FUILocalizedString(kStr_SignInTooManyTimesError)];
166166
return;
167+
default:
168+
[self showAlertWithMessage:error.description];
169+
return;
167170
}
168171
}
169172

EmailAuth/FirebaseEmailAuthUI/FUIEmailEntryViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ - (void)sendSignInLinkToEmail:(NSString*)email {
249249
}
250250
dismissTitle:FUILocalizedString(kStr_Back)
251251
dismissHandler:^{
252-
[self.navigationController popToRootViewControllerAnimated:YES];
252+
[self.navigationController dismissViewControllerAnimated:YES
253+
completion:nil];
253254
}
254255
presentingViewController:self];
255256
}

samples/objc/FirebaseUI-demo-objc/Samples/Auth/FUIAuthViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ + (NSArray *)getListOfIDPs:(NSArray<NSIndexPath *> *)selectedRows
375375
FIRActionCodeSettings *actionCodeSettings = [[FIRActionCodeSettings alloc] init];
376376
actionCodeSettings.URL = [NSURL URLWithString:@"https://fb-sa-1211.appspot.com"];
377377
actionCodeSettings.handleCodeInApp = YES;
378-
[actionCodeSettings setAndroidPackageName:@"com.example.android"
378+
[actionCodeSettings setAndroidPackageName:@"com.firebase.uidemo"
379379
installIfNotAvailable:NO
380380
minimumVersion:@"12"];
381381

0 commit comments

Comments
 (0)