Connect with us

Tech

Apple’s Autoscanning iTunes Card Promo Codes Work via Hidden Font, Can be Replicated by Devs

Published

on


When you purchase an iTunes gift card and redeem it in the App Store, the camera on your iPhone, iPad, or Mac can scan the code on the card to recognize it automatically, saving you the time of typing the numbers in manually.

Equinux, the company behind Mail Designer Pro 3, dug into how Apple’s promo code engine works in an effort to make their own scannable cards, and the results are quite interesting. As it turns out, the scanning feature in the App Store is tuned to recognize two things: a unique, hidden font and the dimensions of the box around it.

Equinux tried the box alone with a range of fonts like Courier and Monaco, and attempted to identify the unique characteristics of the font to find it, but were unsuccessful. Ultimately, the team realized the font that Apple’s using is hidden deep within iTunes.

The breakthrough came when we noticed that when you scan a card with your iPhone, the app briefly displays a “scanned” overlay of the code. This means the font must be embedded in the app somewhere. We tried the same with iTunes on macOS. And voilà – the iTunes on Mac behaves the same way.

When you look at some of the other folders inside iTunes, we found a tantalizing plugin called “CodeRedeemer.” It showed promise. But alas, no font files there either. The app binary does give a hint of where the heavy lifting is being done: “CoreRecognition.framework.”

Hidden in the CoreRecognition.framework, there are two fonts: “Scancardium,” for entering and recognizing codes, and “Spendcardium,” which appears to be for obscuring credit card details as they’re entered. The two fonts can be found by going to Finder on a Mac, clicking Go, choosing Go to Folder and pasting the following: /System/Library/PrivateFrameworks/CoreRecognition.framework/Resources/Fonts/

With a simple double click, the fonts can be installed on a Mac and can be used within different apps. While this is a neat breakdown for end users, it’s of particular interest to developers because these fonts can be used to create custom App Store promo code cards that can be scanned in the same way as iTunes gift cards.

Equinux outlines the exact font height to use and how to position it within the surrounding box to get Apple’s engine to recognize it, details the company uncovered after investing a lot of time in tweaking fonts and the border of the required box.

Equinux even went one step further and created helpful Sketch and Photoshop templates that developers can use to create App Store promo code cards that can be automatically scanned using a device camera and recognized by the App Store.

Brooklyn-based writer, editor and creator with a love of all things streetwear and/or delicious. Always on the hunt for the next best coffee shop. Obsessed with new sunglasses.

Continue Reading
Advertisement

Tech

The Galaxy S9’s main specs detailed in extensive new report

Published

on


In just over a month, the phones many Android fans are waiting for will be finally unveiled in Barcelona, Spain. Samsung confirmed as much last week at CES, putting to rest all rumors that said the Galaxy S9 and Galaxy S9+ might be announced earlier than expected.

The phones have hardly been a secret, and we already know Samsung plans to reuse last year’s Galaxy S8 design for one more year. We also have a pretty good idea of the sort of hardware improvements that we can expect from the upcoming Galaxy S9 duo. But a new report from Korea gives us the best look yet at the Galaxy S9’s hardware specs, leaving almost nothing left for Samsung to surprise us with.

The Galaxy S9’s most notable improvement is the camera, Korean language ETNews says. The phone will have a single-lens 12-megapixel rear camera, while the Galaxy S9+ is getting a dual 12-megapixel camera setup on the back. All cameras are going to feature a variable F1.5/F2.4 aperture that will let users operate the phone like a DSLR camera. The variable iris tech was already used in the Samsung W2018 clamshell phone Samsung that was released in China last month.

The Galaxy S9 will also become the first flagship phone in the world with an F1.5 aperture, which will let it capture even more light. Low-light photography should be dramatically improved as a result. Last fall, LG launched a smartphone with an F1.6 aperture, the LG V30.

Another camera feature coming to the Galaxy S9 series is slow motion shooting mode — that’s likely the super slow motion mode that has been mentioned in previous reports. On the front side of the phone, you’ll find an 8-megapixel camera with autofocus. The Galaxy S9’s selfie cam also incorporates the components needed for facial recognition features, and the phone has a standalone iris recognition camera as well.

Aside from the camera, the Galaxy S9 will feature other interesting technology, like the Substrate Like PCB (SLP) mainboard design that will let Samsung squeeze miniaturized circuits into an even smaller space, thus freeing more room for the battery. SLP will be used in roughly 60% of Galaxy S9 units, or the ones that will be powered by Samsung’s own Exynos processor. The iPhone X employs similar tech, and it’s what allowed Apple to reduce the size of the logic board in the handset.

Finally, the report notes that the Galaxy S9 will bring over Samsung’s first display that will incorporate Y-OCTA technology. That’s short for Youm On-Cell Touch AMOLED, and it refers to new display tech that allows Samsung to reduce the overall size and weight of a screen and place the touch sensor right on top of the flexible OLED layer. The report makes no mention of 3D Touch-like support for the Galaxy S9, which had been rumored.

The report does not mention the actual size of the Galaxy S9 batteries, but a report earlier this week hinted Samsung will rely on the same 3,000 mAh and 3,500 mAh capacities used for the Galaxy S8 and S8 Plus. The new Galaxy S9 and S9+ will be unveiled during a press conference late next month ahead of their expected release on March 16th.

Continue Reading

Tech

Bloomberg: Apple hires data scientist team for analytics project

Published

on


Apple has hired a team of data scientists from a company called Silicon Valley Data Science, Bloomberg reports. While it doesn’t sound like a full blown acquisition, the report notes that Apple’s hiring spree includes the CEO of the consulting firm.

Apple confirmed some of the hires in a statement to Bloomberg as well:

Founded in 2013, the Mountain View, California-based startup provided data analysis to larger companies to improve their forecasts, operational efficiency, and customer relationships, according to the firm’s website. An Apple spokesman acknowledged a few dozen employees from Silicon Valley Data Science joined the company.

The report goes on to say that the new data scientist hires have been assigned to “analytics in ad-related initiatives” at the company.

The new hiring wave follows Apple’s acquisition of audio recognition service Shazam in December, the startup behind the QuantumFilm image sensor in November, and the team behind the development service Buddybuild earlier this month.

Continue Reading

Tech

Razer Phone 2 Could Launch In September With Project Linda

Published

on


The Razer Phone was launched back in November of last year and now it looks like we have some details about its successor, the Razer Phone 2.

According to a recent report the second generation Razer Phone will launch in September of 2017. The device is rumored to launch along with the new Project Linda.

Project Linda was revealed at CES 2018 earlier this month, it is an add on device for the Razer Phone that turns the handset into a gaming laptop. As yet there are no specifications on the new Razer Phone 2, although we can expect it to get a number of upgrades over the current handset.

The existing Razer Phone is equipped with a 5.72 inch IGZO LCD display that has a QHD resolution of 2560 x 1440 pixels. The device is powered by a Snapdragon 835 processor and 8GB of RAM. The handset features 64GB of storage and a microSD card slot for expansion.

Other specifications on the device include a8 megapixel front facing camera for Selfies, on the back there are two cameras. One has a 12 megapixel sensor with a wide angle lens. The other has a 13 megapixel sensor with a telephoto lens. The handset comes with a 4000 mAh battery and Qualcomm’s Quick Charge 4+.

As September is the rumored launch date for the second generation Razer Phone it looks like the handset could be made official at Mobile World Congress 2018.

Source Frandroid, GSM Arena

Continue Reading

Trending