美文网首页
社会化组件工程配置

社会化组件工程配置

作者: aaa000 | 来源:发表于2017-07-31 11:47 被阅读17次

    1.在info.plist 文件中添加 网络通信功能配置

    <key>NSAppTransportSecurity</key>
        <dict>
            <key>NSAllowsArbitraryLoads</key>
            <true/>
        </dict>
    

    2.在info.plist添加app 拉起白名单

    <key>LSApplicationQueriesSchemes</key>
        <array>
             <!-- 微信 URL Scheme 白名单-->
            <string>wechat</string>
            <string>weixin</string>
            <!-- 新浪微博 URL Scheme 白名单-->
            <string>sinaweibohd</string>
            <string>sinaweibo</string>
            <string>sinaweibosso</string>
            <string>weibosdk</string>
            <string>weibosdk2.5</string>
            
            <!-- QQ、Qzone、TIM URL Scheme 白名单-->
            <string>mqqapi</string>
            <string>mqq</string>
            <string>mqqOpensdkSSoLogin</string>
            <string>mqqconnect</string>
            <string>mqqopensdkdataline</string>
            <string>mqqopensdkgrouptribeshare</string>
            <string>mqqopensdkfriend</string>
            <string>mqqopensdkapi</string>
            <string>mqqopensdkapiV2</string>
            <string>mqqopensdkapiV3</string>
            <string>mqqopensdkapiV4</string>
            <string>mqzoneopensdk</string>
            <string>wtloginmqq</string>
            <string>wtloginmqq2</string>
            <string>mqqwpa</string>
            <string>mqzone</string>
            <string>mqzonev2</string>
            <string>mqzoneshare</string>
            <string>wtloginqzone</string>
            <string>mqzonewx</string>
            <string>mqzoneopensdkapiV2</string>
            <string>mqzoneopensdkapi19</string>
            <string>mqzoneopensdkapi</string>
            <string>mqqbrowser</string>
            <string>mttbrowser</string>
            <string>tim</string>
            <string>timapi</string>
            <string>timopensdkfriend</string>
            <string>timwpa</string>
            <string>timgamebindinggroup</string>
            <string>timapiwallet</string>
            <string>timOpensdkSSoLogin</string>
            <string>wtlogintim</string>
            <string>timopensdkgrouptribeshare</string>
            <string>timopensdkapiV4</string>
            <string>timgamebindinggroup</string>
            <string>timopensdkdataline</string>
            <string>wtlogintimV1</string>
            <string>timapiV1</string>
        </array>
    

    3.在工程中添加URL Scheme 通过系统找到并跳转对应app的设置
    (填写好在各个平台中申请得到的信息)


    屏幕快照 2017-07-31 上午11.45.17.png

    4.发起登录和分享代码!

    相关文章

      网友评论

          本文标题: 社会化组件工程配置

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