Skip to content

JSON Parse error: Unexpected EOF #16082

@AAGSICON

Description

@AAGSICON

screenshot_2017-09-25-11-30-44-21

var SERVER_SIGNUP_URL = 'http://192.168.0.80/Registration/Registration.php';

              fetch(SERVER_SIGNUP_URL + '?username=' + this.state.username + '&password=' + this.state.password)
              .then((response) => response.json())
              .then((responseData) => {
                var id = responseData.id;
                if (id === -1) {
                  this.hideProgressBar();
                  showMessage("Something is bad", "This username is already taken");
                }
                else {
                  this.props.navigator.push({
                    name: 'contacts',
                    password: this.state.password,
                    id: id,
                    username: this.state.username
                  });
                }
              })
        .done();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions