Best way to talk to smart cards / pcscd?

Thanks for the answer.

I’ve got it to work somewhat, but I notice that pcscd seems to be running even when the app itself is not. This seems ti causes conflicts with system-wide pcscd / other snaps doing the same kind of bundling.

Is there a way to define a daemon that only runs when the main app in the snap is running ?