firebase php-sdk for laravel它在我的测试站点上运行得很好,在localhost上,但在具有相同凭据的prod上运行得很好。示例:我验证了相同的fcm令牌Firebase::messaging()->validateRegistrationTokens('fLaGUygupk9NkwcHkHyrsM:APA91bH7Y0QgNQ4XcHGWA8OC8i-FqBQ2nAKnv0P-BQhJp_kFPMsGOSTM8k8XJQawYCu9Anh24Yw5fN1aJoV8ATugdW-Epn-Lqow_39IahaXVL9Hhpqlkk_i1PHjgn0yRHOZPq6URI_7D')
,并且在测试站点上我有这个
Array
(
[valid] => Array
(
[0] => fLaGUygupk9NkwcHkHyrsM:APA91bH7Y0QgNQ4XcHGWA8OC8i-FqBQ2nAKnv0P-BQhJp_kFPMsGOSTM8k8XJQawYCu9Anh24Yw5fN1aJoV8ATugdW-Epn-Lqow_39IahaXVL9Hhpqlkk_i1PHjgn0yRHOZPq6URI_7D
)
[unknown] => Array
(
)
[invalid] => Array
(
)
)
字符串
但在prod -这个
Array
(
[valid] => Array
(
)
[unknown] => Array
(
)
[invalid] => Array
(
)
)
型
我创建了新的密钥,新的令牌,但结果是一样的
1条答案
按热度按时间uidvcgyl1#
问题解决了。您需要在firebase配置中禁用cache_store。