firebase-ios-sdk icon indicating copy to clipboard operation
firebase-ios-sdk copied to clipboard

Authentication built-in UI in Custom Keyboard Extension

Open octo8ight opened this issue 1 year ago • 2 comments

Description

Hi, Guys. Thanks for your great works.

I'm working on Custom Keyboard Extension Project for iOS now. I've just seen the issue #6605. But there aren't any words related to Authentication Library. Can I integrate and use Firebase Authentication Lib with it? Can I use pre built-in AuthUI in my custom keyboard view? Also Realtime Database Library?

Hope to hear from you.

Reproducing the issue

The project I'm working on has two sub projects. Main App, Keyboard Extension

I just added FirebaseApp.configure() to my KeyboardController Class like this.

import FirebaseCore
class KeyboardViewController: KeyboardInputViewController {
    override func viewDidLoad() {
       ...
        super.viewDidLoad()
       FirebaseApp.configure()
   }
}

I want to know if this is correct snippet.

Firebase SDK Version

9.5.0

Xcode Version

14.1

Installation Method

Swift Package Manager

Firebase Product(s)

Authentication, Database

Targeted Platforms

iOS, App Extensions

Relevant Log Output

No response

If using Swift Package Manager, the project's Package.resolved

I haven't got any file.

If using CocoaPods, the project's Podfile.lock

I haven't got any file.

octo8ight avatar Nov 17 '22 08:11 octo8ight

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Nov 17 '22 08:11 google-oss-bot

Sorry for the late response, @dinodev0101. Per checking, iOS App Extensions are supported in Firebase Auth. You may try to explore and test this sample app which uses Firebase in iOS App Extensions.

rizafran avatar Nov 30 '22 14:11 rizafran

Closing for staleness. Please comment or open a new issue to continue the discussion.

paulb777 avatar Jan 06 '24 16:01 paulb777