Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature required: Inject Facebook SDK version dynamically with engine version #173

Closed
pandamicro opened this issue Nov 7, 2014 · 0 comments

Comments

@pandamicro
Copy link
Contributor

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-v3.3";
    // public static final String BUILD = "3.18.0/Cocos2d-JS-v3.1";
    // public static final String BUILD = "3.18.0/Cocos2d-Lua-v3.3";
}

For iOS:

#define FB_IOS_SDK_VERSION_STRING @“3.18/Cocos2d-x-v3.3"
// #define FB_IOS_SDK_VERSION_STRING @"3.18/Cocos2d-JS-v3.1"
// #define FB_IOS_SDK_VERSION_STRING @"3.18/Cocos2d-Lua-v3.3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants