According to this answer, and validated by testing, when you use Android Beam to push over an NFC message containing an AAR record, the receiving device will start the MAIN
/LAUNCHER
activity for the app specified in the AAR.
That MAIN
/LAUNCHER
Intent
does not contain the NfcAdapter.EXTRA_NDEF_MESSAGES
extra. Hence, the data that we went through all the trouble to beam over appears to be lost if you use AAR.
Is there some way to get the NFC messages that triggered the app to be started in this scenario?
And if the answer is "no", then what is the use case of AAR? I can see where it might be helpful when the desired app does not exist on the receiving device (brings up Play Store), but then once the app is installed, AAR foils any attempt to deliver data from one device to the other, which is kinda the point behind NFC.
Thanks!