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

config file res/values/facebookconnect.xml requested for changes not found #761

Closed
ThorvaldAagaard opened this issue Apr 10, 2019 · 8 comments

Comments

@ThorvaldAagaard
Copy link

ThorvaldAagaard commented Apr 10, 2019

Bug or feature request

[ ] I'm reporting a reproducible issue with the code
[X] I'm reporting a feature request

Describe the Bug of feature request

I am getting this warning each time I build and would like to get rid of it
config file res/values/facebookconnect.xml requested for changes not found at <my project>\platforms\android\res\values\facebookconnect.xml, ignoring

Expected Behavior

According to the plugin.xml the copy statement is for Cordova 6, but I am using Cordova 7

Plugin version, OS, devices, etc

Ionic:

   ionic (Ionic CLI)  : 4.12.0 
   Ionic Framework    : ionic-angular 3.9.4
   @ionic/app-scripts : 3.2.3

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.1.2, browser 5.0.4, ios 4.5.4
   Cordova Plugins       : cordova-plugin-ionic-webview 4.0.1, (and 34 other plugins)

System:

   Android SDK Tools : 26.1.1 
   NodeJS            : v10.15.0 
   npm               : 6.5.0
   OS                : Windows 10

Sample repo

Can be done using the ionic starter template and then add this plugin

@AmrAbdalrahman
Copy link

This error occurs with me when the names of icons in path 'resources\android\icon' are incorrect.
solved by edit to correction name of icons

@ThorvaldAagaard
Copy link
Author

@AmrAlmagic Can you show, what you did change?

I have the following files in that directory
image

And my config.xml has these references
image

And it is strange that icons could caused the above error

@AmrAbdalrahman
Copy link

@ThorvaldAagaard
your names of icons and path of them in config.xml are correct !.

This error occurs with me when the names of icons in path 'resources\android\icon' are incorrect.
solved by edit to correction name of icons

That's happened to me!

can you get a screenshot of the issue occurring to you?

@ThorvaldAagaard
Copy link
Author

Each time i build for android I get this

image

The app works fine

building with --verbose does not add much extra information
image

@AmrAbdalrahman
Copy link

Are you try to remove plugins and platforms and install them again?!

@ThorvaldAagaard
Copy link
Author

ThorvaldAagaard commented Jun 23, 2019

I just found this
#599 (comment)
seems it works as intended to support Cordova 6 and 7+

@guylando
Copy link

I read somewhere that this error can happen 3 times in android build but it can be safely ignored and it shouldn't influence anything.

@noahcooper
Copy link
Collaborator

This plugin is deprecated. Check out cordova-plugin-facebook-connect at https://www.npmjs.com/package/cordova-plugin-facebook-connect. The new plugin works without issue on cordova-android 7 (and later versions).

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

No branches or pull requests

4 participants