Comm.makeJsonRequest in SDK 1.2.6

Former Member
Former Member
I update SDK from 1.2.5 to 1.2.6 and Comm.makeJsonRequest() stopped working. Without errors. A program stops on this method and is not called callback method.
  • In your other thread I asked about the size and complexity of the data you are getting back. Is this one in the sim or on a watch? If on a watch, which watch (fw Version too)
  • Former Member
    Former Member over 9 years ago
    Data: {"status":"ok","data":{"user_id":778}}
    Run on simulator
    In 1.2.5 same code works correctly.
  • Is this the first time you app calls makeJsonRequest(), or were there earlier calls that worked? When it's started, is there:

    for example,

    call 1 that works
    call 2 that works
    and then
    call 3 fails?
  • Former Member
    Former Member over 9 years ago
    I develop my app on sdk 1.2.5 and Comm.makeJsonRequest() work fine without errors. Then I download sdk 1.2.6, change PATH to this bin directory and change path to sdk 1.2.6 in eclipse settings. After that Comm.makeJsonRequest() not work. I do not change my code. Only compile with new sdk.
  • Former Member
    Former Member over 9 years ago
    Now I test it on other computer. In callback method I god:
    data = null
    responseCode = 302
    But there is no redirect on this server!