2015-04-12 27 views
0

我正在開發使用Cordova Facebook plugin的Ionic/Cordova應用程序。直到幾天前,使用登錄方法打開本機應用程序(在設備上運行時)。然後,在刪除並重新添加iOS平臺之後,相同的方法開始打開webview而不是打開本機應用程序。iOS上的Apache Cordova Facebook插件即使安裝了本機應用程序,也始終打開Web對話框

插件troubleshooting page提供了一個解決這個問題的方法,但是我似乎無法在Facebook中找到我可以將「Deep Linking」切換到ON的位置。

有人嗎?

回答

0

問題是URL計劃fb<APP_ID>未在Xcode項目中設置。

0

在我來說,我不得不添加下面的我plist

<key>LSApplicationQueriesSchemes</key> 
<array> 
    <string>fbapi</string> 
    <string>fbapi20130214</string> 
    <string>fbapi20130410</string> 
    <string>fbapi20130702</string> 
    <string>fbapi20131010</string> 
    <string>fbapi20131219</string> 
    <string>fbapi20140410</string> 
    <string>fbapi20140116</string> 
    <string>fbapi20150313</string> 
    <string>fbapi20150629</string> 
    <string>fbauth</string> 
    <string>fbauth2</string> 
    <string>fb-messenger-api20140430</string> 
</array> 

編號:https://developers.facebook.com/docs/ios/ios9

相關問題