[jira] [Updated] (CB-13607) `cordova-android` version pinned to 6.3.0

2017-11-25 Thread Tom Sullivan (JIRA)

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

Tom Sullivan updated CB-13607:
--
Affects Version/s: cordova@7.1.0

> `cordova-android` version pinned to 6.3.0
> -
>
> Key: CB-13607
> URL: https://issues.apache.org/jira/browse/CB-13607
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-lib
>Affects Versions: cordova@7.1.0
> Environment: macOS: 10.12.6 
> cordova-lib: 7.1.0
>Reporter: Tom Sullivan
>Priority: Minor
>
> When there are no version specified for the `android` platform in 
> `config.xml`, `cordova platform add` takes the pinned version into account, 
> which is currently 6.3.0 but 6.4.0 of `cordova-android` is available via npm.
> ```
> $ cordova create cordova-platform-test
> Creating a new cordova project.
> $ cd cordova-platform-test/
> $ grep cordova-android config.xml package.json 
> $ cordova platform add android --verbose
> No scripts found for hook "before_platform_add".
> No version supplied. Retrieving version from config.xml...
> Grabbing pinned version.
> Using cordova-fetch for cordova-android@~6.3.0
> saving
> Running command: npm install cordova-android@~6.3.0 --production --save
> Command finished with error code 0: npm 
> install,cordova-android@~6.3.0,--production,--save
> ...
> Prepared android project successfully
> No scripts found for hook "after_prepare".
> Saving android@6.3.0 into platforms.json
> --save flag or autosave detected
> Saving android@~6.3.0 into config.xml file ...
> adding android to cordova.platforms array in package.json
> No scripts found for hook "after_platform_add".
> ```



--
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] [Created] (CB-13607) `cordova-android` version pinned to 6.3.0

2017-11-25 Thread Tom Sullivan (JIRA)
Tom Sullivan created CB-13607:
-

 Summary: `cordova-android` version pinned to 6.3.0
 Key: CB-13607
 URL: https://issues.apache.org/jira/browse/CB-13607
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-lib
 Environment: macOS: 10.12.6 
cordova-lib: 7.1.0
Reporter: Tom Sullivan
Priority: Minor


When there are no version specified for the `android` platform in `config.xml`, 
`cordova platform add` takes the pinned version into account, which is 
currently 6.3.0 but 6.4.0 of `cordova-android` is available via npm.

```
$ cordova create cordova-platform-test
Creating a new cordova project.
$ cd cordova-platform-test/
$ grep cordova-android config.xml package.json 
$ cordova platform add android --verbose
No scripts found for hook "before_platform_add".
No version supplied. Retrieving version from config.xml...
Grabbing pinned version.
Using cordova-fetch for cordova-android@~6.3.0
saving
Running command: npm install cordova-android@~6.3.0 --production --save
Command finished with error code 0: npm 
install,cordova-android@~6.3.0,--production,--save

...

Prepared android project successfully
No scripts found for hook "after_prepare".
Saving android@6.3.0 into platforms.json
--save flag or autosave detected
Saving android@~6.3.0 into config.xml file ...
adding android to cordova.platforms array in package.json
No scripts found for hook "after_platform_add".
```



--
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-13396) Splash screen images are resized incorrectly on iPhone X

2017-11-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13396:
-

myrsk commented on issue #135: CB-13396: (ios) Fix image sizing on iPhone X
URL: 
https://github.com/apache/cordova-plugin-splashscreen/pull/135#issuecomment-346981260
 
 
   @Drewster727 
   
   Open up the file in /platforms/ios/[Your App 
Name]/CDVLaunchScreen.storyboard (in any editor).
   
   Go down to the constraints section.
   
   Replace the following line
   
   ``
   
   with
   
   ``
   
   Save and rebuild the app.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Splash screen images are resized incorrectly on iPhone X
> 
>
> Key: CB-13396
> URL: https://issues.apache.org/jira/browse/CB-13396
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-splashscreen
> Environment: iOS 11 / iPhone X
>Reporter: Ken Mickles
>  Labels: splashscreen
>
> CDVSplashScreen-updateBounds doesn't take iOS11's new safeAreaInsets into 
> account, causing the image size to change when CDVLaunchScreen.storyboard 
> transitions to the CDVSplashScreen image.



--
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-13396) Splash screen images are resized incorrectly on iPhone X

2017-11-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13396:
-

Drewster727 commented on issue #135: CB-13396: (ios) Fix image sizing on iPhone 
X
URL: 
https://github.com/apache/cordova-plugin-splashscreen/pull/135#issuecomment-346976779
 
 
   @myrak what exactly did you modify? I'd like to do the same so I can publish 
my app. Did you just do the same thing that Lazza's script did?
   
   I can confirm the hook did not fix my issue either. @Lazza 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Splash screen images are resized incorrectly on iPhone X
> 
>
> Key: CB-13396
> URL: https://issues.apache.org/jira/browse/CB-13396
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-splashscreen
> Environment: iOS 11 / iPhone X
>Reporter: Ken Mickles
>  Labels: splashscreen
>
> CDVSplashScreen-updateBounds doesn't take iOS11's new safeAreaInsets into 
> account, causing the image size to change when CDVLaunchScreen.storyboard 
> transitions to the CDVSplashScreen image.



--
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-13396) Splash screen images are resized incorrectly on iPhone X

2017-11-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13396:
-

Drewster727 commented on issue #135: CB-13396: (ios) Fix image sizing on iPhone 
X
URL: 
https://github.com/apache/cordova-plugin-splashscreen/pull/135#issuecomment-346976779
 
 
   @myrak what exactly did you modify? I'd like to do the same so I can publish 
my app. Did you just do the same thing that Lazza's script did?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Splash screen images are resized incorrectly on iPhone X
> 
>
> Key: CB-13396
> URL: https://issues.apache.org/jira/browse/CB-13396
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-splashscreen
> Environment: iOS 11 / iPhone X
>Reporter: Ken Mickles
>  Labels: splashscreen
>
> CDVSplashScreen-updateBounds doesn't take iOS11's new safeAreaInsets into 
> account, causing the image size to change when CDVLaunchScreen.storyboard 
> transitions to the CDVSplashScreen image.



--
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-13451) "pkg not defined" exception when running plugman with createpackagejson command-line

2017-11-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13451:
-

jh3141 commented on issue #597: CB-13451 (all platforms) "pkg not defined" 
exception when running plugman with createpackagejson command-line
URL: https://github.com/apache/cordova-lib/pull/597#issuecomment-346975594
 
 
   It seems quite a few people are experiencing the problem that this PR solved 
(cf 
https://stackoverflow.com/questions/47102566/pkg-is-not-defined-when-using-plugman)
 - I don't know what the process is, but is there any way of expediting a 
release with this change included?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> "pkg not defined" exception when running plugman with createpackagejson 
> command-line
> 
>
> Key: CB-13451
> URL: https://issues.apache.org/jira/browse/CB-13451
> Project: Apache Cordova
>  Issue Type: Bug
>Reporter: Roland
>Priority: Minor
>
> NOTE: I am about to submit a pull request with a fix for this issue. 
> Description follows:
> A global js-lint pass on the cordova-lib codebase on the 30/8/2017 caused 
> references to the global 'package' variable in init-default.js to be renamed 
> to 'pkg', presumably because the cordova-lib source doesn't declare a global 
> variable called 'package' but _does_ declare a global variable called 'pkg' 
> (in cordova/info.js). However in this case, the 'package' variable refers to 
> the one declared in the plugman source, specifically main.js, so it should 
> have stayed as 'package'. To test the fix, run:
>   plugman createpackagejson .
> Without the fix, this will trigger the following exception: 'pkg is not 
> defined'. Having patched in the fix, running the command line should work as 
> expected, prompting the user with questions and then spitting out a 
> package.json file.



--
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] [Created] (CB-13606) JDK 9 - Unable to Compile and Run Android apps

2017-11-25 Thread Neelabh Pandey (JIRA)
Neelabh Pandey created CB-13606:
---

 Summary: JDK 9 - Unable to Compile and Run Android apps
 Key: CB-13606
 URL: https://issues.apache.org/jira/browse/CB-13606
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-android
Affects Versions: cordova@7.0.0
Reporter: Neelabh Pandey
Assignee: Joe Bowser
Priority: Blocker


!https://imgur.com/a/kVqe3!



--
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-13561) ios 10.1, 10.2 and nw_host_stats_add_src received error

2017-11-25 Thread thibaut (JIRA)

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

thibaut commented on CB-13561:
--

Hi Surak, did you have time ?

Regards

> ios 10.1, 10.2 and nw_host_stats_add_src received error
> ---
>
> Key: CB-13561
> URL: https://issues.apache.org/jira/browse/CB-13561
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
>Reporter: thibaut
>Assignee: Suraj Pindoria
>
> Hi guys,
> I just saw this issue yesterday. On an iphone running iOs 10.2.X, if one of 
> this plugin is installed :
> - cordova-plugin-facebook4
> - cordova-plugin-fabric
> (maybe more)
> We will have this error when running the app, and the phone is working after 
> like crazy :
> {code:java}
> MyApp[1266:20053] [] __nwlog_err_simulate_crash_libsystem libsystem simulate 
> crash unavailable "libsystem_network.dylib: nw_host_stats_add_src :: received 
> error for SRC_ADDED: [22] Invalid argument"
> 2017-11-10 09:33:51.766229 MyApp[1266:20053] [] nw_host_stats_add_src 
> received error for SRC_ADDED: [22] Invalid argument, dumping backtrace:
> [x86_64] libnetcore-856.30.16
> 0   libsystem_network.dylib 0x0001082f 
> __nw_create_backtrace_string + 123
> 1   libsystem_network.dylib 0x00010830d2f6 
> nw_get_host_stats + 1083
> 2   libnetwork.dylib0x000107d20e9f 
> nw_endpoint_resolver_start_next_child + 1382
> 3   libdispatch.dylib   0x000108073978 
> _dispatch_call_block_and_release + 12
> 4   libdispatch.dylib   0x00010809d0cd 
> _dispatch_client_callout + 8
> 5   libdispatch.dylib   0x00010807ae17 
> _dispatch_queue_serial_drain + 236
> 6   libdispatch.dylib   0x00010807bb4b 
> _dispatch_queue_invoke + 1073
> 7   libdispatch.dylib   0x00010807e385 
> _dispatch_root_queue_drain + 720
> 8   libdispatch.dylib   0x00010807e059 
> _dispatch_worker_thread3 + 123
> 9   libsystem_pthread.dylib 0x0001084501ca 
> _pthread_wqthread + 1387
> 10  libsystem_pthread.dylib 0x00010844fc4d start_wqthread 
> + 13
> {code}
> It is only happening on iOS 10.1.X - 10.2.X, with ios 4.5.3 or 4.5.1 (maybe 
> before, I didn't try).
> I am sure my app was working before on ios 10.2, so the issue maybe happened 
> with the new Xcode 9.1 or something,
> Hope this can be fixed,
> Regards



--
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-13405) iOS screen orientation plugin fails to reset on unlock

2017-11-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13405:
-

janpio commented on issue #24: CB-13405: (ios) Go to last used orientation 
before locking when unlocking screen on iOS
URL: 
https://github.com/apache/cordova-plugin-screen-orientation/pull/24#issuecomment-346951576
 
 
   Nah, JIRA is strange with the URLs somehow. The URL you posted works.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> iOS screen orientation plugin fails to reset on unlock
> --
>
> Key: CB-13405
> URL: https://issues.apache.org/jira/browse/CB-13405
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-screen-orientation
> Environment: all iOS
>Reporter: Dan Field
>Assignee: Vishal Mishra
>Priority: Minor
>  Labels: Triaged, iOS, in-progress
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> When locking and then unlocking the screen orientation on iOS, the device 
> fails to rotate until user manually rotates back and forth. 



--
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-13405) iOS screen orientation plugin fails to reset on unlock

2017-11-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13405:
-

janpio commented on issue #24: CB-13405: (ios) Go to last used orientation 
before locking when unlocking screen on iOS
URL: 
https://github.com/apache/cordova-plugin-screen-orientation/pull/24#issuecomment-346858698
 
 
   Hi @dnfield - this looks like a nice feature or bug fix (depending on how 
you look at it).
   
   I can't find/open https://issues.apache.org/jira/projects/CB/issues/CB-13405 
though - is the issue ID correct?
   
   In general, code and feature additions should be announced on the [dev 
mailing list](http://cordova.apache.org/contact/) with request for comments and 
more important code reviews and merge.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> iOS screen orientation plugin fails to reset on unlock
> --
>
> Key: CB-13405
> URL: https://issues.apache.org/jira/browse/CB-13405
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-screen-orientation
> Environment: all iOS
>Reporter: Dan Field
>Assignee: Vishal Mishra
>Priority: Minor
>  Labels: Triaged, iOS, in-progress
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> When locking and then unlocking the screen orientation on iOS, the device 
> fails to rotate until user manually rotates back and forth. 



--
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] [Created] (CB-13605) devicemotion event not fired correclty

2017-11-25 Thread Mario Semelka (JIRA)
Mario Semelka created CB-13605:
--

 Summary: devicemotion event not fired correclty
 Key: CB-13605
 URL: https://issues.apache.org/jira/browse/CB-13605
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-android
Affects Versions: 7.0.0
 Environment: Issue appears on some Android devices:
  - Moto Z (Android 7.1.1)
  - Galaxy S6 (Android 7.0)
Reporter: Mario Semelka
Assignee: Joe Bowser


The 'devicemotion' event ist not fired correctly on some Android devices in an 
Android build. In that cases, the event is fired only once after the listener 
is registered. This is especially critical for VR development as most VR 
cameras use this event for controls.



--
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-13396) Splash screen images are resized incorrectly on iPhone X

2017-11-25 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13396:
-

myrsk commented on issue #135: CB-13396: (ios) Fix image sizing on iPhone X
URL: 
https://github.com/apache/cordova-plugin-splashscreen/pull/135#issuecomment-346938514
 
 
   Even after adding a hook, i was still facing issues. However, I edited the 
file manually and removed the hook. Worked fine on everything. No more jumps  


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Splash screen images are resized incorrectly on iPhone X
> 
>
> Key: CB-13396
> URL: https://issues.apache.org/jira/browse/CB-13396
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-splashscreen
> Environment: iOS 11 / iPhone X
>Reporter: Ken Mickles
>  Labels: splashscreen
>
> CDVSplashScreen-updateBounds doesn't take iOS11's new safeAreaInsets into 
> account, causing the image size to change when CDVLaunchScreen.storyboard 
> transitions to the CDVSplashScreen image.



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