same error for me as well, also looking for a fix
Post
Replies
Boosts
Views
Activity
just been rejected twice now for this. I have no idea where to put the link to Apples own EULA
I see this in AppStoreConnect and I have it set to use Apples EULA but apparently this is not good
I managed to fix this by wrapping the SubscriptionStoreView in a GeometryReader the displaying the links in a WebView using geometry.size.width
.subscriptionStorePolicyDestination(for: .privacyPolicy, destination: {
WebView(url: URL(string: "https://yourURL.com/policy.html")!)
.frame(maxWidth: geometry.size.width)
.padding(.bottom, -50)
})
the padding removes a blank bit at the bottom of the view
import WebKit
import SwiftUI
struct WebView: UIViewRepresentable {
var url: URL
func makeUIView(context: Context) -> WKWebView {
let wKWebView = WKWebView(frame: .zero)
return wKWebView
}
func updateUIView(_ webView: WKWebView, context: Context) {
let request = URLRequest(url: url)
webView.load(request)
}
}
I'm trying to get an app through review at the moment and had it declined because they said I hadn't linked to the terms and policy etc. Even though I used a VStack to show the links on the StoreView and they looked identical to the ones in subscriptionStorePolicyDestination. A solution or fix to this would be great
I have exactly the same problem and had to remove the .subscriptionStorePolicyDestination‘s
I thought these are a requiment to get through
App Store review
I get the top 2 errors on my app almost every time it launches