Has anybody been able to make storekit purchase to work for an ios16 purchase and an ios17 purchase in the same code base?
I have an ios/ipad/mac code base that I am reusing for visionOS, everything works except the storekit in ios17 uses @Environment.purchase) to make purchases, but ios16 build doesn’t recognize that. Has anybody implemented ios16 and ios17 purchases in the same code base?
This seems like the use case that
#availableis meant to solve.