2016-12-04 106 views
1

我一樣說的每一步,我得到這個錯誤:科爾多瓦插件火力地堡GoogleService初始化失敗

GoogleService failed to initialize, status: 10, Missing google app id value from from string resources with name google_app_id. 

我的谷歌,service.json位於正確的位置:

My google-service.json is located in the right place

The hook works,but I still get the error and can not use Firebase plugin:

But I still got the error and cant user firebase plugin

我做錯了什麼?

回答

0

確保您在config.xml中的小部件的id已設置爲「包名稱」,當您將項目添加到Firebase控制檯時應該定義該「包名稱」。

例如:

<widget id="com.yourappdomain.app" ...> 
+0

並且其中是示例? – Alexan