This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This Cordova Hook (script) removes "AdSupport.framework" and "libAdIdAccess" references | |
// from the cordova-plugin-google-analytics plugin, as well as removes it from | |
// references found in the corresponding node_module and .project.pbxproj. | |
// The authoritive source is found at: https://gist.github.com/SteveKennedy | |
module.exports = function (ctx) { | |
console.log("Attempting To Remove Ad (IDFA) References from project....") | |
var pluginName = 'cordova-plugin-google-analytics'; |