capacitor-firebase-auth icon indicating copy to clipboard operation
capacitor-firebase-auth copied to clipboard

What does means nativeAuth option?

Open nelson6e65 opened this issue 5 years ago • 4 comments

{
  "plugins": {
    "CapacitorFirebaseAuth": {
      "providers": ["phone", "facebook.com", "google.com"],
      "languageCode": "en",
      "nativeAuth": true
    }
  }
}

When should be the nativeAuth property true, or false?

nelson6e65 avatar Jun 25 '20 02:06 nelson6e65

Hello Nelson,

This is a feature supported for Google, Twitter and Facebook (not Phone) to sign the user on native layer too.

This is useful if you need to handle any feature provided by another plugin that needs authentication.

At this time, I have no glue if someone use this at all.

Please let me know if you have any questions, or we can close this issue.

Best regards, Bernardo Baumblatt.

baumblatt avatar Jun 25 '20 13:06 baumblatt

Hello!

Thanks for your answer.

I have 2 apps with ("phone", "facebook.com", "google.com"). One has this option set to true and the other to false.

No problem at the moment.

This is useful if you need to handle any feature provided by another plugin that needs authentication.

I see. I only need this to be true if I use another plugin that need it.

For the moment I'll keep this option set to true in one app and false in the other.

Anyway, this should be documented, it's not?

nelson6e65 avatar Jun 25 '20 14:06 nelson6e65

I had the same question. I'm happy I found the answer here. This would be great in the readme as well!

mesqueeb avatar Jul 17 '20 05:07 mesqueeb

Hi,

I included the answer in readme on release 2.3.1, thank you guys for share your thoughts.

Please let me know if you have any questions, or we can close this issue.

Best regards, Bernardo Baumblat

baumblatt avatar Jul 17 '20 16:07 baumblatt