Hi, I am building a FirefoxOS app using Cordova which led to the problem that Cordova currently does not handle the "activities" part of the manifest. https://issues.apache.org/jira/browse/CB-8448 https://github.com/AxelNennker/cordova-lib/blob/master/cordova-lib/src/cordova/metadata/firefoxos_parser.js
After reading https://developer.mozilla.org/en-US/docs/Web/API/Web_Activities#App_manifest_%28a.k.a._declaration_registration%29 I believe that some combinations of filters are not possible. Example: Cordova plugin A wants to add this filter "activities": { // The name of the activity to handle (here "open") "open": { "href": "./openImages.html", "disposition": "inline", "filters": { "type": ["image/*","image/jpeg","image/png"] }, "returnValue": true } } While Cordova plugin B wants to add this filter: "activities": { // The name of the activity to handle (here "pick") "open": { "href": "./openByUrl.html", "disposition": "inline", "filters": { "type": "url", '"url": { "regexp": "https://foo.org/gallery" } }, "returnValue": true } } The point is that the FFOS app would now have two definitions for "open". Is there a way to express this in one manifest? Thanks Axel _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
