[jira] [Comment Edited] (CB-13496) the plugin config-file tag for iOS plist array behaves unnaturally.
[ https://issues.apache.org/jira/browse/CB-13496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16233657#comment-16233657 ] Kenichi Naito edited comment on CB-13496 at 11/1/17 4:52 AM: - Thanks, Audrey. For example if you add the plugin where plugin.xml has ``` $(AppIdentifierPrefix)$PACKAGE_NAME $(AppIdentifierPrefix)com.example.mylib ``` the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova $(AppIdentifierPrefix)com.example.mylib ``` However after cordova prepare command, the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova ``` because nodeEqual function treats the above two string as `(.*?)`. Therefore one of two is removed. was (Author: knaito): Thanks, Audrey. For example if you add the plugin where plugin.xml has ``` $(AppIdentifierPrefix)$PACKAGE_NAME $(AppIdentifierPrefix)com.example.mylib ``` the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova $(AppIdentifierPrefix)com.example.mylib ``` However after cordova prepare command, the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova ``` because nodeEqual function treat the above two string as `(.*?)`. Therefore one of two is removed. > the plugin config-file tag for iOS plist array behaves unnaturally. > --- > > Key: CB-13496 > URL: https://issues.apache.org/jira/browse/CB-13496 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-common >Affects Versions: 2.1.0 > Environment: Mac OSX >Reporter: Kenichi Naito > Original Estimate: 504h > Remaining Estimate: 504h > > In the src/util/plist-helpers.js, in the nodeEqual function, > ``` > node2 = escapeRE(node2).replace(/\\\$\S+/gm, '(.*?)'); > ``` > seems the strange behavior. > For example, the escaped node2 "$(ABC)Hello" becomes "(.*?)". > In the previous version of this code is > ``` > node2 = escapeRE(node2).replace(new RegExp('\\$[a-zA-Z0-9-_]+','gm'),'(.*?)'); > ``` > in this case, the escaped node2 "$(ABC)Hello" is unchaned. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-13496) the plugin config-file tag for iOS plist array behaves unnaturally.
[ https://issues.apache.org/jira/browse/CB-13496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16233657#comment-16233657 ] Kenichi Naito edited comment on CB-13496 at 11/1/17 4:52 AM: - Thanks, Audrey. For example if you add the plugin where plugin.xml has ``` $(AppIdentifierPrefix)$PACKAGE_NAME $(AppIdentifierPrefix)com.example.mylib ``` the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova $(AppIdentifierPrefix)com.example.mylib ``` However after cordova prepare command, the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova ``` because nodeEqual function treat the above two string as `(.*?)`. Therefore one of two is removed. was (Author: knaito): Thanks, Audrey. For example if you add the plugin where plugin.xml has ``` $(AppIdentifierPrefix)$PACKAGE_NAME $(AppIdentifierPrefix)com.example.mylib ``` the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova $(AppIdentifierPrefix)com.example.mylib ``` However after cordova prepare command, this becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova ``` because nodeEqual function treat the above two string as `(.*?)`. Therefore one of two is removed. > the plugin config-file tag for iOS plist array behaves unnaturally. > --- > > Key: CB-13496 > URL: https://issues.apache.org/jira/browse/CB-13496 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-common >Affects Versions: 2.1.0 > Environment: Mac OSX >Reporter: Kenichi Naito > Original Estimate: 504h > Remaining Estimate: 504h > > In the src/util/plist-helpers.js, in the nodeEqual function, > ``` > node2 = escapeRE(node2).replace(/\\\$\S+/gm, '(.*?)'); > ``` > seems the strange behavior. > For example, the escaped node2 "$(ABC)Hello" becomes "(.*?)". > In the previous version of this code is > ``` > node2 = escapeRE(node2).replace(new RegExp('\\$[a-zA-Z0-9-_]+','gm'),'(.*?)'); > ``` > in this case, the escaped node2 "$(ABC)Hello" is unchaned. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Comment Edited] (CB-13496) the plugin config-file tag for iOS plist array behaves unnaturally.
[ https://issues.apache.org/jira/browse/CB-13496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16233657#comment-16233657 ] Kenichi Naito edited comment on CB-13496 at 11/1/17 4:51 AM: - Thanks, Audrey. For example if you add the plugin where plugin.xml has ``` $(AppIdentifierPrefix)$PACKAGE_NAME $(AppIdentifierPrefix)com.example.mylib ``` the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova $(AppIdentifierPrefix)com.example.mylib ``` However after cordova prepare command, this becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova ``` because nodeEqual function treat the above two string as `(.*?)`. Therefore one of two is removed. was (Author: knaito): Thanks, Audrey. For example if you add the plugin with plugin.xml as ``` $(AppIdentifierPrefix)$PACKAGE_NAME $(AppIdentifierPrefix)com.example.mylib ``` the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova $(AppIdentifierPrefix)com.example.mylib ``` However after cordova prepare command, this becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova ``` because nodeEqual function treat the above two string as `(.*?)`. Therefore one of two is removed. > the plugin config-file tag for iOS plist array behaves unnaturally. > --- > > Key: CB-13496 > URL: https://issues.apache.org/jira/browse/CB-13496 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-common >Affects Versions: 2.1.0 > Environment: Mac OSX >Reporter: Kenichi Naito > Original Estimate: 504h > Remaining Estimate: 504h > > In the src/util/plist-helpers.js, in the nodeEqual function, > ``` > node2 = escapeRE(node2).replace(/\\\$\S+/gm, '(.*?)'); > ``` > seems the strange behavior. > For example, the escaped node2 "$(ABC)Hello" becomes "(.*?)". > In the previous version of this code is > ``` > node2 = escapeRE(node2).replace(new RegExp('\\$[a-zA-Z0-9-_]+','gm'),'(.*?)'); > ``` > in this case, the escaped node2 "$(ABC)Hello" is unchaned. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13496) the plugin config-file tag for iOS plist array behaves unnaturally.
[ https://issues.apache.org/jira/browse/CB-13496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16233657#comment-16233657 ] Kenichi Naito commented on CB-13496: Thanks, Audrey. For example if you add the plugin with plugin.xml as ``` $(AppIdentifierPrefix)$PACKAGE_NAME $(AppIdentifierPrefix)com.example.mylib ``` the Entitlements-Debug.plist becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova $(AppIdentifierPrefix)com.example.mylib ``` However after cordova prepare command, this becomes ``` keychain-access-groups $(AppIdentifierPrefix)io.cordova.hellocordova ``` because nodeEqual function treat the above two string as `(.*?)`. Therefore one of two is removed. > the plugin config-file tag for iOS plist array behaves unnaturally. > --- > > Key: CB-13496 > URL: https://issues.apache.org/jira/browse/CB-13496 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-common >Affects Versions: 2.1.0 > Environment: Mac OSX >Reporter: Kenichi Naito > Original Estimate: 504h > Remaining Estimate: 504h > > In the src/util/plist-helpers.js, in the nodeEqual function, > ``` > node2 = escapeRE(node2).replace(/\\\$\S+/gm, '(.*?)'); > ``` > seems the strange behavior. > For example, the escaped node2 "$(ABC)Hello" becomes "(.*?)". > In the previous version of this code is > ``` > node2 = escapeRE(node2).replace(new RegExp('\\$[a-zA-Z0-9-_]+','gm'),'(.*?)'); > ``` > in this case, the escaped node2 "$(ABC)Hello" is unchaned. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12808) 'Error: AppPackages doesn't exists` when building for windows@5.0.0
[ https://issues.apache.org/jira/browse/CB-12808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16233586#comment-16233586 ] Christoph Brosdau commented on CB-12808: Did anyone found a Solution for this? I have the same Issue on Cordova 7.1.0, Node 6.11.3 and Visual Studio 2017. I also added the Preference windows-target-version to 10.0 and have exactly the same Output. > 'Error: AppPackages doesn't exists` when building for windows@5.0.0 > --- > > Key: CB-12808 > URL: https://issues.apache.org/jira/browse/CB-12808 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-windows > Environment: See VisualStudioCommunity-Specs attachment. > Windows 10 Home (see Windows10Home-About attachment) > Microsoft Visual Studio Community 2017 Version 15.2 (26430.4) Release > Windows 10 SDK 10.0.15063.137 > cordova@6.5.0 and cordova@7.0.0 >Reporter: Shazron Abdullah >Priority: Major > Attachments: VisualStudioCommunity-Specs.txt, Windows10Home-About.PNG > > > See Environment field. > 1. Install Windows 10 Home with latest updates as of May 12 2017 > 2. Install Visual Studio Community Edition with latest updates as of May 12 > 2017 > 3. Install Windows 10 SDK 10.0.15063.137 > 4. Add to your environment variables 'VSINSTALLDIR` value: {{C:\Program Files > (x86)\Microsoft Visual Studio\2017\Community\}} > Repro: > {code} > $ cordova create foo > $ cd foo > # edit config.xml to add these two tags below (without the hashes): > # > # > $ cordova platform add windows > Adding windows project... > Creating Cordova Windows Project: > Path: platforms\windows > Namespace: io.cordova.hellocordova > Name: HelloCordova > Windows project created with cordova-windows@5.0.0 > Installing "cordova-plugin-whitelist" for windows > $ cordova build windows > Building project: > C:\Users\shazron\Desktop\foo\platforms\windows\CordovaApp.Windows10.jsproj > Configuration : debug > Platform : anycpu > Patching 10 in prebuild event... > Injected base.js reference to the /www/index.html > Removing /( > *)(