Skip to content

Instantly share code, notes, and snippets.

Avatar

Steve Kennedy SteveKennedy

View GitHub Profile
@SteveKennedy
SteveKennedy / fixcordova7issue.js
Created Feb 13, 2018
Cordova Hook - Modifies serve-config.js to use Cordova 7 Android Platform Path
View fixcordova7issue.js
// This Cordova Hook (script) modifies the serve-config.js (app-scripts/dist/dev-server/)
// It modifes the ANDROID_PLATFORM_PATH assignment to include 'app/src/main'
// The reference to the issue is best described at https://github.com/ionic-team/ionic-app-scripts/issues/1354
// The authoritive source is found at: https://gist.github.com/SteveKennedy
module.exports = function (ctx) {
console.log("Attempting To Modify serve-config.js....")
// Reference Dependencies
@SteveKennedy
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: 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';
You can’t perform that action at this time.