Do Xamarin support Firebase Cloud Firestore?

一世执手 提交于 2020-05-09 06:21:52

问题


I have a requirement to create app using xamarin and cloud firestore, but i am not able to find related documents anywhere. do really xamarin forms supports firebase cloud store, if yes please send me related link for connectivity and basic crud operation.


回答1:


"Absolutely yes!"

There is a very useful plugin for Xamarin Forms (Android and iOS):

Plugin.CloudFirestore

How to use?

  1. Create a new Firebase project:

Follow the steps to put a name for your project and enable Analytics.

  1. In your Firebase project create an Android application and download the file generated (google-services.json)

  1. In your Firebase project create an iOS application and download the file generated (GoogleService-Info.plist).

  1. In your Xamarin Forms Android project (YourProject.Android) paste the file google-services.json in the main folder

  1. In your Xamarin Forms iOS project (YourProject.iOS) paste the file GoogleService-Info.plist in the main folder.

  1. Follow the steps of the Setup section on the official documentation for both platforms (Android/iOS) and enjoy using it.

IMPORTANT: If you haven't authentication for your cloud Firestore database, you can setup its rules like the below image:



来源:https://stackoverflow.com/questions/54838615/do-xamarin-support-firebase-cloud-firestore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!