0

I use facebook login with facebook app and back to my game app,  the app stuck . How can I solve it?

I find this code in PluginFacebookJSHelper.cpp.  when back to my game app, 'performFunctionInCocosThread' perform not success

virtual void onLogin(bool isLogin, const std::string& error)

    {

        std::string funName(__FUNCTION__);

        cocos2d::Director::getInstance()->getScheduler()->performFunctionInCocosThread([funName,isLogin,error,this](){

            if (!_JSDelegate.isObject())

                return;

       .......

}

sdkbox version: 2.4.3.3

xcode:10.1

creator:1.10.2

CoodeZhang asked

    Question stats

    • Active
    • Views133 times
    • Answers0 answers
    • Followers1 follower

    Categories