Skip to content

Instantly share code, notes, and snippets.


Steve Kennedy SteveKennedy

View GitHub Profile
SteveKennedy / removeAdFramework.js
Last active Oct 6, 2020
Cordova Hook - Removes Ad Framework From Plugin.XML
View removeAdFramework.js
// 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:
module.exports = function (ctx) {
console.log("Attempting To Remove Ad (IDFA) References from project....")
var pluginName = 'cordova-plugin-google-analytics';
You can’t perform that action at this time.