.appStoreOverlay for App Clips

Hi there,

Is there any particular configuration we need to add to our App Clips to be able to use the appStoreOverlay modifier?

I've been using the snippet from the sample Fruta project and it simply doesn't work no matter what I try so far.     

I appreciate any ideas or suggestions.
   

@State var presentingAppStoreOverlay: Bool = true

Text("App Store Overlay")
              .hidden()
              .appStoreOverlay(isPresented: $presentingAppStoreOverlay) {
                  SKOverlay.AppClipConfiguration(position: .bottom)
              }

Thanks!

No project configuration should be needed to use appStoreOverlay or SKOverlay from an App Clip. Do any errors appear in the console when running your clip?

Could you file a report using Feedback Assistant including a sysdiagnose so we can take a closer look? Additionally, if you have a sample project demonstrating this that you are able to shared, it would be helpful if you could also attach that.
I'm having this issue, as well. When I try to import StoreKit so that I can use .appStoreOverlay, the App Clip crashes immediately upon launch with the following message: dyld: Library not loaded: /System/Library/Frameworks/_StoreKit_SwiftUI.framework/_StoreKit_SwiftUI

What can I do to fix this?
@Gerzer Software This was resolved in iOS 14.2 Beta 2.

Apps built with the iOS 14 SDK that import SwiftUI and StoreKit in the same file will now launch correctly. (69094398)

iOS 14.2 Release Notes

If you are still experiencing this after updating, please file a report using Feedback Assistant

.appStoreOverlay for App Clips
 
 
Q