Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed #374 issue: colors.xml resource already exists on android insta… #938

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fixed #374 issue: colors.xml resource already exists on android insta… #938

wants to merge 3 commits into from

Conversation

rpanadero
Copy link

@rpanadero rpanadero commented Nov 7, 2018

Description

The issue is described here: #374

The applied change just renames the colors.xml file to avoid conflicts when the plugin is installed on an Android Cordova project. Take into account that other plugins could provide the same file so that the compilation would fail if this plugin and another one try to provide the "same" resource file.

As this change is minor, I would glad that you merge this change to avoid having a fork from this repository.

Testing

This fix has been tested by trying to install the plugin in a project which has several plugins.

Thank you in advance,

@lacksfish
Copy link

lacksfish commented Nov 8, 2018

Even though not having a pretty fix for it, I'm assuming a watch -n 1 rm colors.xml would also help :)

@rpanadero
Copy link
Author

@soumak77, could you check what happens with the build ? I think that it is an important fix to avoid build problems on Android and especially when you are also using other plugins in your project.

@amirhmoradi
Copy link

@rpanadero thanks for the PR. 👍
I think the build fails because of environment deps. Seems like the PR #958 solved the build issues by building only on latest cordova.

@ilyakamens
Copy link

Would love if this got merged.

ilyakamens added a commit to propelinc/cordova-plugin-firebase that referenced this pull request Apr 10, 2019
rammie pushed a commit to propelinc/cordova-plugin-firebase that referenced this pull request Apr 21, 2019
rammie pushed a commit to propelinc/cordova-plugin-firebase that referenced this pull request May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants