bizz84 / firebase_auth_demo_flutter

Reference Authentication Flow with Flutter & Firebase
https://codewithandrea.com/
MIT License
674 stars 178 forks source link

No implementation found for method isAvailable on channel dev.gilder.tom/apple_sign_in #68

Open fogelfish opened 4 years ago

fogelfish commented 4 years ago

I've been through your Udemy Flutter & Firebase course. I wanted to study this demo for additional insights. Thank you for making it available to all.

I'm seeing a hitch in iOS. The device screen (in my simulator) does not get past a blank white screen. There is no widget tree in the Flutter Inspector in IntelliJ and no error output. Running it in Xcode, this one bit of output seems especially suspicious.

Unhandled Exception: MissingPluginException
(No implementation found for method isAvailable on channel dev.gilder.tom/apple_sign_in)

There is a lot more to that output (I'll post here if you want to see it) but I thought I'd start by asking if this one line could point to the reason for the blank white screen?

psenechal commented 3 years ago

Interesting...I have the same issue, but on Android. I changed the dependency over to sign_in_with_apple and the iOS login works perfect (as long as you're running a iOS13 emulator), however, on Android I'm getting the exact same behavior and error message that you're getting on iOS.

fogelfish commented 3 years ago

I got past this today after paying better attention and noticing the following message when I built my app in Xcode: "No URL for Apple ID Authorization". This clued me into something that I had previously done.

I had commented out what I thought were all occurrences and references to apple sign-in code because I wasn't going to use it for a while, but seeing that message made me realize that I must not have completely eliminated those references.

I decided to uncomment it all, instead of search for the still-active reference that was screwing up things, and now the blank white screen is gone from both the iOS (iPhone 12 Pro, v14.4) and Android (Pixel 4 API R) simulators.