工作,看來我不能得到地理位置工作在FFOS 1.3.0。默認發貨的「這裏地圖」沒有工作,但我的應用程序甚至不要求許可。 代碼沒有在我的筆記本上工作,我在這裏問的位置,然後provieded。我想這是清單文件的錯,雖然我不知道究竟是什麼問題。獲取地理位置對中興通訊的Open C
{
"version": "1.0",
"name": "Example",
"description": "Example",
"launch_path": "/index.html",
"icons": {
"16": "/images/icon_016.png",
"32": "/images/icon_032.png",
"48": "/images/icon_048.png",
"128": "/images/icon_128.png"
},
"developer": {
"name": "Example",
"url": "http://www.example.de"
},
"default_locale": "de",
"type": "privileged",
"permissions": {
"geolocation": {
"description": "Used to locate me"
}
}
}
任何幫助將appriciated :)
你可以試試樣板應用程序,看看它的工作原理:https://github.com/robnyman/Firefox-OS-Boilerplate-App/blob/gh-pages/manifest.webapp還有一件事是嘗試刪除特權類型,以查看它是否可能是您遇到的CSP錯誤 –
我們需要有關該應用的更多信息(將其剝離並放在某處)。最大的機會是CSP錯誤。附加到應用程序管理器,調試應用程序,然後單擊更新和檢查控制檯有任何錯誤。 –
嗨,樣板應用程序工作正常謝謝。我會檢查如果我可以修復它,如果我可以我會回答我的問題:) – schannall