-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
[REQUIRED] Step 1: Describe your environment
- Unity version: 2021.3.42f1 (does not really matter, can be any of the latest stable)
- Google Mobile Ads Unity plugin version: 9.4.0 and later
- Plugin installation method: building from sources
- Platform: iOS
- Platform OS version: iOS 12 and later
- Any specific devices issue occurs on: - (not device related issue)
- Mediation ad networks used, and their versions: no mediation used
[REQUIRED] Step 2: Describe the problem
Not that long ago there was an issue (3181) where UMP was requested as a completely separated package from AdMob. As far as this feature is still somewhere in the plans, we still can make this separation ourselves using sources provided with every release (for example, here is the link for the latest 9.5.0 release sources), despite it requires some nontrivial steps to make it work.
It looks like for iOS things has been changed since 9.4.0: preloaded ads feature was added, but some headers is nowhere to be found:
- GADAppOpenAd_Preview.h
- GADInterstitialAd_Preview.h
- GADMobileAds_Preview.h
- GoogleMobileAds/GADPreloadConfiguration_Preview.h
- GADRewardedAd_Preview.h
Those headers named with -preview suffix are also not presented in the latest iOS SDK 11.13.0.
If I try to install plugin via .unitypackage, it builds fine, so the headers are there inside unity-plugin-library.a I guess.
So the question is - is it possible to add those missing headers so we can build from the sources again? Just some commit will be fine to grab, it's not really necessary to wait longer for the next official release.
(It is still possible to build separate packages on Android platform with 9.4.0 and 9.5.0 sources)
Steps to reproduce:
Unfortunately, steps are too complex to reproduce, but I think it's not needed yet at this point of discussion.
Relevant Code:
// No code needed for this issue