Skip to content

HCE MasterCard Emulation  #5

@Adrien-Delahaye

Description

@Adrien-Delahaye

I am trying to make an application using your cordova HCE plugin in order to emulate a MasterCard on an android device to be used on a payment terminal. I have tested it with the right AID and it does not seem to work. Here is the content of my aid_list.xml file

<?xml version='1.0' encoding='utf-8'?> <host-apdu-service android:description="@string/service_name" android:requireDeviceUnlock="false" xmlns:android="http://schemas.android.com/apk/res/android"> <aid-group android:apduServiceBanner="@drawable/settings_banner" android:category="payment" android:description="@string/card_title"> <aid-filter android:name="A0000000041010" /> </aid-group> </host-apdu-service>

The android device recognises the app as a NFC payment application but when I tap the phone against the payment terminal, nothing happens. It seems no APDU is either received or sent.

FYI I tested another application which works on the payment terminal device (https://play.google.com/store/apps/details?id=com.karlisbalcers.simulator&hl=en).

Is there something I am missing ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions