I see that it is possible to connect smart card readers to an iPad or iPhone.
Does iOS have an API for accessing smart cards - or does it require proprietary SDK’s from the smart card reader manufactures?
Specifically I want to use the certificate stored on the smart card to sign a message.
yes, require proprietary SDK..
For example you can easily use:
UniMag, Mobile MagStripe Reader "..reader that works with various mobile devices.., ...Plugs into audio headphone jack – no cables..."
The SDK is there... in page... http://www.idtechproducts.com/products/mobile-readers/112.html
another reader with own SDK: http://www.magtek.com/support/software/programming_tools/
Related
Everywhere i am reading that it is not possible to write data in iOS Swift or ObjectiveC via NFC. What about handling a contactless payment process? Is this even possible without using Apple Pay? If not is there any workaround which enables “NFC Writing” for iOS, because NfCCore doesnt provide it yet?
Apple keeps the NFC functionality closed, so only Apple Pay is allowed to function. Other than reading NDEF tags, no apps can use the phone's hardware either to work as an NFC reader (for example to top-up balance for a public transit contactless card) or to emulate a contactless card, either purely in software or using the phone's embedded secure element.
As far as I know (Apple as always does not say much), the latest iPhones' hardware is perfectly capable of doing all of the above, but some commercial decision resulted in keeping it unavailable for third party developers.
Looks like it will be possible with iOS 13: https://developer.apple.com/documentation/corenfc/creating_nfc_tags_from_your_iphone
I apologise for the possibility of the title of my question would lead to confusion of the problem. For that I will explain my purpose in detail.
We are currently developing our own wifi speaker which is built with MIPS. The speaker comes with an app that will be used to manage it. One of the features that would we would like to include in the app is accessing contents of Spotify and be able to play them on the speakers.
Unfortunately, after going through the iOS SDK Documentation, and did some tests on Web API Console provided by the official of Spotify, I noticed that Spotify does not allow developers to directly get URL of a song, except for preview purposes. I also wasn't able to find any way to get the data bytes of the music streamed from the server. Every content comes with a corresponding URI which is used for a request.
For the device(WiFi Speaker) part, we recently tried to contact Spotify and ask for an SDK that can be used for development. However, one problem is that Spotify told us that they have SDK for x86, and ARMs architecture only. They don't have MIPS.
Now, here are my questions:
Is there any way for me to push music from an app to the WiFi Speakers without having to use SDK (for backend device)?
If Spotify can provide an SDK for our device, then how can we integrate the SDK with our platform?
I'll explain my 2nd question for clarity. Like for instance, in Android and iOS, these are popular platforms and are widely used by mobile devices. So if they provide SDKs for the two OS, then they can use default system frameworks to access the player for playing the content. (In iOS, it's the AVFoundation Framework). However, if Spotify were able to provide the SDK that we need, how would we able to integrate that with our own platform?
I will answer your question no 1:
You should be able to push music from an app using a buffer that you can read from using Core Audio and also forward to a device of your choice. I think what you are looking for can be found at CocoaLibSpotify
So I asked this question... stripe.js magenetic card reader php
I have a PHP POS app which can be access from the central location view a browsers, all data can be entered and its works well. Looking to make it more mobile with the use of a audio jack card reader for iPad / iPhone (similar to square). The problem is I do not want to make a separate native app. If I was to run the app in a WebView based iOS app would it be possible to interact with the audio jack and get the data to put into the Stripe payment transaction?
Hopefully that not too vague. Will try my best to explain further if needed.
Thanks
Not possible with just webviews. Native side of your app should interact with hardware.
It is not possibile. But, you can develope an iOS app that interact with audio and that have a webview inside.
My app will use Wallet Instant-Buy on Android. It's being used for physical goods. I'd like to use something similar on iOS.
Does anyone know if I can use the web-version of Wallet Instant Buy inside a UIWebView in my iOS app? Will cookies be persistent across app sessions? i.e. user won't need to sign-in repeatedly.
No you cannot use the Instant Buy web API from a webview either or iOS or Android.
You should use a mWeb site for iOS users.
The list of supported browsers are available at https://support.google.com/wallet/answer/2871041?hl=en
I"m starting work on an iOS application that will have an ipad work as a kiosk to purchase food and apparel.
Also we'll be setting the app up as a html5 webview with all the credit card processing happening on our own platform offsite. So the app opens, the user(checkout clerk) is presented with mobile site version of items for sale and they tap on then items to add them to the basket.
When finished a card is swiped and that information is sent from the native app to the html form which then posts the information to our credit card processor.
So my two questions are
1) What good credit card readers exist that work with the ipad and support sending unencrypted card data into a native iOS app.
2) How do I get the data from the native app into the html page to post it to our servers.
1) If you process unencrypted credit card data you need to be PCI-DSS certified. Providers such as payworks exist to help you get around this requirement.
2) You could package your Web Application as native app and integrate one of the existing iOS / Android SDKs.
Disclosure: I am a software engineer at payworks.
I implemented the app using an iMag card reader by idtech which plugs into the old iphone 30 pin connector. The documentation isn't great but their development kit does come with an example program to install on your iOS device, that you can use as an example.
I've also implemented it using the Shuttle card reader by idtech, which plugs into the audio jack similar to square and other popular platforms. This can also be purchased with a development kit and works on both iOS and Android platforms and works with newer iOS devices that don't have the old 30 pin connector.
The second question is quite a bit longer to explain, so I'll just say it depends on the device you're using, the firmware on it, and the documentation. Typically there will be some service running listening for card swipes and a notification will occur when a card is swiped that your app will have to listen for.
Not a card reader per se, you may want to check out card.io, as used by the PayPal iOS SDK.