接上个问题
https://ask.csdn.net/questions/7907189?spm=1001.2014.3001.5501
app运行后报错
W/System: Ignoring header X-Firebase-Locale because its value was null.
W/System: Ignoring header X-Firebase-Locale because its value was null.
D/FirebaseAuth: Notifying id token listeners about user ( 6hRPZYzAdzR4dcqBwkuZJpdPa7r1 ).
D/FirebaseAuth: Notifying auth state listeners about user ( 6hRPZYzAdzR4dcqBwkuZJpdPa7r1 ).
W/PersistentConnection: pc_0 - Firebase Database connection was forcefully killed by the server. Will not attempt reconnect. Reason: Database lives in a different region. Please change your database URL to https://book-app-bb141-default-rtdb.asia-southeast1.firebasedatabase.app
求求大佬们说详细点
问题已解决 ,不同区域所造成的,我用的菲律宾的服务器,使用的文件不包含实时数据库url,sdk假定了数据库位于原始区域美国,将Google services.json重新下载并把Google.gms:google-services换成最新版并cync now
不知道你这个问题是否已经解决, 如果还没有解决的话:先来个完整的URL Scheme协议格式:
openapp://thisapp:8888/content?Id=10011002
通过上面的路径 Scheme、Host、port、path、query全部包含,基本上平时使用路径就是这样子的。(Scheme和Host是必要的)
openapp代表该Scheme 协议名称(相当于http这样的协议头)
thisapp代表Scheme作用于哪个地址域(相当于baidu.com这样的域名格式,当然,可以不需要.com这样的后缀)
content代表Scheme指定的页面(相当于