NFC Mifare scan in Perspective app by integrating external app

We have a requirement to scan the NFC from Ignition Perspective App in Android Tablet.
The Type of NFC is Mifare Classic 1k (ISO 14333-3A). From the the forum post https://forum.inductiveautomation.com/t/has-anyone-got-nfc-read-to-work-on-an-android-apple-phone-or-tablet/39279/31
we know that this tag type is not currently supported. Also we do not have webdev module to use.

So we made an Android app and tried to read the scan in background service / activity. From the forum post
https://forum.inductiveautomation.com/t/callout-email-link-that-launches-perspective-mobile-app/72821/4
we have created a deeplink http://nfc.mifare.scan for our android app and called that link in perspective button navigation.
And also after successfull scan, calling the perspective back with
perspective://$GW_ADDRESS:GW_PORT/$PROJECT_NAME/$PAGE as in the above forum post. These are almost succes except,

  1. I was not able to navigate to nfc_scan://nfc.mifare.scan from the button navigate action in perspective it is treated as perspective link and get page not found for the url
    - Due to this my deeplink open my android app and also opens the the link in chrome at same time.
  2. I don't know how to pass the param to the view with perspective://$GW_ADDRESS:GW_PORT/$PROJECT_NAME/$PAGE
    - Due to this i got multiple tabs opened in chrome instead of single perspective app.

Is there any way to open external application deeplink in perspective button navigation?
Is there any way to pass param to perspective app deeplink?
Is there any easy approach to this?

1 Like