美文网首页
第三方登录集成错误This app is not allowed

第三方登录集成错误This app is not allowed

作者: Aprilsky | 来源:发表于2016-05-06 15:43 被阅读2172次

    在引入微信、微博、QQ等第三方登录时报错:This app is not allowed to query for scheme
    解决办法:
    1.首先要确认Info/URL Types有没有加入schema
    2.需要info.plist文件中加入LSApplicationQueriesSchemes

    <key>LSApplicationQueriesSchemes</key>
        <array>
            <string>sinaweibohd</string>
            <string>sinaweibo</string>
            <string>weibosdk</string>
            <string>weibosdk2.5</string>
            <string>weixin</string>
            <string>wechat</string>
            <string>mqq</string>
            <string>mqqapi</string>
            <string>mqqwpa</string>
            <string>mqqopensdkapiV2</string>
            <string>mqqopensdkapiV3</string>
            <string>wtloginmqq2</string>
            <string>mqzone</string>
            <string>mqqOpensdkSSoLogin</string>
        </array>
    

    相关文章

      网友评论

          本文标题:第三方登录集成错误This app is not allowed

          本文链接:https://www.haomeiwen.com/subject/ehjjrttx.html