按照mob上的集成文档,申请需要的秘钥,以及第三方平台的对应秘钥,引入项目中build如下
MobSDK {
appKey "22343435fr"
appSecret "021bc445dddddd6d0faa0c44"
ShareSDK {
//平台配置信息
devInfo {
SinaWeibo {
appKey "78988993"
appSecret "6ggggg96d85e92a2f51a284fhh"
bypassApproval true
shareByAppClient false
}
Wechat {
appId "vf2b7eddd1c75ddde"
appSecret "56772d7b663f4e8be6dbfca9jk9o"
bypassApproval true
}
WechatMoments {
appId "vf2b7eddd1c75ddde"
appSecret "56772d7b663f4e8be6dbfca9jk9o"
bypassApproval true
}
QQ {
appId "3456567978"
appKey "f3lmYrBfffff"
bypassApproval true
share