Liam Ryan created CB-14036:
------------------------------

             Summary: source-file or resource-file png in plugin.xml breaks 
subsequent plugins for cordova-android 7
                 Key: CB-14036
                 URL: https://issues.apache.org/jira/browse/CB-14036
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-android
    Affects Versions: 7.0.0
         Environment: This is the blank project that I build together with 
environment ( pasted below for reference ) - 
[https://github.com/Liam-Ryan/ionic-cordova-android-7]



After setting up this project running ionic cordova plugin add 
cordova-plugin-fingerprint-aio && cordova platform add android will reproduce 
the issue. 
            Reporter: Liam Ryan
            Assignee: Joe Bowser


Plugin.xml for cordova-plugin-fingerprint-aio contains tags like the following. 
I have also tried changing to resource-file. When these tags are present in 
either form then subsequent plugins seem to revert to the old cordova-android 
directory structure which causes their installation to fail during cordova 
platform add android and also hides the cause of the issue since there are no 
errors for the plugin containing these tags

{{ <source-file src="res/android/drawable/ic_fingerprint_success.xml" 
target-dir="res/drawable"/>}}

 

{{}}{{Example of error - Failed to install 'cordova-plugin-splashscreen': 
Error: ENOENT: no such file or directory, open 
'E:\Development\Angular2\Cordova7\cordova7\platforms\android\AndroidManifest.xml'}}

 

{{I'm building with latest ionic blank project ( see environment ) and the 
plugin in question is cordova-plugin-fingerprint-aio. I'm aware that this 
project is not yet cordova-android 7 compliant, I'm trying to create a pull 
request for same }}

 

[https://github.com/NiklasMerz/cordova-plugin-fingerprint-aio/pull/94]

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to