[jira] [Comment Edited] (CB-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-16 Thread Jagdish Adusumalli (JIRA)

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

Jagdish Adusumalli edited comment on CB-10310 at 1/17/16 6:19 AM:
--

Thanks a lot [~dpa99c]

Also please fix the Settings.Secure related issue due to which the plugin is 
failing on android 4.1/ 4.2 and 4.3.
https://github.com/dpa99c/cordova-diagnostic-plugin/issues/26


was (Author: jagdishadusumalli):
Thanks a lot dave... [~dpa99c]

Also please fix the Settings.Secure related issue due to which the plugin is 
failing on android 4.1/ 4.2 and 4.3.
https://github.com/dpa99c/cordova-diagnostic-plugin/issues/26

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
>  Labels: build-failure, build-problem, cordova-ios-4.0.1, ios
> Attachments: build error cordova-plugin-diagnostic.png, build error 
> with cordova-plugin-camera.png, build error with cordova-plugin-sms.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios" or "cordova build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible 
> and not working and found the below 5 plugins are raising the same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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] [Comment Edited] (CB-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-16 Thread Jagdish Adusumalli (JIRA)

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

Jagdish Adusumalli edited comment on CB-10310 at 1/17/16 6:18 AM:
--

Thanks a lot dave... [~dpa99c]

Also please fix the Settings.Secure related issue due to which the plugin is 
failing on android 4.1/ 4.2 and 4.3.
https://github.com/dpa99c/cordova-diagnostic-plugin/issues/26


was (Author: jagdishadusumalli):
Thanks a lot dave... 

Also please fix the Settings.Secure related issue due to which the plugin is 
failing on android 4.1/ 4.2 and 4.3.
https://github.com/dpa99c/cordova-diagnostic-plugin/issues/26

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
>  Labels: build-failure, build-problem, cordova-ios-4.0.1, ios
> Attachments: build error cordova-plugin-diagnostic.png, build error 
> with cordova-plugin-camera.png, build error with cordova-plugin-sms.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios" or "cordova build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible 
> and not working and found the below 5 plugins are raising the same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-16 Thread Jagdish Adusumalli (JIRA)

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

Jagdish Adusumalli commented on CB-10310:
-

Thanks a lot dave... 

Also please fix the Settings.Secure related issue due to which the plugin is 
failing on android 4.1/ 4.2 and 4.3.
https://github.com/dpa99c/cordova-diagnostic-plugin/issues/26

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
>  Labels: build-failure, build-problem, cordova-ios-4.0.1, ios
> Attachments: build error cordova-plugin-diagnostic.png, build error 
> with cordova-plugin-camera.png, build error with cordova-plugin-sms.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios" or "cordova build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible 
> and not working and found the below 5 plugins are raising the same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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-10371) phonegap build keeps firing PositionError when app is launched with GPS state OFF and then turning ON still in the APP

2016-01-16 Thread Jesse Monroy (JIRA)

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

Jesse Monroy commented on CB-10371:
---

To Reviewer, this person is new to the process. I will be helping him as 
needed. TIA Jesse

> phonegap build keeps firing PositionError when app is launched with GPS state 
> OFF and then turning ON still in the APP
> --
>
> Key: CB-10371
> URL: https://issues.apache.org/jira/browse/CB-10371
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 3.5.0
>Reporter: Sandro Di Bernardi
>Priority: Minor
>
> I would like to find a way to detect mobile geolocation state change when an 
> app is already launched ? example : geoloc if OFF , I launch my APP , I get 
> an error 1 = PositionError.PERMISSION_DENIED as expected . Then I turn my 
> geoloc ON (still with my APP running) , I try to check again , and still get 
> error 1 ... which is now wrong .  
> Contrary is OK : Geoloc is ON , and try to turn it OFF after my APP has been 
> previously launched , then I receive an error 3 = PositionError.TIMEOUT which 
> is correct . 
> Can you please answer for my first example ? and tell me how to solve this ? 
> best regards



--
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] [Created] (CB-10371) phonegap build keeps firing PositionError when app is launched with GPS state OFF and then turning ON still in the APP

2016-01-16 Thread Sandro Di Bernardi (JIRA)
Sandro Di Bernardi created CB-10371:
---

 Summary: phonegap build keeps firing PositionError when app is 
launched with GPS state OFF and then turning ON still in the APP
 Key: CB-10371
 URL: https://issues.apache.org/jira/browse/CB-10371
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.5.0
Reporter: Sandro Di Bernardi
Priority: Minor


I would like to find a way to detect mobile geolocation state change when an 
app is already launched ? example : geoloc if OFF , I launch my APP , I get an 
error 1 = PositionError.PERMISSION_DENIED as expected . Then I turn my geoloc 
ON (still with my APP running) , I try to check again , and still get error 1 
... which is now wrong .  
Contrary is OK : Geoloc is ON , and try to turn it OFF after my APP has been 
previously launched , then I receive an error 3 = PositionError.TIMEOUT which 
is correct . 
Can you please answer for my first example ? and tell me how to solve this ? 
best regards



--
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-10102) statusbar removeObserver is wrong

2016-01-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10102:
-

GitHub user jcesarmobile opened a pull request:

https://github.com/apache/cordova-plugin-statusbar/pull/45

Fix for CB-10102

The removeObserver code was wrong and it might crash on plugin
deallocation

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jcesarmobile/cordova-plugin-statusbar CB-10102

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-statusbar/pull/45.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #45


commit 082c385dbcd83a0a2bfda5e23a788eff77f7e66f
Author: Julio César 
Date:   2016-01-16T19:23:36Z

Fix for CB-10102

The removeObserver code was wrong and it might crash on plugin
deallocation




> statusbar removeObserver is wrong
> -
>
> Key: CB-10102
> URL: https://issues.apache.org/jira/browse/CB-10102
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Statusbar
> Environment: iOS
>Reporter: jcesarmobile
>Assignee: jcesarmobile
>Priority: Minor
>
> The current code is wrong
> {code}[[NSNotificationCenter defaultCenter] removeObserver:self 
> forKeyPath:UIApplicationDidChangeStatusBarFrameNotification];
> {code}
> It should be
> {code}
> [[NSNotificationCenter defaultCenter]removeObserver:self 
> name:UIApplicationDidChangeStatusBarOrientationNotification object:nil];
> {code}
> It might crash on plugin dealocation



--
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] [Assigned] (CB-10269) [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8

2016-01-16 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah reassigned CB-10269:
-

Assignee: Shazron Abdullah

> [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8
> 
>
> Key: CB-10269
> URL: https://issues.apache.org/jira/browse/CB-10269
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Affects Versions: 4.0.0
> Environment: Cordova tools 5.4.1
> Cordova iOS platform 4.0.1
> iOS Simulator 8.4
> cordova-plugin-wkwebview-engine plugin
>Reporter: Ivan Karpan
>Assignee: Shazron Abdullah
>Priority: Critical
>  Labels: cordova-ios-4.1.0, triaged
> Attachments: ios-wkwebview-exec.js
>
>
> When launching on iOS 8.4 simulator the following error breaks JS execution 
> early on:
> ios-wkwebview-exec.js:127 TypeError: undefined is not an object (evaluating 
> 'window.webkit.messageHandlers')
> So inclusion of 'cordova-plugin-wkwebview-engine' plugin breaks support of 
> iOS versions previous to 9.0. I assume ios-wkwebview-exec.js should have 
> environment checks before using WKWebView bridge...
> Exclusion of the same plugin breaks the project at all. Are there any 
> fallback mechanics in place?



--
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] [Updated] (CB-10370) Camera: Allow programmatically specify use of geolocation on iOS

2016-01-16 Thread vldmrrrr (JIRA)

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

vldm updated CB-10370:
--
   Priority: Major  (was: Minor)
Description: 
Currently the use of geolocation for taking pictures is specified only through 
preferences. The user might want to change  geolocation preference while using 
application. Additional option in call getPicture can be used to specify the 
use of geolocation for each picture taken.

Update: While adding the option I found that saving geolocation was broken - 
result was returned to javascript before location manager code had a chance to 
update image data. The fix for that is included in patch. The issue type is 
changed to Bug, and priority changed to major.

  was:Currently the use of geolocation for taking pictures is specified only 
through preferences. The user might want to change  geolocation preference 
while using application. Additional option in call getPicture can be used to 
specify the use of geolocation for each picture taken.

 Issue Type: Bug  (was: Improvement)

> Camera: Allow programmatically specify use of geolocation on iOS
> 
>
> Key: CB-10370
> URL: https://issues.apache.org/jira/browse/CB-10370
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Camera
>Reporter: vldm
>
> Currently the use of geolocation for taking pictures is specified only 
> through preferences. The user might want to change  geolocation preference 
> while using application. Additional option in call getPicture can be used to 
> specify the use of geolocation for each picture taken.
> Update: While adding the option I found that saving geolocation was broken - 
> result was returned to javascript before location manager code had a chance 
> to update image data. The fix for that is included in patch. The issue type 
> is changed to Bug, and priority changed to major.



--
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-10370) Camera: Allow programmatically specify use of geolocation on iOS

2016-01-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10370:
-

GitHub user vldmrrr opened a pull request:

https://github.com/apache/cordova-plugin-camera/pull/153

CB-10370: Added option useGeolocation. Also fixed saving geolocation.

While adding the option I found that saving geolocation was broken - result 
was returned to javascript before location manager code had a chance to update 
image data. The fix for that is included. I am not sure if a separate CB needed 
for that.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/vldmrrr/cordova-plugin-camera CB-10370

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-camera/pull/153.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #153


commit 6029cbc3ec92fd3f4b3b6b8b49a8595916595783
Author: Vladimir Avdonin 
Date:   2016-01-16T16:56:35Z

Fixed saving geolocation on iOS. Added option useGeolocation to specify 
saving geotags programmatically.




> Camera: Allow programmatically specify use of geolocation on iOS
> 
>
> Key: CB-10370
> URL: https://issues.apache.org/jira/browse/CB-10370
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugin Camera
>Reporter: vldm
>Priority: Minor
>
> Currently the use of geolocation for taking pictures is specified only 
> through preferences. The user might want to change  geolocation preference 
> while using application. Additional option in call getPicture can be used to 
> specify the use of geolocation for each picture taken.



--
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-10310) iOS Build fails after upgrade to cordova-ios@4.0.1

2016-01-16 Thread Dave Alden (JIRA)

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

Dave Alden commented on CB-10310:
-

cordova.plugins.diagnostic@2.3.7 published to npm which resolves build issues 
with cordova-ios@4.x

sorry for the delay - the dev has been actively busy with other things - i.e. 
on holiday ;-)

> iOS Build fails after upgrade to cordova-ios@4.0.1
> --
>
> Key: CB-10310
> URL: https://issues.apache.org/jira/browse/CB-10310
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
> Environment: Cordova CLI: 5.4.1
> Ionic Version: 1.2.1-nightly-1867
> Ionic CLI Version: 1.7.12
> Ionic App Lib Version: 0.6.5
> ios-deploy version: 1.8.4
> ios-sim version: 5.0.6
> OS: Mac OS X El Capitan
> Node Version: v5.4.0
> Xcode version: Xcode 7.2 Build version 7C68
> npm -v : 3.5.3
> bower -v : 1.7.2
> cordova platform :
> Installed platforms: android 5.0.0, ios 4.0.1
> Android tools and Platform-tools :
> Pkg.Revision=24.4.1
> Pkg.Revision=23.1
> brew config :
> HOMEBREW_VERSION: 0.9.5
> CPU: quad-core 64-bit ivybridge
> OS X: 10.11.2-x86_64
> Xcode: 7.2
> CLT: 7.2.0.0.1.1447826929
> Clang: 7.0 build 700
> X11: N/A
> System Ruby: 2.0.0-p645
> Perl: /usr/bin/perl
> Python: /usr/local/bin/python => 
> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/bin/python2.7
> Ruby: /Users/jagdish/.rbenv/shims/ruby => 
> /Users/jagdish/.rbenv/versions/2.3.0/bin/ruby
> Java: 1.8.0_66
> psql --version: psql (PostgreSQL) 9.4.5
>Reporter: Jagdish Adusumalli
>  Labels: build-failure, build-problem, cordova-ios-4.0.1, ios
> Attachments: build error cordova-plugin-diagnostic.png, build error 
> with cordova-plugin-camera.png, build error with cordova-plugin-sms.png
>
>
> I'm working on an ionic app and just upgrade the ios platform to 4.0.1.
> i am unable to build the ios app now using the command
> "ionic build ios" or "cordova build ios"
> i observed the error is arising from the various plugins which are failing 
> now.
> i removed the plugins one after another to see how many plugins are 
> incompatible 
> and not working and found the below 5 plugins are raising the same error
> cordova-plugin-camera 1.2.0 "Camera"
> cordova.plugins.diagnostic 2.3.5 "Diagnostic"
> com.cordova.plugins.sms 0.1.6 "Cordova SMS Plugin"
> com.dbaq.cordova.contactsPhoneNumbers 0.0.5 "Contacts Phone Numbers"
> cordova-plugin-sms 1.0.5 "SMS"
> Error sample raised for sms plugin looks as below
> ** BUILD FAILED **
> The following build commands failed:
>   CompileC 
> build/qiddlestage.build/Debug-iphonesimulator/qiddlestage.build/Objects-normal/i386/Sms.o
>  qiddlestage/Plugins/com.cordova.plugins.sms/Sms.m normal i386 objective-c 
> com.apple.compilers.llvm.clang.1_0.compiler
> (1 failure)
> ERROR building one of the platforms: Error code 65 for command: xcodebuild 
> with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> You may not have the required environment or OS to build this project
> Error: Error code 65 for command: xcodebuild with args: 
> -xcconfig,/Users/jagdish/work/ywt-moms/platforms/ios/cordova/build-debug.xcconfig,-project,qiddlestage.xcodeproj,ARCHS=i386,-target,qiddlestage,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/jagdish/work/ywt-moms/platforms/ios/build/sharedpch
> also attaching error screenshots with various plugins.



--
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] [Created] (CB-10370) Camera: Allow programmatically specify use of geolocation on iOS

2016-01-16 Thread vldmrrrr (JIRA)
vldm created CB-10370:
-

 Summary: Camera: Allow programmatically specify use of geolocation 
on iOS
 Key: CB-10370
 URL: https://issues.apache.org/jira/browse/CB-10370
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Camera
Reporter: vldm
Priority: Minor


Currently the use of geolocation for taking pictures is specified only through 
preferences. The user might want to change  geolocation preference while using 
application. Additional option in call getPicture can be used to specify the 
use of geolocation for each picture taken.



--
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] [Issue Comment Deleted] (CB-10269) [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8

2016-01-16 Thread Jochen Magnus (JIRA)

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

Jochen Magnus updated CB-10269:
---
Comment: was deleted

(was: This solution works, thank you. 

But if the application calls "window.location.reload()" the same error occurs 
when restarting. (In my case I tested with "alert(device.platform)" which is 
o.k. after starting but null when restarting))

> [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8
> 
>
> Key: CB-10269
> URL: https://issues.apache.org/jira/browse/CB-10269
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Affects Versions: 4.0.0
> Environment: Cordova tools 5.4.1
> Cordova iOS platform 4.0.1
> iOS Simulator 8.4
> cordova-plugin-wkwebview-engine plugin
>Reporter: Ivan Karpan
>Priority: Critical
>  Labels: cordova-ios-4.1.0, triaged
> Attachments: ios-wkwebview-exec.js
>
>
> When launching on iOS 8.4 simulator the following error breaks JS execution 
> early on:
> ios-wkwebview-exec.js:127 TypeError: undefined is not an object (evaluating 
> 'window.webkit.messageHandlers')
> So inclusion of 'cordova-plugin-wkwebview-engine' plugin breaks support of 
> iOS versions previous to 9.0. I assume ios-wkwebview-exec.js should have 
> environment checks before using WKWebView bridge...
> Exclusion of the same plugin breaks the project at all. Are there any 
> fallback mechanics in place?



--
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-10269) [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8

2016-01-16 Thread Jochen Magnus (JIRA)

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

Jochen Magnus commented on CB-10269:


This solution works, thank you. 

But if the application calls "window.location.reload()" the same error occurs 
when restarting. (In my case I tested with "alert(device.platform)" which is 
o.k. after starting but null when restarting)

> [iOS 8] cordova-plugin-wkwebview-engine breaks Cordova iOS 4.0.0 under iOS 8
> 
>
> Key: CB-10269
> URL: https://issues.apache.org/jira/browse/CB-10269
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin WKWebViewEngine
>Affects Versions: 4.0.0
> Environment: Cordova tools 5.4.1
> Cordova iOS platform 4.0.1
> iOS Simulator 8.4
> cordova-plugin-wkwebview-engine plugin
>Reporter: Ivan Karpan
>Priority: Critical
>  Labels: cordova-ios-4.1.0, triaged
> Attachments: ios-wkwebview-exec.js
>
>
> When launching on iOS 8.4 simulator the following error breaks JS execution 
> early on:
> ios-wkwebview-exec.js:127 TypeError: undefined is not an object (evaluating 
> 'window.webkit.messageHandlers')
> So inclusion of 'cordova-plugin-wkwebview-engine' plugin breaks support of 
> iOS versions previous to 9.0. I assume ios-wkwebview-exec.js should have 
> environment checks before using WKWebView bridge...
> Exclusion of the same plugin breaks the project at all. Are there any 
> fallback mechanics in place?



--
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] [Updated] (CB-10369) Add getVideo() feature with thumbnail creation

2016-01-16 Thread Tanase Butcaru (JIRA)

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

Tanase Butcaru updated CB-10369:

Description: 
I've implemented the +getVideo()+ function for cordova-plugin-camera which 
gives the user the ability to record a video with default camera app.
Optionally, this feature can create a thumbnail for the recorded video.

Full description and PR can be found in the external issue URL.

  was:
I've implemented the `getVideo` function for cordova-plugin-camera which gives 
the user the ability to record a video with default camera app.
Optionally, this feature can create a thumbnail for the recorded video.

Full description and PR can be found in the external issue URL.


> Add getVideo() feature with thumbnail creation
> --
>
> Key: CB-10369
> URL: https://issues.apache.org/jira/browse/CB-10369
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: Android
>Reporter: Tanase Butcaru
>  Labels: features
>
> I've implemented the +getVideo()+ function for cordova-plugin-camera which 
> gives the user the ability to record a video with default camera app.
> Optionally, this feature can create a thumbnail for the recorded video.
> Full description and PR can be found in the external issue URL.



--
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] [Created] (CB-10369) Add getVideo() feature with thumbnail creation

2016-01-16 Thread Tanase Butcaru (JIRA)
Tanase Butcaru created CB-10369:
---

 Summary: Add getVideo() feature with thumbnail creation
 Key: CB-10369
 URL: https://issues.apache.org/jira/browse/CB-10369
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android
Reporter: Tanase Butcaru


I've implemented the `getVideo` function for cordova-plugin-camera which gives 
the user the ability to record a video with default camera app.
Optionally, this feature can create a thumbnail for the recorded video.

Full description and PR can be found in the external issue URL.



--
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-10305) Gray bar appears in the wrong place

2016-01-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10305:
-

GitHub user jcesarmobile opened a pull request:

https://github.com/apache/cordova-plugin-inappbrowser/pull/137

Fix for CB-10305

There are really 3 issues here.
1. When the inAppBrowser is started in portrait and rotates, the
background of the status bar doesn’t fill the whole area. (any iOS
version)
2. On iOS 7, if the inAppBrowser plugin is started on landscape, the
background of the status bar was vertical.
3. On iOS 8-9, on iPhone/iPod, the status bar disappears on landscape,
but the background doesn’t disappear. I’ve changed it to make the
status bar appear  on landscape too. (This wasn’t on CB-10305, but I
think it’s related)

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/jcesarmobile/cordova-plugin-inappbrowser 
CB-10368

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-inappbrowser/pull/137.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #137


commit 500de94ae968f77c4545f8e6222eac543caf5ef4
Author: Julio César 
Date:   2016-01-16T10:45:17Z

Fix for CB-10305

There are really 3 issues here.
1. When the inAppBrowser is started in portrait and rotates, the
background of the status bar doesn’t fill the whole area. (any iOS
version)
2. On iOS 7, if the inAppBrowser plugin is started on landscape, the
background of the status bar was vertical.
3. On iOS 8-9, on iPhone/iPod, the status bar disappears on landscape,
but the background doesn’t disappear. I’ve changed it to make the
status bar appear  on landscape too. (This wasn’t on CB-10305, but I
think it’s related)




> Gray bar appears in the wrong place
> ---
>
> Key: CB-10305
> URL: https://issues.apache.org/jira/browse/CB-10305
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Affects Versions: 3.9.0
>Reporter: Jacob Weber
>Assignee: jcesarmobile
>  Labels: iOS
> Attachments: CordovaTest.zip, screen-1.png, screen-2.png, screen-3.png
>
>
> I'm seeing several issues on iOS with the gray semi-transparent overlay that 
> appears behind the status bar, when the InAppBrowser window is open.
> On Mac OS 10.11.2, create a project as follows (or use the attached 
> CordovaTest project):
> {code}
> cordova --version   # prints 5.3.3
> cordova create CordovaTest com.jacobweber.cordovatest CordovaTest
> cd CordovaTest
> cordova platform add ios
> cordova plugin add cordova-plugin-inappbrowser
> platforms/ios/cordova/version   # prints 3.9.2
> {code}
> Edit {{platforms/ios/www/js/index.js}}, and add the following code at the end 
> of {{onDeviceReady}}:
> {code}
> setTimeout(function(){
>   window.open("https://www.google.com";, "_blank");
> }, 1000);
> {code}
> In Xcode, go to General > Deployment Info > iPad > Device Orientation, and 
> check all boxes.
> h4. Issue 1:
> * Open the Xcode project on Mac OS 10.11.2 using Xcode 7.2.
> * Launch on iPad Air simulator with iOS 9.2.
> * Launch in portrait, and wait for the window to open. Rotate to landscape. 
> The gray status bar doesn't extend all the way to the right. See screen-1.png.
> h4. Issue 2:
> * Open the Xcode project on Mac OS 10.10 using Xcode 6.2 (since El Capitan 
> can't launch an iOS 7 simulator).
> * Launch on iPad Air simulator with iOS 7.1.
> * Launch in landscape, and wait for the window to open. The gray status bar 
> appears on the left side. Rotate to portrait. The gray status bar is still on 
> the left. See screen-2.png.
> h4. Issue 3:
> * Keep the iOS 7.1 simulator open. Launch a second time in landscape, and 
> wait for the window to open. Some of the time, the gray status bar appears 
> vertically in the middle of the screen. See screen-3.png.



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