Verwende NFC

NFC soll beim Öffnen der Tickets helfen und somit das Suchen ersparen.

  • 14,470 Raised
  • 28 Views
  • 5 Judges

Gallery

Description

Was wäre, wenn die Kontrolleure und Kontrolleurinnen den Fahrgästen bei der Suche nach dem Ticket behilflich sind.

Nein, damit ist nicht gemeint, dass diese selbst am Smartphone der Kunden nach der App suchen.

Viel eher soll es so funktionieren wie ein Zauberstab. Drei mal im Kreis drehen, ein kleiner Tipp aufs Smartphone und schon öffnet sich das nötige Ticket.


Was sich zunächst anhört wie die neue Buchverfilmung (Harald Pörter und die U-Bahn des Schreckens?), kann jedoch ein guter Ansatz sein mittels modernen Technologien die Experience bei den Kontrollen zu verbessern.


Der Zauberstab ist in dem Fall eine NFC-Karte, die der Kontrolleur bei sich trägt. 

NFC steht für Near Field Communication und ermöglicht eine einfache Kommunikation zweier sehr nahe nebeneinanderstehenden Geräten. (In dem Fall das Smartphone vom Kunden und die NFC-Karte)

Diese Technologie wird zum Beispiel bei Apple Pay oder beim bargeldlosen Bezahlen mit der Bankomatkarte verwendet.

Der Kontrolleur kann also nun bei der Suche der App behilflich sein, indem die NFC-Karte zum Smartphone gehalten wird. Eine App zum Erkennen der NFC-Karte hierfür ist nicht notwendig, das funktioniert bereits System-Seitig.


Auf der NFC Karte ist die Information gespeichert die zum Öffnen der WienMobil-App und zum navigieren zur entsprechenden Ticket-Seite nötig sind. Ist keine entsprechende App installiert, dann wird als Fallback eine spezielle Seite der Wiener Linien Webseite aufgerufen, in der erklärt wird dass die App nicht installiert ist. (Hier kann dann natürlich ein Link zum App Store eingebaut sein)


Dieser Ansatz basiert eher auf Evolution statt Revolution. Das hat den Vorteil, dass sich dieser in die bereits vorhandene App einfach integrieren lässt.



Vorteile

+ schnell, die Punkte "App suchen", "App öffnen" und "Drücken auf Tickets" entfallen komplett. iPhones können sogar NFC-Tags im gelockten Zustand lesen.

+ die Benutzer müssen keine eigenen Shortcuts auf ihren Smartphones speichern

+ funktioniert kontaktlos

+ funktioniert für alle Android-Smartphones (ab Version 4?) (mit NFC) sowie für alle iPhones ab XS/XR

+ Die Kunden benötigen nichts weiteres als deren Smartphone

+ An den mobilen Kontroll-Stationen können Flyer/Ständer/Plakate mit den NFC-Stickern aufgestellt werden. Die Kunden können somit unabhängig vom Kontrolleur scannen


Was wird geliefert

POC-App für Android und iOS


Was wird benötigt

Für dieses Vorgehen ist unbedingt eine NFC-Karte / NFC-Chip / NFC-Sticker nötig.

Kostenpunkt: 0.10€ - 2€ / Stück.

Bitte Bescheid geben wenn welche benötigt werden.


Team

Mein Name ist Dominik Pechhacker und ich arbeite als Software-Entwickler für ein großes nationales Unternehmen welches im Mobilitäts-Sektor zuständig ist. In meiner Freizeit beschäftige ich mich viel mit moderner Technik und arbeite an meinen eigenen kleinen Apps.


----------------------------------------------------------------------------------------------------------


(Following is a copy of the README.html File you can find in the source code)



Tickethon by Dominik Pechhacker

This minimal viable product consits of three parts:

  • Website
  • Android-App
  • iOS-App

The concept of this project is all about using NFC for an easy shortcut to the right part of your apps. NFC stands for Near Field Communication and, as the name implies, it enables short-range communication between compatible devices, in our case the communication between a smartphone and a NFC-Card.

On the NFC-Card there could be stored all sort of things, but for this proof of concept we are using an URL because Apple has only restricted access for using NFC. Apple allows it to read an URL the background (as well as android), so there is no need to open an app for that. Background Tag reading is possible for all iPhones from iPhone XS / iPhone XR on. On android Background NFC reading is possible for every phone with NFC enabled.

For using this concept, you need a writeable NFC-Card. This NFC-Card should be written with following URL: https://tickethon.pechi.at/ticket

When a smartphone with the reads the NFC-Card, following will happen:

  1. If user has installed WienMobil-App, then open the link in the app and redirect user to ticket view.
  2. Fallback: If user hasn't installed WienMobil-App, then open the link in Web Browser. On this site can be a instruction defined how to download WienMobil in their app store or they could login to the wiener-linien website and show their ticket from there.

For writing your NFC-Card you need to have an app like NFC Tools (iOS, Android) Grab your NFC-Card and write it with following link https://tickethon.pechi.at/ticket and now hold it near your phone with a installed WienMobil app. It should automatically open your app with the correct ticket view.



Website

Just a Website with following two Pages:

Index-page doesn't do anything important. Ticket-page should be the fallback for users, that don't have installed WienMobil-App.

.well-known: The most important part for the website is a folder called .well-known, which consists of two files:

These are imporant to link your app with your website. These files now give Apple and Google the proove, that the website and apps belong together. So if a user clicks on a tickethon.pechi.at Link on his phone, the app opens (instead of the browser).

The technical term for this is Universal Links for iOS and App Links for Android.

References:


Android

You can install the Android Version by opening the URL https://tickethon.pechi.at/download on your phone and then clicking "Download Android". (Make sure that the installation from unknown sources is enabled)

You can find the installable APK File at android/app/build/outputs/apk/debug.



In the Android App there are two Activities:


For handling NFC Tags you need to set up them accordingly in your AndroidManifest.xml File.

More information and References:


iOS

You can install the iOS Version by opening the URL https://tickethon.pechi.at/download and then clicking "Download iOS". Minimum required iOS Version is 14.3.


In the iOS App there are two Views:

  • ContentView - Start View of the app
  • TicketView - Shows the ticket to the user

For handling NFC Tags in your app you can implement the scene(_ scene: UIScene, continue userActivity: NSUserActivity) method and redirect the user to the ticket view.

More information and References: