iZettle / sdk-ios

Add card payments from Zettle to your own app
https://developer.zettle.com/docs/ios-sdk
Other
83 stars 38 forks source link

Add Login method #466

Open Bart-Westenenk opened 2 months ago

Bart-Westenenk commented 2 months ago

In the android equivalent of the SDK, there is a login method. This method does not exist on the IOS side. Can you implement this?

mohannazak commented 2 months ago

Hello @Bart-Westenenk , Thank you for pointing this out. You are correct; the login method is not currently available in the iOS SDK as it is in the Android version, as noted in our documentation; In the iOS SDK, when a charge operation starts the login flow will be triggered automatically if needed. Can you tell us more about your use case for this feature on iOS. Could you share how implementing this would benefit your project? Your feedback will help us prioritize this request.

Bart-Westenenk commented 2 months ago

I believe feature parity is an important part of any API. Currently we are making a CapacitorJS plugin that would allow us to translate native API’s to JS. I would like to expose a login button so users can login in advance (not when they want to do the payment, when a customer is waiting). This saves time for our users.

mohannazak commented 2 months ago

@Bart-Westenenk Thank you for sharing your use case. We agree with the importance of feature parity and try to balance bridging such gaps with other improvements. Your feedback is making the case for prioritising this stronger. While we can’t commit to address it within the next month, we hope to soon be able to share an update on it.

Bart-Westenenk commented 2 months ago

Hi @nataliq-pp, what would soon then mean? #443 had also been waiting for almost a year without activity. It really seems like the SDK is stale in terms of active development. Could you provide an insight in developer capacity available for this SDK (and by extent the Android SDK as well)?

GoranaArndt commented 2 months ago

Hi there @Bart-Westenenk! Just wanted to assure you that our SDK is actively maintained and not stale. We have several dedicated teams in the area supporting the work to ensure everything runs smoothly.