config.xml AD tracking app.component.ts // https://www.npmjs.com/package/cordova-plugin-idfa const idfaPlugin = cordova.plugins.idfa; idfaPlugin.getInfo() .then(info => { if (!info.trackingLimited) { return info.idfa || info.aaid; } else if (info.trackingPermission === idfaPlugin.TRACKING_PERMISSION_NOT_DETERMINED) { return idfaPlugin.requestPermission().then(result => { if (result === idfaPlugi..