From e7bc1b67095fc0c0dbb96b98f3dd39ecb255ec88 Mon Sep 17 00:00:00 2001 From: Jonathan Fernandez Date: Sat, 23 Jan 2021 11:11:26 -0600 Subject: [PATCH] feat(firebase-authentication): add signInWithApple method (#3597) --- .../plugins/firebase-authentication/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/@ionic-native/plugins/firebase-authentication/index.ts b/src/@ionic-native/plugins/firebase-authentication/index.ts index 830d0e9cc3..d00a939f4d 100644 --- a/src/@ionic-native/plugins/firebase-authentication/index.ts +++ b/src/@ionic-native/plugins/firebase-authentication/index.ts @@ -126,6 +126,16 @@ export class FirebaseAuthentication extends IonicNativePlugin { return; } + /** + * Uses Apples's idToken and rawNonce (optional) to sign-in into firebase account. In order to retrieve those tokens follow instructions for Android and iOS + * @param idToken ID Token + * @param rawNonce Access Token + */ + @Cordova({ sync: true }) + signInWithApple(identityToken: string, rawNonce?: string): Promise { + return; + } + /** * Uses Facebook's accessToken to sign-in into firebase account. In order to retrieve those tokens follow instructions for Android and iOS. * @param accessToken Access Token