I am developing issuer non-UI extension. In function status i have to return remotePassEntriesAvailable (boolean) and to do that i have to activate WCSession from that Extension to get the remoteSecureElementPasses which are already added to the remote wallet (watch).
I have implemented WCSessionDelegate inside the non-UI extension but i can not enable the WCSession. I always get:
Error: WCSession has not been activated
I saw a comment in this post -> WCSession is not available from iOS extensions, only from the main iOS app.
To the point... If the WCSession is not available from iOS extensions how can I properly set remoteSecureElementPasses and implement function remotePassEntries if i can't connect to the watch to see which cards are already enrolled?