[SonarSystemhelper][JS][iOS] Facebook and Twitter Sharing

  • sheldon
    Likes 0

    Problem Description

    Hello,

    I followed the tutorial http://www.sonarlearning.co.uk/coursepage.php?topic=game&course=sonar-cocos-helper-js&videoindex=6479#6479.

    When I click The Button,I got the error like this:

    /src/GameConfig/SonarFrameworks.js:216:Error: js_cocos2dx_JSObjCBridge : call result code: -3

    (Cocos-jS 3.6.1)

     

     

     

  • Sonar Systems admin
    Likes 0

    What version of the Helper do you have?


    This reply has been verified.
  • sheldon
    Likes 0

    The version is 【Cocos Helper v1.30.01】


    This reply has been verified.
  • Sonar Systems admin
    Likes 0

    Hello sheldon,

    It would appear that you haven’t enabled social in the SCHSettings.h file, in there the line 

    #define SCH_IS_SOCIAL_ENABLED false

    should read

    #define SCH_IS_SOCIAL_ENABLED true

  • sheldon
    Likes 0

    Hello Sonar System,

    Thank you for your reply, I try it in a new project,

    It works.

    Thank you.先生

     

  • Sonar Systems admin
    Likes 0

    :D

     

    Your very welcome :D

Login to reply