Tuesday, October 20, 2020

How I handle admob on iOS 14 about IDFA permission


Ok, so first of all we know that iOS 14 is available on iPhone. Starting from iPhone 6s that's my iPhone to test my app until latest iPhone 12. It's quite fun to see a new update that brings something about IDFA. What's IDFA actually? The source I got from the internet said IDFA is Identifier for Advertisers. So basically The IDFA is used for tracking and identifying a user (without revealing personal information).

It's used by Admob to show ads that's relevant to users. So Apple needs permission from iPhone users to allow third party to track their activity. What if iPhone users doesn't allow it maybe third party cannot show ads and It's bad for us who get paid from advertasing. Maybe in the future there'll be a pop up message in the apps that need to active IDFA before using the app. It's something like on website right now. We can't see the content if we don't disable our adblock plugin.

Fortunately We're lucky enough because Apple will delay Its IDFA changes on iOS 14 until early next year. So we have time to prepare implementation in our App. But actually it's not so hard to implement it. You just need to show the permission before showing ads that I'll explain later. I've done it in my native iOS app and cross platform app that use flutter.