[jira] [Commented] (CB-4731) Adding config entries in plugin.xml results in duplicate .plist entries

2013-11-14 Thread Jan-Pieter van den Heuvel (JIRA)

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

Jan-Pieter van den Heuvel commented on CB-4731:
---

Fixing this bug is quite important for us at [Plot|http://www.plotprojects.com] 
since we provide a Phonegap plugin for Location Based Notifications which 
requires the location background mode. Currently our users must manually add it 
to the .plist file every time they build their app (since the .plist file gets 
overridden during each build). We might take a stab at it ourselves but need 
some guidance. Where should this be fixed in the Phonegap code base and how 
would you estimate the amount of work involved?

> Adding config entries in plugin.xml results in duplicate .plist entries
> ---
>
> Key: CB-4731
> URL: https://issues.apache.org/jira/browse/CB-4731
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
> Environment: macosx
>Reporter: Tim Croydon
>Assignee: Braden Shepherdson
>Priority: Minor
>
> I have the following in the plugin.xml file for a custom plugin:
> {code}
> 
> 
> 
>location
>voip
> 
> 
> 
> {code}
> However, this does not generate the expected entries in the .plist file. I 
> get:
> {code}
> UIBackgroundModes
> 
> location
> voip
> location
> voip
> 
> {code}
> i.e. elements are repeated. I have tried with a single element in the source 
> plugin.xml and get the same result.
> I am using the cordova CLI to manage my plugins, platforms and build.
> (p.s. I'm new to Cordova so apologies if this is filed under the incorrect 
> component)



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-5262) Adding config entries in plugin.xml for modifying .plist file results in whitespace entries for NSMainNibFile keys leading to App crashing

2013-11-14 Thread Jan-Pieter van den Heuvel (JIRA)

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

Jan-Pieter van den Heuvel commented on CB-5262:
---

Fixing this bug is quite important for us at [Plot|http://www.plotprojects.com] 
since we provide a Phonegap plugin for Location Based Notifications which 
requires the location background mode. Currently our users must manually add it 
to the .plist file every time they build their app (since the .plist file gets 
overridden during each build). We might take a stab at it ourselves but need 
some guidance. Where should this be fixed in the Phonegap code base and how 
would you estimate the amount of work involved?

> Adding config entries in plugin.xml for modifying .plist file results in 
> whitespace entries for NSMainNibFile keys leading to App crashing
> --
>
> Key: CB-5262
> URL: https://issues.apache.org/jira/browse/CB-5262
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS, Plugman
>Affects Versions: 3.0.0
> Environment: MacOSX
>Reporter: tex
>
> with the following in plugin.xml :
> {code:xml}
> 
> 
> 
>location
>  
> 
> 
> {code}
> we get whitespaces in the generated info.plist :
> {code:xml}
> NSMainNibFile
> 
> 
> {code}
> the app compile but crash at runtime as it looking at a non existing .nib 
> file.
> the .plist can be modified manualy, allowing correct building, but this is a 
> real major issue for automated compiling (eg: phonegap build)
> this issue seems to be related to 
> https://issues.apache.org/jira/browse/CB-4731 but is more important as it 
> lead to app crashing



--
This message was sent by Atlassian JIRA
(v6.1#6144)