Skip to content

Android支持非固定3个的initShare配置#8

Open
xiaoxiath wants to merge 1 commit intoa289459798:masterfrom
xiaoxiath:pr
Open

Android支持非固定3个的initShare配置#8
xiaoxiath wants to merge 1 commit intoa289459798:masterfrom
xiaoxiath:pr

Conversation

@xiaoxiath
Copy link

@xiaoxiath xiaoxiath commented Sep 24, 2017

Before:

UMShare.initShare('appkey', {
    '1_weixin': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    },
    '2_qq': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    },
    '3_sian': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    }
}, false);

now:

UMShare.initShare('appkey', {
    '1_weixin': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    },
    '2_qq': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    },
    '3_sian': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    }
}, false);

// or

UMShare.initShare('appkey', {
    '1_weixin': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    },
    '2_qq': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    }
}, false);

// or

UMShare.initShare('appkey', {
    '1_weixin': {
        appKey: '',
        appSecret: '',
        redirectURL: ''
    }
}, false);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant