[jira] [Commented] (CB-12041) cordova-plugin-media-capture does not set or restore entries such as CAMERA_USAGE_DESCRIPTION

2016-11-10 Thread Christopher Mindus (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15654560#comment-15654560
 ] 

Christopher Mindus commented on CB-12041:
-

The way I can reproduce it is as follows:

1. Main config.xml in project:
  ...
  


  
  
  ...

2. cordova platform rm ios [--save]

   Make sure platforms/ios is gone.

3. cordova platform add ios [--save]

At this point, the platforms/ios/ios.json and the project's *.plist file does 
not include the strings from the main config.xml.
This is reproducible all the time. It doesn't matter if the "--save" flag is 
used or not.

As the iOS platform update command generally fails, we use rm+add to update the 
iOS platform instead. We then have to manually enter the ios.json entries that 
in turn builds the *.plist entries during the ios build step.

> cordova-plugin-media-capture does not set or restore entries such as 
> CAMERA_USAGE_DESCRIPTION
> -
>
> Key: CB-12041
> URL: https://issues.apache.org/jira/browse/CB-12041
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: Master
>Reporter: Christopher Mindus
>
> An entry in config.xml such as:
> 
> 
> 
>   
>   
> does not update the ios.json and *-Info.plist files with the corresponding 
> entries NSCameraUsageDescription, NSMicrophoneUsageDescription and 
> NSPhotoLibraryUsageDescription.
> This applies when performing "cordova platform add ios [--save]" as well as 
> when changing the main config.xml file with new or updated text entries 
> and/or variables.
> The main config.xml file should update the other files (ios.json and *.plist).



--
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



[jira] [Commented] (CB-12041) cordova-plugin-media-capture does not set or restore entries such as CAMERA_USAGE_DESCRIPTION

2016-11-09 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15652483#comment-15652483
 ] 

Shazron Abdullah commented on CB-12041:
---

I can't repro (on iOS). If you can provide exact repro steps, I'll see what I 
can do.

> cordova-plugin-media-capture does not set or restore entries such as 
> CAMERA_USAGE_DESCRIPTION
> -
>
> Key: CB-12041
> URL: https://issues.apache.org/jira/browse/CB-12041
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: Master
>Reporter: Christopher Mindus
>
> An entry in config.xml such as:
> 
> 
> 
>   
>   
> does not update the ios.json and *-Info.plist files with the corresponding 
> entries NSCameraUsageDescription, NSMicrophoneUsageDescription and 
> NSPhotoLibraryUsageDescription.
> This applies when performing "cordova platform add ios [--save]" as well as 
> when changing the main config.xml file with new or updated text entries 
> and/or variables.
> The main config.xml file should update the other files (ios.json and *.plist).



--
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



[jira] [Commented] (CB-12041) cordova-plugin-media-capture does not set or restore entries such as CAMERA_USAGE_DESCRIPTION

2016-10-30 Thread Christopher Mindus (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15620830#comment-15620830
 ] 

Christopher Mindus commented on CB-12041:
-

The settings should be taken from the config.xml file.


Then it would be very nice to know how the localization part is handled, if 
any, but the Cordova system. How are language-specific strings handled here 
(and worse in general)? It's not really defined anywhere. Cordova relies on 
using e.g. Xcode or XML files for Android. Sometimes these files are 
overwritten by a Cordova build -- not very nice.

> cordova-plugin-media-capture does not set or restore entries such as 
> CAMERA_USAGE_DESCRIPTION
> -
>
> Key: CB-12041
> URL: https://issues.apache.org/jira/browse/CB-12041
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 1.4.0
>Reporter: Christopher Mindus
>
> An entry in config.xml such as:
> 
> 
> 
>   
>   
> does not update the ios.json and *-Info.plist files with the corresponding 
> entries NSCameraUsageDescription, NSMicrophoneUsageDescription and 
> NSPhotoLibraryUsageDescription.
> This applies when performing "cordova platform add ios [--save]" as well as 
> when changing the main config.xml file with new or updated text entries 
> and/or variables.
> The main config.xml file should update the other files (ios.json and *.plist).



--
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



[jira] [Commented] (CB-12041) cordova-plugin-media-capture does not set or restore entries such as CAMERA_USAGE_DESCRIPTION

2016-10-30 Thread Christopher Mindus (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-12041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15620826#comment-15620826
 ] 

Christopher Mindus commented on CB-12041:
-

Every time a new "cordova build ios" is performed, any changes in the 
XXX-Info.plist file for these entries are lost. If you don't notice this 
directly, you will when your app is rejected by the App Store due to the 
missing string entries.

> cordova-plugin-media-capture does not set or restore entries such as 
> CAMERA_USAGE_DESCRIPTION
> -
>
> Key: CB-12041
> URL: https://issues.apache.org/jira/browse/CB-12041
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 1.4.0
>Reporter: Christopher Mindus
>
> An entry in config.xml such as:
> 
> 
> 
>   
>   
> does not update the ios.json and *-Info.plist files with the corresponding 
> entries NSCameraUsageDescription, NSMicrophoneUsageDescription and 
> NSPhotoLibraryUsageDescription.
> This applies when performing "cordova platform add ios [--save]" as well as 
> when changing the main config.xml file with new or updated text entries 
> and/or variables.
> The main config.xml file should update the other files (ios.json and *.plist).



--
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