Android proguard enable with gigya sdk

旧城冷巷雨未停 提交于 2020-01-03 04:10:30

问题


I am facing issue related to gigya login popup dailog. When I am enabling proguard as making "minifyEnabled true" login popup is not showing.I have checked response.I am getting below mentioned response.

{  "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"}

Same is working fine if proguard is not enabled.


回答1:


Please try adding one of the following to your Proguard config file (this might be "proguard-rules.pro" or "proguard-rules.txt" from Finder).

-libraryjars libs/*name-of-gigya-sdk*.jar

or (depending upon your project settings)

-keep class com.gigya.** { *; }


来源:https://stackoverflow.com/questions/46660558/android-proguard-enable-with-gigya-sdk

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!