![](/img/trans.png)
[英]Flutter Firebase Works On Real Device Not On Android Emulator
[英]Firebase receives data from real device but doesn't from an emulator....why?
我已經使用 Firebase 2 年了,突然它停止從模擬器接收任何數據,但同時它從實際設備接收!
我的代碼:
val database =Firebase.database
val myRef = database.getReference("message")
uploadButton.setOnClickListener {
myRef.setValue("Hello, World!")
}
我試過的
SHA1
和google-services.json
當我降級模擬器版本時問題得到解決,這是幫助我的答案: https://stackoverflow.com/a/73395525/17225971
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.