SDKBox Facebook for Android reporting different version at runtime than declared in build.gradle

I’m using Cocos Creator 2.2.2, and attempting to integrate the Facebook into my android builds. In the app/build.gradle, I have:

implementation ''

but when I call sdkbox.PluginFacebook.getSDKVersion() it still returns 4.20.0.

I have not been able to find any information about how to upgrade the sdk version other than that one line in the build.gradle. Is there something more that I am missing?

the change you did to upgrade fb sdk is correct.

getSDKVersion have a bug on android. we will fix this in next version.