baumblatt / capacitor-firebase-auth

Capacitor Firebase Authentication Plugin
MIT License
261 stars 129 forks source link

What does means nativeAuth option? #90

Open nelson6e65 opened 4 years ago

nelson6e65 commented 4 years ago
{
  "plugins": {
    "CapacitorFirebaseAuth": {
      "providers": ["phone", "facebook.com", "google.com"],
      "languageCode": "en",
      "nativeAuth": true
    }
  }
}

When should be the nativeAuth property true, or false?

baumblatt commented 4 years ago

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.

nelson6e65 commented 4 years ago

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?

mesqueeb commented 4 years ago

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

baumblatt commented 4 years ago

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