cocos2d-x / plugin-x

Plugin-x is the plugin repository for cocos2d-x, it also provides a unified API for plugins.
71 stars 91 forks source link

Feature required: Modify default Facebook SDK version #100

Open pandamicro opened 10 years ago

pandamicro commented 10 years ago

Related Issue: https://github.com/cocos2d/cocos2d-console/issues/173

ANDROID_VERSION_PATH = '/CUI/facebook-android-sdk/facebook/src/com/facebook/FacebookSdkVersion.java' IOS_VERSION_PATH = '/CUI/facebook-ios-sdk/src/FacebookSDK.h'

For Android it looks like this:

final class FacebookSdkVersion {
    public static final String BUILD = "3.18.0/Cocos2d-x";
}

For iOS:

#define FB_IOS_SDK_VERSION_STRING @“3.18/Cocos2d-x"