Closed nneuberger1 closed 3 years ago
We've been running my master branch for almost a year now. Any chance we can merge this into your repo? We're very stable with change I have on master.
Thanks for testing your changes for almost a year 😉
I'll merge it! But keep in mind, we don't do any maintenance on this repository anymore. (I probably have to update the Readme...)
No problem @seeppp. We've been using my fork the entire time. We use it for credit card VeriFone e355 swipers. at some point, we're going to migrate to other vendors that have built in rest interfaces.
If I get really bored, I'll submit a pull request to create an SPM file for later usage instead of using CocoaPods.
We swapped out the assert because we're getting crashes on the following line:
assert( CFSocketGetSocketFlags(self.socket) & kCFSocketCloseOnInvalidate );
Instead we're using if / else if statements and if found present, then we return an error and let the caller get an error back from a ping response on the Swift side.