I'm trying to integrate Unified Native Ads into my SwiftUI-based app, and for some reason am having trouble getting the "AdChoices" icon to show up. The view (GADNativeAdAttributionView) simply does not exist in the view hierarchy. I based the native ad view on a sample app I found on Google's GitHub page, and adapted it for SwiftUI.
I attached a file that contains the code for loading and showing the ad - putting it into a basic SwiftUI app inside the Content View should show the problem. You can see that nowhere do I remove subviews, as far as I can see.
I also attached a screenshot of my app's view hierarchy showing that the GADNativeAdAttributionView is completely missing, and another screenshot of the sample app, which includes the GADNativeAdAttributionView. It's the view at the very end of the list of sub views of GADUnifiedNativeAdView, which makes sense to keep it at the top.
In case of confusion: GADNativeAdAttributionView is misleadingly named, as "attribution" is something different in the Google AdMob documentation - but it is definitely the view that contains the AdChoices icon.
Further details:
Google AdMob SDK: v7.58.0 (via Cocoapods)
XCode: v11.5
I'm reproduced this issue both on an iPhone X (iOS 13.4.1) and the XCode Simulator for iPhone 11 Pro Max (iOS 13.5).