[jira] [Commented] (CB-13972) Requirements check failed for JDK 1.8 or greater

2018-03-16 Thread John M. Wargo (JIRA)

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

John M. Wargo commented on CB-13972:


Alright Joe, you're right - downgrading my Java fixed the problem. My ticket 
though was about how the Java detection failed but the CLI still thought it 
deployed the app. The detection methods don't fail correctly, or the CLI can't 
tell that it failed and it still thinks the app deployed. Look for "Your app 
has been deployed." in the output.

Thanks for your help.

> Requirements check failed for JDK 1.8 or greater
> 
>
> Key: CB-13972
> URL: https://issues.apache.org/jira/browse/CB-13972
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: cordova-android-7.0.0
> Environment: Windows 10 64 (10.0.16229.248)
>Reporter: John M. Wargo
>Priority: Blocker
>
> I've got a problem with my Java config, but the CLI reports the error then 
> reports that it's deployed the app (when it hasn't).
> {{JAVA_HOME=D:\Program Files\Java\jdk-9.0.1}}
> {{(node:10316) UnhandledPromiseRejectionWarning: CordovaError: Requirements 
> check failed for JDK 1.8 or greater}}
> {{ at 
> D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\lib\check_reqs.js:370:19}}
> {{ at _fulfilled 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:854:54)}}
> {{ at self.promiseDispatch.done 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:883:30)}}
> {{ at Promise.promise.promiseDispatch 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:816:13)}}
> {{ at 
> D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:624:44}}
> {{ at runSingle 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:137:13)}}
> {{ at flush 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:125:13)}}
> {{ at _combinedTickCallback (internal/process/next_tick.js:131:7)}}
> {{ at process._tickCallback (internal/process/next_tick.js:180:9)}}
> {{(node:10316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 
> This error originated either by throwing inside of an async function without 
> a catch block, or by rejecting a promise which was not handled with .catch(). 
> (rejection id: 1)}}
> {{(node:10316) [DEP0018] DeprecationWarning: Unhandled promise rejections are 
> deprecated. In the future, promise rejections that are not handled will 
> terminate the Node.js process with a non-zero exit code.}}
> {{[18:26:17] lint finished in 2.66 s}}{{[OK] Your app has been deployed.}}
> {{ Did you know you can live-reload changes from your app with --livereload?}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13972) Requirements check failed for JDK 1.8 or greater

2018-03-16 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-13972:
-

OK, I set my JAVA_HOME and I still can't reproduce this issue.  Are you sure 
that Java 9 doesn't do something weird? I can rip out Java 8 and put in Java 9 
and see if I can reproduce it, but if it breaks only on Java 9, I'm going to 
say that's a feature and not a bug.

> Requirements check failed for JDK 1.8 or greater
> 
>
> Key: CB-13972
> URL: https://issues.apache.org/jira/browse/CB-13972
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli
>Affects Versions: cordova-android-7.0.0
> Environment: Windows 10 64 (10.0.16229.248)
>Reporter: John M. Wargo
>Priority: Blocker
>
> I've got a problem with my Java config, but the CLI reports the error then 
> reports that it's deployed the app (when it hasn't).
> {{JAVA_HOME=D:\Program Files\Java\jdk-9.0.1}}
> {{(node:10316) UnhandledPromiseRejectionWarning: CordovaError: Requirements 
> check failed for JDK 1.8 or greater}}
> {{ at 
> D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\lib\check_reqs.js:370:19}}
> {{ at _fulfilled 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:854:54)}}
> {{ at self.promiseDispatch.done 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:883:30)}}
> {{ at Promise.promise.promiseDispatch 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:816:13)}}
> {{ at 
> D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:624:44}}
> {{ at runSingle 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:137:13)}}
> {{ at flush 
> (D:\dev\hardware\particle\particle-garage-controller-ionic\platforms\android\cordova\node_modules\q\q.js:125:13)}}
> {{ at _combinedTickCallback (internal/process/next_tick.js:131:7)}}
> {{ at process._tickCallback (internal/process/next_tick.js:180:9)}}
> {{(node:10316) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 
> This error originated either by throwing inside of an async function without 
> a catch block, or by rejecting a promise which was not handled with .catch(). 
> (rejection id: 1)}}
> {{(node:10316) [DEP0018] DeprecationWarning: Unhandled promise rejections are 
> deprecated. In the future, promise rejections that are not handled will 
> terminate the Node.js process with a non-zero exit code.}}
> {{[18:26:17] lint finished in 2.66 s}}{{[OK] Your app has been deployed.}}
> {{ Did you know you can live-reload changes from your app with --livereload?}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12922) [iOS] In-app browser does not cede control after actions on certain pages

2018-03-16 Thread Buddy (JIRA)

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

Buddy commented on CB-12922:


Seeing the same exact problem in our app. Any update on this issue?

> [iOS] In-app browser does not cede control after actions on certain pages
> -
>
> Key: CB-12922
> URL: https://issues.apache.org/jira/browse/CB-12922
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-inappbrowser
>Reporter: Ben Williams
>Priority: Critical
> Attachments: nest_iab.zip
>
>
> This issue only occurs on the iOS version of inappbrowser.
> When opening the Nest login (https://home.nest.com/login/) page in the 
> inappbrowser, clicking Sign In (with or without valid credentials) and 
> subsequently closing the browser, the main cordova page becomes unresponsive, 
> receiving no touch events whatsoever.
> I have created a barebones application which exhibits the issue, which I will 
> attach.
> Thank you.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13980) Cordova Android app location.reload() causing app to halt

2018-03-16 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-13980:
-

I'm not able to reproduce this with a bare-bones example.  I'm testing with 
HelloWorld + Device plugin, which should not re-load if the WebView is being 
halted.  I need more context for this issue, otherwise I'm going to close this 
as not a problem with Cordova.

> Cordova Android app location.reload() causing app to halt
> -
>
> Key: CB-13980
> URL: https://issues.apache.org/jira/browse/CB-13980
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0, 8.0.0
> Environment: framework7.io (v1)
> cordova 8 (also tested build with cordova 7)
> Tested on Nexus 6p, Google Pixel 2, Samsung Galaxy s8
> Not working.
>Reporter: rehan manzoor
>Assignee: Joe Bowser
>Priority: Major
>
> Cordova App was built using
> framework7.io (v1)
> cordova 8 (also tested build with cordova 7)
> it was working fine till the latest software update from android, but now it 
> get stuck whenever the location.reload() is called, i tried other ways to 
> reload the windows e.g.
> window.location.href,
> location.href,
> document.location.href
> location.replace()
> window.location.replace()
> window.location.assign()
> document.location.assign()
> document.location.replace()
> navigator.app.loadUrl()
>  
> but all causing the app to get stuck, what I concluded from debugging it's 
> not the problem in function, it's maybe webview which is causing the 
> application to get stuck at reload.
> any suggestion is appreciated.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Closed] (CB-13513) Fastlane unable to disable automatic signing

2018-03-16 Thread Joe Bowser (JIRA)

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

Joe Bowser closed CB-13513.
---
Resolution: Implemented

The fix for this issue has been merged, closing.

> Fastlane unable to disable automatic signing 
> -
>
> Key: CB-13513
> URL: https://issues.apache.org/jira/browse/CB-13513
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova-ios 4.5.0
>Reporter: Paul Robinson
>Assignee: Suraj Pindoria
>Priority: Blocker
>
> Running  `disable_automatic_code_signing` command in fastlane fails and throw 
> an error that the ios project is too old.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-13980) Cordova Android app location.reload() causing app to halt

2018-03-16 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-13980:

Priority: Major  (was: Blocker)

This could be literally anything.  I would need to see a logcat of what's going 
on to see what's wrong with this application.

> Cordova Android app location.reload() causing app to halt
> -
>
> Key: CB-13980
> URL: https://issues.apache.org/jira/browse/CB-13980
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Affects Versions: 7.0.0, 8.0.0
> Environment: framework7.io (v1)
> cordova 8 (also tested build with cordova 7)
> Tested on Nexus 6p, Google Pixel 2, Samsung Galaxy s8
> Not working.
>Reporter: rehan manzoor
>Assignee: Joe Bowser
>Priority: Major
>
> Cordova App was built using
> framework7.io (v1)
> cordova 8 (also tested build with cordova 7)
> it was working fine till the latest software update from android, but now it 
> get stuck whenever the location.reload() is called, i tried other ways to 
> reload the windows e.g.
> window.location.href,
> location.href,
> document.location.href
> location.replace()
> window.location.replace()
> window.location.assign()
> document.location.assign()
> document.location.replace()
> navigator.app.loadUrl()
>  
> but all causing the app to get stuck, what I concluded from debugging it's 
> not the problem in function, it's maybe webview which is causing the 
> application to get stuck at reload.
> any suggestion is appreciated.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-13978) Swift 3-4 support

2018-03-16 Thread Joe Bowser (JIRA)

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

Joe Bowser updated CB-13978:

Priority: Major  (was: Blocker)

> Swift 3-4 support
> -
>
> Key: CB-13978
> URL: https://issues.apache.org/jira/browse/CB-13978
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-cli, cordova-ios
>Affects Versions: cordova-android-7.0.0
>Reporter: Peter
>Assignee: Suraj Pindoria
>Priority: Major
>
> I tried to transform the cordova-plugin-fcm to Swift, and i realized lots of 
> bugs.
> 1, I cannot configure the use_targets! in the pod file, there is no flag for 
> it.
> 2, the target device preference does not pick up the version. (it goes to 
> default 8)
> 3, Automatically set some capabilities like Capabilities -> Background mode - 
> Remote notification in my workspace. I have no idea how to configure it 
> automatically.
> The cordova build is failing, however the xcode version seems to me working:
> ProcessProductPackaging "" 
> /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent
>  cd /Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/Pods
>  export 
> PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>  builtin-productPackagingUtility -entitlements -format xml -o 
> /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent
>  warning: Falling back to contents of entitlements file 
> "Entitlements-Debug.plist" because it was modified during the build process. 
> Modifying the entitlements file during the build is unsupported.error: The 
> file "Entitlements-Debug.plist" couldn't be opened because there is no such 
> file.
>  * 
>  ** BUILD FAILED **
> The following build commands failed:
>  ProcessProductPackaging "" 
> /Users/zetor/Library/Developer/Xcode/DerivedData/MyScoutee-eqekewxmsowscjfwgtlfqmttjzrv/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/GoogleToolboxForMac.build/GoogleToolboxForMac.framework.xcent
>  (1 failure)
>  (node:2660) UnhandledPromiseRejectionWarning: Error code 65 for command: 
> xcodebuild with args: 
> -xcconfig,/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/cordova/build-debug.xcconfig,-workspace,MyScoutee.xcworkspace,-scheme,MyScoutee,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
>  Simulator,name=iPhone 
> SE,build,CONFIGURATION_BUILD_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/zetor/Desktop/shared/myscoutee/frontend/platforms/ios/build/sharedpch
>  (node:2660) UnhandledPromiseRejectionWarning: Unhandled promise rejection. 
> This error originated either by throwing inside of an async function without 
> a catch block, or by rejecting a promise which was not handled with .catch(). 
> (rejection id: 1)
>  (node:2660) [DEP0018] DeprecationWarning: Unhandled promise rejections are 
> deprecated. In the future, promise rejections that are not handled will 
> terminate the Node.js process with a non-zero exit code.
> 4, With swift 3.2 i was able to access the methods of the plugin, but with 
> swift4, the methods were unavailable. (the class has been identified)
> There is a swift support plugin, but i would like to set the bridging header 
> once, instead of creating a new one. I have used a cocoapod-support plugin, 
> although it was not working. I think both of the them should be integrated 
> into the cordova.
> I have wasted more than 10 hours to hack around the plugin config to make it 
> work.
> 5, The cordova headers went to the emulator folder and it's not set in the 
> workspace.
> 6, GoogleToolboxForMac framework was not accessible from command line, but it 
> was working under Xcode UI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13491) NullPointerException in Splash Screen on Android

2018-03-16 Thread Pavel Chuchuva (JIRA)

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

Pavel Chuchuva commented on CB-13491:
-

Unfortunately I can't reproduce this bug - I only see it in crash reports from 
the field.

 

Does anyone have reproduction steps?

> NullPointerException in Splash Screen on Android
> 
>
> Key: CB-13491
> URL: https://issues.apache.org/jira/browse/CB-13491
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-splashscreen
> Environment: Being reported on multiple devices including: 
> Moto G4 Play
> Galaxy S6 
> LG K20 Plus
> Galaxy S8+
> Samsung Galaxy On5
> LG K8 V
> LG K20 plus
> HTC ONE
> LG Aristo
> LG V20
> Slate 8
> LG X power
> Motorola DROID Turbo
> LG Stylo 2
> LG K7
> Moto E
> Being reported on multiple versions including:
> Android 7.1
> Android 7.0
> Android 6.0
> Android 5.1
>Reporter: Carey Pfaff
>Priority: Critical
>  Labels: android, cordova-7.0.1, splashscreen
>
> Multiple crash logs are being reported with the error below. The app is using 
> cordova-plugin-splashscreen version 4.0.3.
> java.lang.NullPointerException:
> at org.apache.cordova.splashscreen.SplashScreen$4.run (SplashScreen.java:227)
> at android.app.Activity.runOnUiThread (Activity.java:5874)
> at org.apache.cordova.splashscreen.SplashScreen.removeSplashScreen 
> (SplashScreen.java:217)
> at org.apache.cordova.splashscreen.SplashScreen.onMessage 
> (SplashScreen.java:187)
> at org.apache.cordova.PluginManager.postMessage (PluginManager.java:312)
> at org.apache.cordova.CordovaWebViewImpl.postMessage 
> (CordovaWebViewImpl.java:377)
> at org.apache.cordova.splashscreen.SplashScreen$2.run (SplashScreen.java:163)
> at android.os.Handler.handleCallback (Handler.java:751)
> at android.os.Handler.dispatchMessage (Handler.java:95)
> at android.os.Looper.loop (Looper.java:154)
> at android.app.ActivityThread.main (ActivityThread.java: 6165)
> at java.lang.reflect.Method.invoke (Native Method)
> at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run 
> (ZygoteInit.java:888)
> at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:787)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13609) Android Splash Screen error: java.lang.NullPointerException:

2018-03-16 Thread Pavel Chuchuva (JIRA)

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

Pavel Chuchuva commented on CB-13609:
-

 I see this error in crash reports too.
{code:java}
java.lang.NullPointerException
at org.apache.cordova.splashscreen.SplashScreen$4.run(SplashScreen.java:227)
at android.app.Activity.runOnUiThread(Activity.java:5309)
at 
org.apache.cordova.splashscreen.SplashScreen.removeSplashScreen(SplashScreen.java:217)
at 
org.apache.cordova.splashscreen.SplashScreen.access$1000(SplashScreen.java:49)
at 
org.apache.cordova.splashscreen.SplashScreen$5$1.run(SplashScreen.java:330)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5484)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:984)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779){code}
cordova-plugin-splashscreen version: 4.0.3

> Android Splash Screen error: java.lang.NullPointerException:
> 
>
> Key: CB-13609
> URL: https://issues.apache.org/jira/browse/CB-13609
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-splashscreen
> Environment: cli packages: (/usr/local/lib/node_modules)
> @ionic/cli-utils  : 1.19.0
> ionic (Ionic CLI) : 3.19.0
> global packages:
> cordova (Cordova CLI) : 7.1.0 
> local packages:
> @ionic/app-scripts : 3.1.2
> Cordova Platforms  : android 6.3.0 ios 4.5.4
> Ionic Framework: ionic-angular 3.9.2
> System:
> ios-deploy : 1.9.2 
> Node   : v8.4.0
> npm: 5.5.1 
> OS : macOS High Sierra
> Xcode  : Xcode 9.0.1 Build version 9A1004 
> Environment Variables:
> ANDROID_HOME : not set
> Misc:
> backend : pro
>Reporter: Travis Skweres
>Assignee: Joe Bowser
>Priority: Major
>
> java.lang.NullPointerException: 
>   at org.apache.cordova.splashscreen.SplashScreen$4.run 
> (SplashScreen.java:230)
>   at android.app.Activity.runOnUiThread (Activity.java:6050)
>   at org.apache.cordova.splashscreen.SplashScreen.removeSplashScreen 
> (SplashScreen.java:220)
>   at org.apache.cordova.splashscreen.SplashScreen.access$1000 
> (SplashScreen.java:50)
>   at org.apache.cordova.splashscreen.SplashScreen$5$1.run 
> (SplashScreen.java:337)
>   at android.os.Handler.handleCallback (Handler.java:739)
>   at android.os.Handler.dispatchMessage (Handler.java:95)
>   at android.os.Looper.loop (Looper.java:148)
>   at android.app.ActivityThread.main (ActivityThread.java:7331)
>   at java.lang.reflect.Method.invoke (Native Method)
>   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run 
> (ZygoteInit.java:1230)
>   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13964) 'Make' command to build cordova website dont work in windows

2018-03-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13964:
-

dblotsky commented on a change in pull request #806: CB-13964: Fixed make clean 
for windows
URL: https://github.com/apache/cordova-docs/pull/806#discussion_r175166485
 
 

 ##
 File path: Makefile
 ##
 @@ -288,18 +296,19 @@ $(CSS_DEST_DIR)/%.css: $(CSS_SRC_DIR)/%.css
 
 # maintenance
 clean:
-   $(RM) $(VERSION_CONFIG)
-   $(RM) $(DEFAULTS_CONFIG)
-   $(RM) $(DOCS_PAGE_LIST)
-   $(RM) $(DOCS_VERSION_DATA)
-   $(RM) -r $(PROD_DIR) $(DEV_DIR)
-   $(RM) $(TOC_FILES)
-   $(RM) $(PLUGINS_APP)
-   $(RM) -r $(CSS_DEST_DIR)
-   $(RM) $(FETCHED_FILES)
+   $(call RM, $(VERSION_CONFIG))
+   $(call RM, $(DEFAULTS_CONFIG))
+   $(call RM, $(DOCS_PAGE_LIST))
+   $(call RM, $(DOCS_VERSION_DATA))
+   $(call RM, $(TOC_FILES))
+   $(call RM, $(PLUGINS_APP))
+   $(call RM, $(FETCHED_FILES))
+   -$(call RMDIR, $(CSS_DEST_DIR))
+   -$(call RMDIR, $(PROD_DIR))
+   -$(call RMDIR, $(DEV_DIR))
 
 nuke: clean
$(RM) -r node_modules
$(RM) Gemfile.lock
 
 Review comment:
   These also need to be changed to work with the new `RM` and `RMDIR`.


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


> 'Make' command to build cordova website dont work in windows
> 
>
> Key: CB-13964
> URL: https://issues.apache.org/jira/browse/CB-13964
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-docs
>Reporter: Gandhirajan
>Priority: Critical
>
> Make commands for cordova website devleopment dont work in windows OS



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13964) 'Make' command to build cordova website dont work in windows

2018-03-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13964:
-

dblotsky commented on a change in pull request #806: CB-13964: Fixed make clean 
for windows
URL: https://github.com/apache/cordova-docs/pull/806#discussion_r175143713
 
 

 ##
 File path: Makefile
 ##
 @@ -287,6 +292,19 @@ $(CSS_DEST_DIR)/%.css: $(CSS_SRC_DIR)/%.css
$(call printfile,$<) >> $@
 
 # maintenance
+ifdef WINDOWS
+clean:
+   $(call RM, $(VERSION_CONFIG))
+   $(call RM, $(DEFAULTS_CONFIG))
+   $(call RM, $(DOCS_PAGE_LIST))
+   $(call RM, $(DOCS_VERSION_DATA))
+   $(call RM, $(TOC_FILES))
+   $(call RM, $(PLUGINS_APP))
+   $(call RM, $(FETCHED_FILES))
+   -$(call RMDIR, $(CSS_DEST_DIR))
+   -$(call RMDIR, $(PROD_DIR))
+   -$(call RMDIR, $(DEV_DIR))
+else
 
 Review comment:
   If you have `RM` and `RMDIR` defined for all platforms, you don't have to 
add Windows-specific logic here.


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


> 'Make' command to build cordova website dont work in windows
> 
>
> Key: CB-13964
> URL: https://issues.apache.org/jira/browse/CB-13964
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-docs
>Reporter: Gandhirajan
>Priority: Critical
>
> Make commands for cordova website devleopment dont work in windows OS



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13964) 'Make' command to build cordova website dont work in windows

2018-03-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13964:
-

dblotsky commented on a change in pull request #806: CB-13964: Fixed make clean 
for windows
URL: https://github.com/apache/cordova-docs/pull/806#discussion_r175142882
 
 

 ##
 File path: Makefile
 ##
 @@ -50,6 +50,11 @@ else
 printfile = cat $(1)
 endif
 
+ifdef WINDOWS
+RM = cmd /C del /Q /F $(subst /,\,$(1))
+RMDIR  = cmd /C rmdir /S /Q $(subst /,\,$(1))
+endif
 
 Review comment:
   You can make non-Windows versions of these, and then you won't have to use 
Windows-specific logic in the `clean` target. So, add an `else` clause and just 
define:
   ```makefile
   else
   RM = rm -f $(1)
   RMDIR = rm -rf $(1)
   endif
   ```


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


> 'Make' command to build cordova website dont work in windows
> 
>
> Key: CB-13964
> URL: https://issues.apache.org/jira/browse/CB-13964
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-docs
>Reporter: Gandhirajan
>Priority: Critical
>
> Make commands for cordova website devleopment dont work in windows OS



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-13985) Plugin installation fails if the plugin requires variables on platform add

2018-03-16 Thread JIRA

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

Benjamin Räder updated CB-13985:

Description: 
If you have a plugin defined in your plugin.xml like this:
{code:java}
https://github.com//cordova-plugin-facebook4.git";>
 

{code}
package.json:
{code:java}
"cordova-plugin-facebook4": { "APP_ID": "1234567890", "APP_NAME": "Testapp" },
{code}
And you try to add a new platform to your project:
{code:java}
cordova platform add ios
{code}
The plugin cannot be installed because the variables are not passed during the 
installation phase:
{code:java}
Installing "cordova-plugin-facebook4" for ios Failed to install 
'cordova-plugin-facebook4': Error: Variable(s) missing: APP_ID, APP_NAME at 
Object.mergeVariables 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
 at 
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:315:44
 at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) 
at self.promiseDispatch.done 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) at 
Promise.promise.promiseDispatch 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) at 
/usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44 at flush 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) at 
process._tickCallback (internal/process/next_tick.js:150:11) Error: Variable(s) 
missing: APP_ID, APP_NAME
{code}

  was:
If you have a plugin defined in your plugin.xml like this:
{code:java}
https://github.com//cordova-plugin-facebook4.git";>
 

{code}
And you try to add a new platform to your project:
{code:java}
cordova platform add ios
{code}
The plugin cannot be installed because the variables are not passed during the 
installation phase:
{code:java}
Installing "cordova-plugin-facebook4" for ios Failed to install 
'cordova-plugin-facebook4': Error: Variable(s) missing: APP_ID, APP_NAME at 
Object.mergeVariables 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
 at 
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:315:44
 at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) 
at self.promiseDispatch.done 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) at 
Promise.promise.promiseDispatch 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) at 
/usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44 at flush 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) at 
process._tickCallback (internal/process/next_tick.js:150:11) Error: Variable(s) 
missing: APP_ID, APP_NAME
{code}


> Plugin installation fails if the plugin requires variables on platform add
> --
>
> Key: CB-13985
> URL: https://issues.apache.org/jira/browse/CB-13985
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugman
>Reporter: Benjamin Räder
>Priority: Major
>  Labels: bug
>
> If you have a plugin defined in your plugin.xml like this:
> {code:java}
>  spec="git+https://github.com//cordova-plugin-facebook4.git";>
>  
> 
> {code}
> package.json:
> {code:java}
> "cordova-plugin-facebook4": { "APP_ID": "1234567890", "APP_NAME": "Testapp" },
> {code}
> And you try to add a new platform to your project:
> {code:java}
> cordova platform add ios
> {code}
> The plugin cannot be installed because the variables are not passed during 
> the installation phase:
> {code:java}
> Installing "cordova-plugin-facebook4" for ios Failed to install 
> 'cordova-plugin-facebook4': Error: Variable(s) missing: APP_ID, APP_NAME at 
> Object.mergeVariables 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
>  at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:315:44
>  at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) at 
> self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) at 
> Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) at 
> /usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44 at flush 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) at 
> process._tickCallback (internal/process/next_tick.js:150:11) Error: 
> Variable(s) missing: APP_ID, APP_NAME
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-13985) Plugin installation fails if the plugin requires variables on platform add

2018-03-16 Thread JIRA

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

Benjamin Räder updated CB-13985:

Labels: bug  (was: )

> Plugin installation fails if the plugin requires variables on platform add
> --
>
> Key: CB-13985
> URL: https://issues.apache.org/jira/browse/CB-13985
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugman
>Reporter: Benjamin Räder
>Priority: Major
>  Labels: bug
>
> If you have a plugin defined in your plugin.xml like this:
> {code:java}
>  spec="git+https://github.com//cordova-plugin-facebook4.git";>
>  
> 
> {code}
> package.json:
> {code:java}
> "cordova-plugin-facebook4": { "APP_ID": "1234567890", "APP_NAME": "Testapp" },
> {code}
> And you try to add a new platform to your project:
> {code:java}
> cordova platform add ios
> {code}
> The plugin cannot be installed because the variables are not passed during 
> the installation phase:
> {code:java}
> Installing "cordova-plugin-facebook4" for ios Failed to install 
> 'cordova-plugin-facebook4': Error: Variable(s) missing: APP_ID, APP_NAME at 
> Object.mergeVariables 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
>  at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:315:44
>  at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) at 
> self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) at 
> Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) at 
> /usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44 at flush 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) at 
> process._tickCallback (internal/process/next_tick.js:150:11) Error: 
> Variable(s) missing: APP_ID, APP_NAME
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-13985) Plugin installation fails if the plugin requires variables on platform add

2018-03-16 Thread JIRA

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

Benjamin Räder updated CB-13985:

Description: 
If you have a plugin defined in your plugin.xml like this:
{code:java}
https://github.com//cordova-plugin-facebook4.git";>
 

{code}
And you try to add a new platform to your project:
{code:java}
cordova platform add ios
{code}
The plugin cannot be installed because the variables are not passed during the 
installation phase:
{code:java}
Installing "cordova-plugin-facebook4" for ios Failed to install 
'cordova-plugin-facebook4': Error: Variable(s) missing: APP_ID, APP_NAME at 
Object.mergeVariables 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
 at 
/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:315:44
 at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) 
at self.promiseDispatch.done 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) at 
Promise.promise.promiseDispatch 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) at 
/usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44 at flush 
(/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) at 
process._tickCallback (internal/process/next_tick.js:150:11) Error: Variable(s) 
missing: APP_ID, APP_NAME
{code}

  was:
If you have a plugin defined in your plugin.xml like this:
{code:java}
https://github.com//cordova-plugin-facebook4.git";>
 

{code}


> Plugin installation fails if the plugin requires variables on platform add
> --
>
> Key: CB-13985
> URL: https://issues.apache.org/jira/browse/CB-13985
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugman
>Reporter: Benjamin Räder
>Priority: Major
>
> If you have a plugin defined in your plugin.xml like this:
> {code:java}
>  spec="git+https://github.com//cordova-plugin-facebook4.git";>
>  
> 
> {code}
> And you try to add a new platform to your project:
> {code:java}
> cordova platform add ios
> {code}
> The plugin cannot be installed because the variables are not passed during 
> the installation phase:
> {code:java}
> Installing "cordova-plugin-facebook4" for ios Failed to install 
> 'cordova-plugin-facebook4': Error: Variable(s) missing: APP_ID, APP_NAME at 
> Object.mergeVariables 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/variable-merge.js:58:15)
>  at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:315:44
>  at _fulfilled 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54) at 
> self.promiseDispatch.done 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30) at 
> Promise.promise.promiseDispatch 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13) at 
> /usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44 at flush 
> (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17) at 
> process._tickCallback (internal/process/next_tick.js:150:11) Error: 
> Variable(s) missing: APP_ID, APP_NAME
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-13985) Plugin installation fails if the plugin requires variables on platform add

2018-03-16 Thread JIRA
Benjamin Räder created CB-13985:
---

 Summary: Plugin installation fails if the plugin requires 
variables on platform add
 Key: CB-13985
 URL: https://issues.apache.org/jira/browse/CB-13985
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugman
Reporter: Benjamin Räder


If you have a plugin defined in your plugin.xml like this:
{code:java}
https://github.com//cordova-plugin-facebook4.git";>
 

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13772) CLI `cordova requirements` printing out [object Object] in place of some version numbers

2018-03-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-13772:
-

janpio commented on issue #291: CB-13772: print version numbers correctly in 
"cordova requirements"
URL: https://github.com/apache/cordova-cli/pull/291#issuecomment-373735596
 
 
   Ok, thanks for the update. 
   
   I am a bit careful merging this, as I am not 100% sure this is not somehow 
environment dependant or something :/
   
   Anyone have any more insight here?


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


> CLI `cordova requirements` printing out [object Object] in place of some 
> version numbers
> 
>
> Key: CB-13772
> URL: https://issues.apache.org/jira/browse/CB-13772
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
>Affects Versions: cordova@8.0.0
> Environment: macOS High Sierra 10.13.2
> npm v5.6.0
> node v9.4.0
> cordova CLI v8.0.0
>Reporter: Darcy Meyer
>Priority: Minor
>
>  When `cordova requirements` is executed, the output prints [object Object] 
> in place of some of the version numbers.
> e.g.
> {code}
> $ cordova requirements
> Android Studio project detected
> Requirements check results for android:
> Java JDK: installed 1.8.0
> Android SDK: installed true
> Android target: not installed 
> avdmanager: Command failed with exit code 1
> Gradle: not installed 
> Could not find an installed version of Gradle either in Android Studio,
> or on your system to install the gradle wrapper. Please include gradle 
> in your path, or install Android Studio
> Requirements check results for ios:
> Apple macOS: installed darwin
> Xcode: installed [object Object]
> ios-deploy: installed [object Object]
> CocoaPods: installed [object Object]
> {code}
> Here, the versions of the ios requirements are not displayed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-13984) Fix issue with toolbar navigation buttons always being hidden on iOS

2018-03-16 Thread Rasim Kanca (JIRA)
Rasim Kanca created CB-13984:


 Summary: Fix issue with toolbar navigation buttons always being 
hidden on iOS
 Key: CB-13984
 URL: https://issues.apache.org/jira/browse/CB-13984
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugin-inappbrowser
Reporter: Rasim Kanca


In CB-13409, the functionality to hide the toolbar navigation buttons was added 
for iOS through the *hidenavigationbuttons* property. Unfortunately, in the iOS 
code, after checking whether the property is defined and what it is, it 
defaults to hiding the buttons completely ignoring the value of the property.

The line in question can be viewed 
[here|https://github.com/apache/cordova-plugin-inappbrowser/commit/8711ee3f211bf84913ae86f81e5e0e548d1c8015#diff-aa3201a8ef3df73e28e8979eaa6e228eR657].
 There is a pull request that contains a commit with a fix in [this pull 
request|https://github.com/apache/cordova-plugin-inappbrowser/pull/260].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-13983) iOS unlock reverts earlier orientation instead of letting device do its job

2018-03-16 Thread Adam Szmyd (JIRA)
Adam Szmyd created CB-13983:
---

 Summary: iOS unlock reverts earlier orientation instead of letting 
device do its job
 Key: CB-13983
 URL: https://issues.apache.org/jira/browse/CB-13983
 Project: Apache Cordova
  Issue Type: Bug
  Components: cordova-plugin-device-orientation (DEPRECATED)
Reporter: Adam Szmyd


Scenaio:
 # Rotate phone to landscape 
 # Force portrait by invoking `screen.orientation.lock('portrait')`
 # Turn phone into portrait mode
 # Release orientation lock using `screen.orientation.unlock()`

Result:

*Plugin reverts last orientation and phone changes to landscape*

Expected result:

*Phone should decide by its own in which orientation it is after unlock so it 
should remain in portrait mode in the above example.*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13975) Android MainActivity cdvStartInBackground=true fails to fire pause event

2018-03-16 Thread Rich T (JIRA)

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

Rich T commented on CB-13975:
-

I've attached a modified CoreAndroid.java which resolves the issue by caching a 
pendingPause when starting in the background, this manifests in the following 
events inside the app:

 
 * pause
 * deviceready

As a user you can then store a flag (e.g. app.inBackground) and this can be 
checked in 'deviceready' handler.

> Android MainActivity cdvStartInBackground=true fails to fire pause event
> 
>
> Key: CB-13975
> URL: https://issues.apache.org/jira/browse/CB-13975
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Reporter: Rich T
>Assignee: Joe Bowser
>Priority: Major
> Attachments: CoreAndroid.java
>
>
> The MainActivity created from the template that adds support for starting the 
> app in the background via the cdvStartInBackground flag doesn't fire the 
> pause event. Debugging the Android code it looks like onPause is called 
> before the messageChannel is set so the send event is dropped.
> There should probably be a pendingPause flag like the pendingResume.
> The reason this is a problem is that I am using the phonegap-push-plugin to 
> wake the app in the background and I want to know that the app is in the 
> background so I can disable polling requests which are a data and battery 
> drain, currently I cannot do this and the app can just be sitting there in 
> the background consuming resources it doesn't need.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-13975) Android MainActivity cdvStartInBackground=true fails to fire pause event

2018-03-16 Thread Rich T (JIRA)

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

Rich T updated CB-13975:

Attachment: CoreAndroid.java

> Android MainActivity cdvStartInBackground=true fails to fire pause event
> 
>
> Key: CB-13975
> URL: https://issues.apache.org/jira/browse/CB-13975
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-android
>Reporter: Rich T
>Assignee: Joe Bowser
>Priority: Major
> Attachments: CoreAndroid.java
>
>
> The MainActivity created from the template that adds support for starting the 
> app in the background via the cdvStartInBackground flag doesn't fire the 
> pause event. Debugging the Android code it looks like onPause is called 
> before the messageChannel is set so the send event is dropped.
> There should probably be a pendingPause flag like the pendingResume.
> The reason this is a problem is that I am using the phonegap-push-plugin to 
> wake the app in the background and I want to know that the app is in the 
> background so I can disable polling requests which are a data and battery 
> drain, currently I cannot do this and the app can just be sitting there in 
> the background consuming resources it doesn't need.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-13982) Android screen orientation issue in 8.1.0 in Cordova Android App

2018-03-16 Thread Vishwanath.M (JIRA)
Vishwanath.M created CB-13982:
-

 Summary: Android screen orientation issue in 8.1.0 in Cordova 
Android App
 Key: CB-13982
 URL: https://issues.apache.org/jira/browse/CB-13982
 Project: Apache Cordova
  Issue Type: Bug
  Components: AllComponents
Affects Versions: 8.0.0
 Environment: Android OS 8.1.0 and Android P Developer Preview 

Pixel 2 XL Device

Please check in attached project
Reporter: Vishwanath.M
 Attachments: android.zip

Am having issue in Android OS 8.1.0
 * Start a portrait activity A (portrait declare programatically in code of 
main activity not in manifest)
 * Start a landscape activity B (landscape declare on manifest)
 * Finish the landscape activity B
 * Main activity A which should be displayed in portrait mode will turn in to 
landscape after finishing landscape activity.

I had observed this issue in google pixel 2 xl device with OS version 8.1.0 
onwards ( issue present in Android P developer preview1 also)

i saw someone posted in google groups also

[https://issuetracker.google.com/issues/69168442]

but didn't get any fix, how can i fix this issue.?

My application is hybrid application (cordova) , I also tried to replicate 
issue in native android but issue is not there in native android sample app

happening only in cordova app



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org