我正面临与gigya登录popup dailog相关的问题。当我启用proguard时使“minifyEnabled为true”登录弹出窗口没有显示。我已经检查了响应。我得到了下面提到的响应。
{ "errorMessage": "Permission denied", "errorDetails": "Invalid namespace 'socialize' or method 'getUserInfo' or you do not have the required permissions to call it. ", "statusCode": 403, "errorCode": 403007, "statusReason": "Forbidden", "callId": "a8f696d6af194433a826893ea0c60b02", "time": "2017-10-09T15:08:18.023Z"}
如果未启用proguard,则同样正常工作。
答案 0 :(得分:1)
请尝试在Proguard配置文件中添加以下内容之一(这可能是" proguard-rules.pro"或" proguard-rules.txt"来自Finder)。
-libraryjars libs/*name-of-gigya-sdk*.jar
或(取决于您的项目设置)
-keep class com.gigya.** { *; }