for client.m is written for use with api.usergrid.com .i had to declare the
following NSString on line 23

NSString * IbaseURL = @"http:yoururl.com;

then line 25 client.m i had to use the declared String as follows

usergridClient = [[UGClient alloc]initWithOrganizationId: orgName
withApplicationID: appName baseURL: IbaseURL];

also I had to change the app to run with static constraints. you must
uncheck the auto-layout in the interface builder document. of the
storyboard.

       now  i can login and register users via messagee

and the app functions as developed.

On Fri, Jul 22, 2016 at 7:10 PM, Jeremy Justice <[email protected]
> wrote:

> Michael,
>      Figured out the issue and thanks to you pointing me in the right
> direction I have registered a user via messagee. I am having a few issues
> with the app itself but I need to learn to debug anyway lol.
>
> Jeremy Justice
> Cell 606-794-8334
>
>
> On Jul 21, 2016, at 5:03 AM, Michael Russo <[email protected]>
> wrote:
>
> In
> https://github.com/apigee/usergrid-sample-ios-messagee/blob/master/Messagee/Client.m#L25,
> I think you should update and call the following method exposed in the
> Usergrid client:
>
>
> https://github.com/apigee/usergrid-sample-ios-messagee/blob/master/Messagee/Usergrid/UGClient.m#L96
>
> This should let you set your base url and not have it default to
> api.usergrid.com.
>
> Thanks.
> -Michael
>
> On Thu, Jul 21, 2016 at 12:56 AM, Jeremy Justice <
> [email protected]> wrote:
>
>> anyone know which section of the messagee xcode project i need to modify
>> to test my usergrid stack?  i have modified my UGClient.m as follows
>> m_appID = @"myappid";
>> m_orgID = @''myorgID";
>> m_baseURL = @"http://myserverip:8080";;
>>
>> i keep getting login failed. i think it is still pointing to the
>> api.usergrid.org but i cant for the life of me figure out where it is
>> located in the xcode proj
>>
>
>

Reply via email to