Skip to content

localhost:9000 for the demo is bad idea :) #3

@awedeebawe

Description

@awedeebawe

I just tested DearDiary and I realized, that the URL is wrong (both in website tutorial and the source code). The problem is, that when you hardcode localhost:9000 within the AppDelegate, the physical device (iPhone/iPad) will look for IT'S localhost and port 9000.
I solved the issue by using my MacBook IP address instead of localhost and voila! So I suggest you to change the tutorial on the website here: http://www.baasbox.com/getting-started-ios/ and add a comment in the SMAppDelegate.m file to tell the users to change the "localhost" with their Mac OSx IP address.

Cheers :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions