Skip to content
This repository has been archived by the owner on Oct 29, 2022. It is now read-only.

gap:config-file not working #647

Open
pastet89 opened this issue Mar 18, 2019 · 6 comments
Open

gap:config-file not working #647

pastet89 opened this issue Mar 18, 2019 · 6 comments

Comments

@pastet89
Copy link

No matter what I try I cannot get the gap:config-file to work. The build compiles without errors, but there are no changes in the AndroidManifest.xml.

This is my code:

   <gap:config-file platform="android" parent="/application">
        <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />
    </gap:config-file>  

I tried also:

  1. Putting it into the <platform name="android"> node and out of it.
  2. Tried: parent="/application", parent="/manifest/application"
@andersborgabiro
Copy link

@pastet89
Copy link
Author

@andersborgabiro Thanks, however, it didn't work for me either. I spent few hours trying all combinations I could think of, tried both eidt-config and config-file, various Xpath values, inside and outside the Android platform node, nothing works for me.

@andersborgabiro
Copy link

I've only used edit-config for iOS, so I don't have a good example. It no doubt works there.
Do you use cli-8.0.0?

@pastet89
Copy link
Author

No, I use cli-7.0.1 and I build online through build.phonegap.com.

@andersborgabiro
Copy link

Any reason for doing that? cli-7.0.1 is very old. I use PGB too.

@pastet89
Copy link
Author

pastet89 commented Mar 19, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants