[ 
https://issues.apache.org/jira/browse/CB-7826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-7826:
---------------------------------
    Description: 
Example:
https://github.com/apache/cordova-plugin-media-capture/blob/f7d70e2e8f8354743286011f70dcd79a3292a82e/src/ios/CDVCapture.m#L34-L40

Each plugin can have a <PluginName>.bundle with images, localization strings, 
etc and we provide an interface in CDVPlugin to grab them.

Advantages:
1. Only one line in plugin.xml as a <resource> tag, versus N lines for N files
2. "Namespacing" of resources built in, no fear of resource name collision with 
other plugins, or the project template

  was:
Example:
https://github.com/apache/cordova-plugin-media-capture/blob/f7d70e2e8f8354743286011f70dcd79a3292a82e/src/ios/CDVCapture.m#L34

Each plugin can have a <PluginName>.bundle with images, localization strings, 
etc and we provide an interface in CDVPlugin to grab them.

Advantages:
1. Only one line in plugin.xml as a <resource> tag, versus N lines for N files
2. "Namespacing" of resources built in, no fear of resource name collision with 
other plugins, or the project template


> Add CDVPlugin support for getting items from plugin resource bundles
> --------------------------------------------------------------------
>
>                 Key: CB-7826
>                 URL: https://issues.apache.org/jira/browse/CB-7826
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.0
>            Reporter: Shazron Abdullah
>             Fix For: 4.0.0
>
>
> Example:
> https://github.com/apache/cordova-plugin-media-capture/blob/f7d70e2e8f8354743286011f70dcd79a3292a82e/src/ios/CDVCapture.m#L34-L40
> Each plugin can have a <PluginName>.bundle with images, localization strings, 
> etc and we provide an interface in CDVPlugin to grab them.
> Advantages:
> 1. Only one line in plugin.xml as a <resource> tag, versus N lines for N files
> 2. "Namespacing" of resources built in, no fear of resource name collision 
> with other plugins, or the project template



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to