Create an empty Customer with default policies

To use this function when you are integration just the Location SDK

 * Create empty customer with default policies.
 * @param onSuccess - invoked if customer was created sucessfully
 * @param onError - invoked if exception occurred
- (void) setupCustomer: (void (^)(CustomerCreateResponse *resp)) onSuccess
               onError: (void (^)(NSError *error)) onError;

Calling this function It is equivalent to a make a login. The success of this function opens a session with the customer returned. To close the session use logout() method.

Last updated