Mintegral-official / MintegralAdSDK-iOS-new

Mintegral ad sdk for iOS
https://dev.mintegral.com/doc/index.html?file=sdk-m_sdk-ios&lang=en
Other
5 stars 3 forks source link

MTGSDK.sharedInstance().setConsentStatus(true) no member error #14

Open SmartHbdev opened 3 months ago

SmartHbdev commented 3 months ago

Hello,

MTGSDK.sharedInstance().setConsentStatus(true) show the error Value of type 'MTGSDK' has no member 'setConsentStatus'.

MTGSDK.sharedInstance().consentStatus = true works but the admob Ad Inspector say No User consent provided.

My project use swift. I am missing something ?

red3 commented 1 week ago

hi @SmartHbdev do you still have this issue?

SmartHbdev commented 1 week ago

@red3 yes, I haven't found the solution yet

Blindsquirrelllc commented 1 week ago

same problem for me as well

red3 commented 1 week ago

@SmartHbdev @Blindsquirrelllc if you use Admob's UMP (User Messaging Platform) to set consent then you don't need to set consent on Mintegral side again, otherwise you can set consent on Mintegral side and ignore the admob Ad Inspector, since admob Ad Inspector cannot detect the settings of Mintegral consent.