Skip to content

Conversation

@ryan-barlow
Copy link

Wrapped the setupWithAPIKey method in;

dispatch_sync(dispatch_get_main_queue(),^ {

As when its not on the main thread, location services will intermittently fail (see https://stackoverflow.com/questions/10707038/location-manager-was-created-on-a-dispatch-queue)

Also exposed 2 new methods - loginWithToken and prepareCheckout

PS, Good work on the wrapper! Helped me a lot with getting up and running with Sumup

@alvaromb
Copy link
Collaborator

Thanks for your contributions @ryan-barlow!

Will merge today.

@alvaromb alvaromb self-requested a review September 21, 2017 08:06
@alvaromb alvaromb self-assigned this Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants