Android + Facebook Connect not working in release build

后端 未结 4 1994
野趣味
野趣味 2020-12-21 15:28

I have an Android application that allows the user to connect to his Facebook account and automatically make a post on his wall.

All this is perfectly working with t

4条回答
  •  梦毁少年i
    2020-12-21 16:20

    I fixed it with the following rules (however I am no expert so there might be mistakes in there).

    -keep class com.facebook.android.*
    -keep class android.webkit.WebViewClient
    -keep class * extends android.webkit.WebViewClient
    -keepclassmembers class * extends android.webkit.WebViewClient { 
        ; 
    } 
    

提交回复
热议问题