我在IONIC1应用程序中使用LinkedIn功能进行SignIn。我已经整合了#cord; cordova-plugin-linkedin"用于登录的插件和LinkedIn,我还添加了所需的包名和哈希。但是当我试图跑:
var scopes = ['r_basicprofile', 'r_emailaddress',
'rw_company_admin', 'w_share'];
cordova.plugins.LinkedIn.login(scopes, true, function (response) {
console.log("success");
console.log(response);
}, function (error) {
console.log("errror");
console.log(error);
});
它在错误响应中给出了这样的错误:
{
"errorMessage":"either bundle id or packagename / hash are
invalid,unknown, malformed"
"errorCode":"INVALID_REQUEST"
}