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

Issues regarding duplicate symbols #1

Closed alok1upadhyay closed 9 years ago

alok1upadhyay commented 9 years ago

Hi,

we are using latest iZettle library in our app, however it is using internally two file Discount and LoadingView. Our app also have two files with same name Discount and LoadingView.I have to change my file names in order to successfully compile and run.can you please prefix your class names with IZettle, for example IZettlediscount and IZettleLoadingView..

Thanks, Alok

bartoszhernas commented 9 years ago

+1 For this, I dont have problems yet, but they arised when I have tried to use SumUp and zbar (well, basically this is not possible). Will be good to avoid problems here.

Prefix maybe could be smaller like IZLoadingView etc?

mattiasjahnke commented 9 years ago

We're prefixing classes every release, sorry for the inconvenience.

@alok1upadhyay The Discount class should no longer be part of the distribution, are you sure you're using the latest binaries?

alok1upadhyay commented 9 years ago

Thanks, for the response.

we are using latest SDK in iPhone and iPad app. LoadingView class caused problem definitely.I have resolved it at our end.

One question : i am using a sample account (externaldemo@izettle.com, may be others also using ). I am getting error "Your session was interrupted. Please sign in again." is it due to some where else the same login credentials being used. I am trying to make a real time payment, using iZettle bluetooth card reader.

pushpak commented 9 years ago

We also had the same problem with LoginController. I reported it few weeks back not sure if its fixed in the latest version.

mattiasjahnke commented 9 years ago

@alok1upadhyay We'll address LoadingView in the next release. Regarding your other issue; are you still experiencing this problem?

@pushpak LoginController is prefixed in v1.0

alok1upadhyay commented 9 years ago

@matt No, it looks like it have disappeared automatically, today i see one interesting pop up telling me about update..(it was something related to firmware?), when i connected bluetooth card reader. Bottomline : issue fix , i am not experiencing any more.

mattiasjahnke commented 9 years ago

@alok1upadhyay Please open up a new issue where we can discuss your problem (not related to duplicate symbols).

alok1upadhyay commented 9 years ago

Thanks for the comment, i am opening new issue.