-1
我有一個在瀏覽器中很好用的Ionic應用程序。但是,我爲Android構建了應用程序,並且在設備上我甚至無法登錄。當我點擊「登錄與Facebook」按鈕,我得到這個輸出的logcat:科爾多瓦應用程序不會通過Facebook登錄
E/eglCodecCommon(2241): glUtilsParamSize: unknow param 0x00000b44
E/eglCodecCommon(2241): glUtilsParamSize: unknow param 0x00000bd0
E/eglCodecCommon(2241): **** ERROR unknown type 0x0 (glSizeof,72)
E/eglCodecCommon(2241): **** ERROR unknown type 0x0 (glSizeof,72)
D/CordovaLog(2241): file:///android_asset/www/js/loginCtrl.js: Line 51 : Login
I/chromium(2241): [INFO:CONSOLE(51)] "Login", source: file:///android_asset/www/js/loginCtrl.js (51)
D/ConnectPlugin(2241): login FB
E/PluginManager(2241): Uncaught exception from plugin
E/PluginManager(2241): com.facebook.FacebookException: Cannot pass a publish or manage permission (publish_actions) to a request for read authorization
E/PluginManager(2241): at com.facebook.Session.validatePermissions(Session.java:1291)
E/PluginManager(2241): at com.facebook.Session.open(Session.java:1194)
E/PluginManager(2241): at com.facebook.Session.openForRead(Session.java:471)
E/PluginManager(2241): at org.apache.cordova.facebook.ConnectPlugin.execute(ConnectPlugin.java:247)
E/PluginManager(2241): at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:84)
E/PluginManager(2241): at org.apache.cordova.PluginManager.exec(PluginManager.java:147)
E/PluginManager(2241): at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
E/PluginManager(2241): at org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:40)
E/PluginManager(2241): at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
E/PluginManager(2241): at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:27)
E/PluginManager(2241): at android.os.Handler.dispatchMessage(Handler.java:102)
E/PluginManager(2241): at android.os.Looper.loop(Looper.java:136)
E/PluginManager(2241): at android.os.HandlerThread.run(HandlerThread.java:61)
D/CordovaLog(2241): file:///android_asset/www/js/loginCtrl.js: Line 75 : Cannot pass a publish or manage permission (publish_actions) to a request for read authorization
I/chromium(2241): [INFO:CONSOLE(75)] "Cannot pass a publish or manage permission (publish_actions) to a request for read authorization", source: file:///android_asset/www/js/loginCtrl.js (75)
E/eglCodecCommon(2241): glUtilsParamSize: unknow param 0x00000b44
E/eglCodecCommon(2241): glUtilsParamSize: unknow param 0x00000bd0
E/eglCodecCommon(2241): **** ERROR unknown type 0x0 (glSizeof,72)
E/eglCodecCommon(2241): **** ERROR unknown type 0x0 (glSizeof,72)
D/dalvikvm(2241): GC_FOR_ALLOC freed 3376K, 51% free 3462K/6940K, paused 11ms, total 11ms
D/dalvikvm(2241): GC_CONCURRENT freed <1K, 51% free 3462K/6940K, paused 11ms+0ms, total 13ms
E/eglCodecCommon(2241): glUtilsParamSize: unknow param 0x00000b44
E/eglCodecCommon(2241): glUtilsParamSize: unknow param 0x00000bd0
E/eglCodecCommon(2241): **** ERROR unknown type 0x0 (glSizeof,72)
E/eglCodecCommon(2241): **** ERROR unknown type 0x0 (glSizeof,72)
任何想法可能會導致什麼呢?
我的理論是,在我的Facebook的儀表板,我只創建了應用程序與網站網址網站http://localhost:8100/
我相信我需要將其設置爲一個Android應用程序,但我沒有包名稱,主要活動類或關鍵哈希,因爲它是一個JavaScript離子應用程序,而不是傳統的Android應用程序。
看起來好像你有權限給我的麻煩。檢查也許。 – 2014-12-01 21:41:39
正如我所提到的,我的理論是,我沒有在我的Facebook儀表板上授權Android。你知道如何找到離子應用的軟件包名稱和密鑰哈希值嗎? – johncorser 2014-12-01 21:44:07
對不起,不知道如何檢索這些。 – 2014-12-01 21:46:01