Hi,
I’m in the process of updating a few apps to be compliant with the Facebook v4 plugin. On iOS, this process was fairly straightforward. However, on Android, it seems to copletely break the app request dialogue. Whenever I run it, the app crashes with:
W/System.err(15690): java.lang.NoSuchMethodError: No virtual method setSuggestions(Ljava/util/List;)Lcom/facebook/share/model/GameRequestContent$Builder; in class Lcom/facebook/share/model/GameRequestContent$Builder; or its super classes (declaration of 'com.facebook.share.model.GameRequestContent$Builder' appears in /data/app/com.X.X-1/base.apk) W/System.err(15690): at plugin.facebook.v4.FacebookController$8.run(FacebookController.java:1217) W/System.err(15690): at android.os.Handler.handleCallback(Handler.java:739) W/System.err(15690): at android.os.Handler.dispatchMessage(Handler.java:95) W/System.err(15690): at android.os.Looper.loop(Looper.java:145) W/System.err(15690): at android.app.ActivityThread.main(ActivityThread.java:5832) W/System.err(15690): at java.lang.reflect.Method.invoke(Native Method) W/System.err(15690): at java.lang.reflect.Method.invoke(Method.java:372) W/System.err(15690): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) W/System.err(15690): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194) W/FlurryAgent(15690): Error logged: uncaught E/AndroidRuntime(15690): FATAL EXCEPTION: main
The other dialogues seems to work. Also note that I am using the code from the provided example for testing this:
facebook.showDialog( "requests", { message = "You should download this game!", filter = "APP\_NON\_USERS" })
It seems like the “setSuggestions” function is missing; which is weird in the first place since I’ve tried it both with and without sugestions.
I am using all the latest builds for enterprise and the plugins for the record.
Has anyone run into this problem as well?
Thanks.