我一直在我的react-native-expo应用程序中使用google sign。今天突然,它停止返回用户数据,而v2/me
API却返回了该数据-
{
"type":"default",
"status":200,
"ok":true,
"headers":{
"map":{
"content-type":[
"application/json; charset=UTF-8"
],
"content-encoding":[
"gzip"
],
"x-xss-protection":[
"1; mode=block"
],
"content-length":[
"244"
],
"x-frame-options":[
"SAMEORIGIN"
],
"vary":[
"Origin, X-Origin, Referer"
],
"pragma":[
"no-cache"
],
"x-content-type-options":[
"nosniff"
],
"expires":[
"Mon, 01 Jan 1990 00:00:00 GMT"
],
"server":[
"ESF"
],
"cache-control":[
"no-cache, no-store, max-age=0, must-revalidate"
],
"alt-svc":[
"quic=\":443\"; ma=2592000; v=\"44,43,39,35\""
],
"date":[
"Mon, 14 Jan 2019 07:09:50 GMT"
]
}
},
"url":"https://www.googleapis.com/userinfo/v2/me",
"_bodyInit":{
"_data":{
"size":364,
"blobId":"9CAA41D0-7D2A-445F-A969-5F2717437D0C",
"type":"application/json",
"offset":0,
"name":"me"
}
},
"_bodyBlob":{
"_data":{
"size":364,
"blobId":"9CAA41D0-7D2A-445F-A969-5F2717437D0C",
"type":"application/json",
"offset":0,
"name":"me"
}
}
}