iOS Question error in OBJECTIVE-C

aboalwaleed

Member
Licensed User
Longtime User
I linked with Authenticate with Firebase on iOS using a Phone Number
But it gives me a error when use OBJECTIVE-C

 

Attachments

  • p1.jpg
    p1.jpg
    298.1 KB · Views: 221
  • p2.jpg
    p2.jpg
    129.7 KB · Views: 208

aboalwaleed

Member
Licensed User
Longtime User
What the Error in this code plase

#if OBJC
- (void) tst
{
[[FIRPhoneAuthProvider provider] verifyPhoneNumber:"+96666666666"
UIDelegate:nil
completion:^(NSString * _Nullable verificationID, NSError * _Nullable error) {
if (error) {
[self showMessagePrompt:error.localizedDescription];
return;
}
// Sign in using the verificationID and the code sent to the user
// ...
}];
}
#End If
 
Upvote 0
Top