我目前使用Firebase實時數據庫作爲我的反應原生移動應用程序,我一直在尋找一些替代方案,以提供更好的查詢功能。 Firestore的強項之一是其查詢功能。我想檢查Firestore是否支持React Native。Cloud Firestore支持React Native
2
A
回答
6
React Native Firebase的Oct 3rd版本包含Cloud Firestore支持。
在爲新發布雲計算公司的FireStore測試版支持一通,看到 http://invertase.link/firestore爲支持的API。
import firebase from 'react-native-firebase';
firebase.firestore()
.collection('posts')
.add({
title: 'Amazing post',
})
.then(() => {
// Document added to collection and ID generated
// Will have path: `posts/{generatedId}`
})
+0
感謝您的回覆。我目前在反應本機應用程序中使用Firebase Web SDK,但我猜Firestore的Web SDK目前不支持React Native。 –
0
此外,還可以使用圖書館像Firestorter直接掛鉤您公司的FireStore數據到你反應的組分:
https://github.com/IjzerenHein/firestorter
https://medium.com/@hrutjes/building-a-react-firestore-app-with-zero-effort-and-mobx-525df611eabf
相關問題
- 1. React-Native ToolbarAndroid不支持fontFamily
- 2. react-native是否支持NSDataDetector?
- 3. React Native中的Firebase Firestore集合檢索
- 4. React Native:檢測是否支持UIVisualEffectView
- 5. React Native,支持Windows Phone和BlackBerry
- 6. IOS上的React Native支持晴雨表
- 7. Android上支持React Native的LayoutAnimation嗎?
- 8. react-native-touch-id是否支持android?
- 9. Cloud Shell docker支持
- 10. Cloud Firestore交易限制
- 11. Google Cloud Firestore觸發器
- 12. Google Cloud功能:支持Google Cloud KMS
- 13. React Native Native Stylesheet
- 14. react-native-maps支持離線谷歌地圖
- 15. 對React Native應用程序的脫機支持
- 16. 圖片上傳和裁剪的React-Native庫(支持android和ios)
- 17. 如何在React Native中安裝Android支持庫?
- 18. React Native是否真的支持Android碎片?
- 19. React Native支持哪個版本(iOS和Android)?
- 20. 如何在React Native中支持分割視圖
- 21. React Native當前是否支持訪問用戶的地址簿
- 22. React JS v React Native
- 23. React Native保持寬高比圖像ios
- 24. 與React Native的持續集成
- 25. React Native <ScrollView>持久滾動條
- 26. React Native,AwesomeProject,react-native run-ios:** BUILD FAILED **
- 27. React Native中的react-native run-android
- 28. react-native run-android and react-native開始
- 29. React Native react-native-google-places-autocomplete implementation
- 30. Google雲語音與React Native
你到那T中的公司的FireStore文檔? – Rob
我做過了,如果它支持或不支持React Native,則沒有明確提及。 –