StoreKitSubscriptionView presents an unfriendly message when network is unavailable

I have a rather simple StoreKitSubscriptionView for my app's single subscription.

Question: Am I expected to write code to handle lack of network connectivity?

When I run the app on development device, not using the local StoreKit configuration but rather the real app store, if the network is not available I get a not-user-friendly error message instead of the normal SubscriptionStoreView content.

I'm uncertain if end-users actually see this. Maybe they see a more appropriate "Cannot connect to App Store, try later" message?

Maybe I am supposed to check for network and not present the view if it is not available. I don't recall any mention of this in the WWDC video but I guess I should check again.

Ideas anyone?

That's interesting, I just turned off WiFi in order to test this and I get a sensible message: "The internet connection appears to be offline. Something went wrong. Please try again". That's not what I was getting before, which was when WiFi was turned on but the network was unavailable in some way.

(I note that this doesn't give any clue that it is related to the subscription, which is not ideal.)

StoreKitSubscriptionView presents an unfriendly message when network is unavailable
 
 
Q