[jira] [Commented] (CB-12037) KeyboardDisplayRequiresUserAction = false not working for wkwebview

2018-03-31 Thread Hirbod (JIRA)

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

Hirbod commented on CB-12037:
-

[~shazron] those fixes won't work for iOS 11.3 anymore, I've provided one here:

[https://github.com/onderceylan/cordova-plugin-wkwebview-inputfocusfix/pull/4/files]

(Just implemented a fix from StackOverflow, all credits marked inside the PR)

> KeyboardDisplayRequiresUserAction = false not working for wkwebview
> ---
>
> Key: CB-12037
> URL: https://issues.apache.org/jira/browse/CB-12037
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-plugin-wkwebview-engine
>Affects Versions: 4.2.0
> Environment: iOS 10.0.3
>Reporter: Ben McMaster
>Priority: Major
>  Labels: wkwebview-known-issues
>
> wkwebview ignoring KeyboardDisplayRequiresUserAction = false
> That allows programmatic setting of focus on inputs to show the keyboard.
> It's working fine in uiwebview.



--
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-10420) Native Pull-To-Refresh

2016-01-22 Thread Hirbod (JIRA)
Hirbod created CB-10420:
---

 Summary: Native Pull-To-Refresh
 Key: CB-10420
 URL: https://issues.apache.org/jira/browse/CB-10420
 Project: Apache Cordova
  Issue Type: New Feature
  Components: Android, iOS
Reporter: Hirbod


I've researched a lot and I tried many ways for implementing Pull-to-refresh. 
It is possible with some JS listeners, CSS3 Hacks, Scroll hacks. Some of them 
work very good, but performance is always an issue when it comes to big lists.

I would love to see native pull to refresh support being added to the Webview. 
After reading a bit, it should be no problem at least for iOS. Don't know about 
the handling with android. Crosswalk has this feature, but it's Chrome/Webkits 
internal refresh, which will reload the whole page.

I would like to have a native extension/plugin provided by Cordova, which 
enables native pull to refresh and broadcast the event via JS.

Init PTR -> Call JS -> Do something in JS -> Call success

Timing etc need to be discussed, but I'm dead sure that this is possible. And 
it's one of the most important features I am missing inside of my app for the 
real native feeling.



--
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-7781) Plugin Un-install fails for iOS with plist strings

2015-11-15 Thread Hirbod (JIRA)

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

Hirbod commented on CB-7781:


Any progress on this? I'm seeing so many plugins which can't be uninstalled 
anymore. One of them for example is 
https://github.com/mapsplugin/cordova-plugin-googlemaps

Once installed, I can only uninstall it when I remove the platform first, which 
is so annoying. The suggested patch does not work for me (it will work for the 
uninstall part, but it will break other sings, such installing new plugins)


> Plugin Un-install fails for iOS with plist strings
> --
>
> Key: CB-7781
> URL: https://issues.apache.org/jira/browse/CB-7781
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.5.0
> Environment: OS X 10.9.5, Cordova 3.6.3-0.2.13. iOS
>Reporter: Matthew McClintock
>  Labels: javascript, newbie, plugins, uninstall
>
> plugin.xml contains
> {code}
> 
> 
> audio
> fetch
>  
> 
> {code}
> will cause `cordova plugin rm org.wbez.cordova.flimflam` command to fail:
> {code}
> Uninstalling org.wbez.cordova.flimflam from android
> Uninstalling org.wbez.cordova.flimflam from ios
> TypeError: Cannot read property 'buffer' of undefined
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:131:18)
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:98:7)
> at walk_obj 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:109:9)
> at Object.build 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/build.js:76:3)
> at ConfigFile_save [as save] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:574:47)
> at 
> /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:446:49
> at Array.forEach (native)
> at ConfigKeeper_save_all [as save_all] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:444:31)
> at PlatformMunger_save_all [as save_all] 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:128:24)
> at Object.exports.process 
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:81:12)
> {code}



--
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-9634) InAppBrowser Crash on certain servers (when they have SPDY turned on)

2015-10-10 Thread Hirbod (JIRA)

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

Hirbod commented on CB-9634:


ping

> InAppBrowser Crash on certain servers (when they have SPDY turned on)
> -
>
> Key: CB-9634
> URL: https://issues.apache.org/jira/browse/CB-9634
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Reporter: Hirbod
>
> Since iOS 8.4 and 8.4.1, URLs to a server with turned on SPDY will lead into 
> crash.
> Assertion failed: (stream != NULL), function cb_spdylay_on_stream_close, file 
> /SourceCache/CFNetwork/CFNetwork-711.4.6/SPDY/SPDYConnection.cpp, line 1778.
> Process 2885 stopped
> Im my example, I tried to load an URL from google docs with https. (PDF-File)
> This is reproducable in all scenarios, where the server has SPDY support (see 
> mod_spdy). As mod_spdy was donated to Apache Foundation, I guess this should 
> be fixed very quickly!



--
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-9634) InAppBrowser Crash on certain servers (when they have SPDY turned on)

2015-09-09 Thread Hirbod (JIRA)

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

Hirbod updated CB-9634:
---
Description: 
Since iOS 8.4 and 8.4.1, URLs to a server with turned on SPDY will lead into 
crash.

Assertion failed: (stream != NULL), function cb_spdylay_on_stream_close, file 
/SourceCache/CFNetwork/CFNetwork-711.4.6/SPDY/SPDYConnection.cpp, line 1778.
Process 2885 stopped


Im my example, I tried to load an URL from google docs with https. (PDF-File)
This is reproducable in all scenarios, where the server has SPDY support (see 
mod_spdy). As mod_spdy was donated to Apache Foundation, I guess this should be 
fixed very quickly!

  was:
Since iOS 8.4 and 8.4.1, URLs to a server with turned on SPDY will lead into 
crash.

Assertion failed: (stream != NULL), function cb_spdylay_on_stream_close, file 
/SourceCache/CFNetwork/CFNetwork-711.4.6/SPDY/SPDYConnection.cpp, line 1778.
Process 2885 stopped


Im my example, I tried to load an URL from google docs with https.
This is reproducable in all scenarios, where the server has SPDY support (see 
mod_spdy). As mod_spdy was donated to Apache Foundation, I guess this should be 
fixed very quickly!


> InAppBrowser Crash on certain servers (when they have SPDY turned on)
> -
>
> Key: CB-9634
> URL: https://issues.apache.org/jira/browse/CB-9634
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin InAppBrowser
>Reporter: Hirbod
>
> Since iOS 8.4 and 8.4.1, URLs to a server with turned on SPDY will lead into 
> crash.
> Assertion failed: (stream != NULL), function cb_spdylay_on_stream_close, file 
> /SourceCache/CFNetwork/CFNetwork-711.4.6/SPDY/SPDYConnection.cpp, line 1778.
> Process 2885 stopped
> Im my example, I tried to load an URL from google docs with https. (PDF-File)
> This is reproducable in all scenarios, where the server has SPDY support (see 
> mod_spdy). As mod_spdy was donated to Apache Foundation, I guess this should 
> be fixed very quickly!



--
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-9634) InAppBrowser Crash on certain servers (when they have SPDY turned on)

2015-09-09 Thread Hirbod (JIRA)
Hirbod created CB-9634:
--

 Summary: InAppBrowser Crash on certain servers (when they have 
SPDY turned on)
 Key: CB-9634
 URL: https://issues.apache.org/jira/browse/CB-9634
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin InAppBrowser
Reporter: Hirbod


Since iOS 8.4 and 8.4.1, URLs to a server with turned on SPDY will lead into 
crash.

Assertion failed: (stream != NULL), function cb_spdylay_on_stream_close, file 
/SourceCache/CFNetwork/CFNetwork-711.4.6/SPDY/SPDYConnection.cpp, line 1778.
Process 2885 stopped


Im my example, I tried to load an URL from google docs with https.
This is reproducable in all scenarios, where the server has SPDY support (see 
mod_spdy). As mod_spdy was donated to Apache Foundation, I guess this should be 
fixed very quickly!



--
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-9189) java.lang.NullPointerException on select from library

2015-07-30 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-9189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14648474#comment-14648474
 ] 

Hirbod commented on CB-9189:


I've the same problem here. Do you use Crosswalk? I'm starting to think that 
could be related to that..

java.lang.RuntimeException: Unable to resume activity 
{net.nachbarschaft/net.nachbarschaft.MainActivity}: java.lang.RuntimeException: 
Failure delivering result ResultInfo{who=null, request=18, result=-1, 
data=Intent { dat=content://media/external/images/media/3393 flg=0x1 (has 
extras) }} to activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: 
java.lang.NullPointerException: Attempt to read from field 
'org.apache.cordova.PluginManager 
org.apache.cordova.CordovaWebView.pluginManager' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4002)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4033)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3229)
at android.app.ActivityThread.access$1000(ActivityThread.java:198)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1676)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6837)
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:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
Caused by: java.lang.RuntimeException: Failure delivering result 
ResultInfo{who=null, request=18, result=-1, data=Intent { 
dat=content://media/external/images/media/3393 flg=0x1 (has extras) }} to 
activity {net.nachbarschaft/net.nachbarschaft.MainActivity}: 
java.lang.NullPointerException: Attempt to read from field 
'org.apache.cordova.PluginManager 
org.apache.cordova.CordovaWebView.pluginManager' on a null object reference
at android.app.ActivityThread.deliverResults(ActivityThread.java:4672)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3988)
... 11 more
Caused by: java.lang.NullPointerException: Attempt to read from field 
'org.apache.cordova.PluginManager 
org.apache.cordova.CordovaWebView.pluginManager' on a null object reference
at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:837)
at android.app.Activity.dispatchActivityResult(Activity.java:6758)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4668)
... 12 more

 java.lang.NullPointerException on select from library
 -

 Key: CB-9189
 URL: https://issues.apache.org/jira/browse/CB-9189
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Camera
Affects Versions: 5.0.1
 Environment: Android. 
Reporter: Mark Harding
  Labels: android, camera, file, library

 I'm getting multiple crash reports via google play. I'm unable to replicate 
 myself but I think it could be related to CyanogenMod.
 Android 5.0 (LG Leon 4G LTE (c50))
 {code}
 java.lang.RuntimeException: Unable to resume activity 
 {com.minds.mobile/com.minds.mobile.MainActivity}: java.lang.RuntimeException: 
 Failure delivering result ResultInfo{who=null, request=18, result=-1, 
 data=Intent { 
 dat=content://com.google.android.apps.photos.contentprovider/0/1/https://lh3.googleusercontent.com/xZgV-3YvXmuR6W7uEAJOLuHHSI0nrkzZTGESgcggVi_ovpv8qkc=s0-d/ACTUAL
  flg=0x1 (has clip) }} to activity 
 {com.minds.mobile/com.minds.mobile.MainActivity}: 
 java.lang.NullPointerException: Attempt to invoke virtual method 'void 
 org.apache.cordova.CallbackContext.success(java.lang.String)' on a null 
 object reference
 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3040)
 at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3071)
 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2410)
 at android.app.ActivityThread.access$800(ActivityThread.java:155)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1323)
 at android.os.Handler.dispatchMessage(Handler.java:102)
 at android.os.Looper.loop(Looper.java:135)
 at android.app.ActivityThread.main(ActivityThread.java:5376)
 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:908)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
 Caused by: java.lang.RuntimeException: Failure delivering result 
 ResultInfo{who=null, request=18, result=-1, data=Intent { 
 

[jira] [Created] (CB-8977) java.util.ConcurrentModificationException in java.util.HashMap$HashIterator.nextEntry

2015-05-07 Thread Hirbod (JIRA)
Hirbod created CB-8977:
--

 Summary: java.util.ConcurrentModificationException in 
java.util.HashMap$HashIterator.nextEntry
 Key: CB-8977
 URL: https://issues.apache.org/jira/browse/CB-8977
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.7.1
 Environment: Samsung Galaxy S4 on Android 4.4
Reporter: Hirbod


I've received two crashreports. I think they are related to cordova and some of 
the plugins. The plugins are all up-to-date. I'm using CLI 5.0.0 but still on 
Android-JS 3.7.1 (can't upgrade right know)

I've upgrade all the plugins from the new npm-repo, I don't know if this is 
related, but before upgrading the plugins, everything worked well.

Here is the crash report:

java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
at java.util.HashMap$ValueIterator.next(HashMap.java:838)
at org.apache.cordova.PluginManager.postMessage(PluginManager.java:271)
at org.apache.cordova.CordovaWebView.postMessage(CordovaWebView.java:515)
at org.apache.cordova.splashscreen.SplashScreen$1.run(SplashScreen.java:128)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at dalvik.system.NativeStart.main(Native Method)



--
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] [Closed] (CB-8579) Cannot update to iOS 3.8.0 and Android 3.7.1

2015-05-03 Thread Hirbod (JIRA)

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

Hirbod closed CB-8579.
--

 Cannot update to iOS 3.8.0 and Android 3.7.1
 

 Key: CB-8579
 URL: https://issues.apache.org/jira/browse/CB-8579
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.8.0, 3.7.1
 Environment: OS X 10.10
Reporter: Hirbod

 Hi,
 since 3.5.0 to 3.6.3 it's impossible to update any platform. I did ALL the 
 steps that are required to update and asked on other issues for some 
 workarounds but it seems like nobody has an answer.
 Tried right now to update to 3.8.0 with
 cordova platform update ios
 I get: 3.7.0 is installed now
 When I do the same for Android, I get 3.6.4 is installed.
 When I add  update ios@3.8.0 or android@3.7.1 I'll receive the message that 
 both platforms not in the list.
 The only thing that worked (but its useless for me) was cordova platform add 
 ios@3.8.0 in one of my dummy projects.
 Please guys, could you fix this annoying update problems we have since months 
 and describe a SAFE way to upgrade for those people who stuck without the 
 hassle to remove and readd everyhing?
 Thank you so much!



--
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] [Closed] (CB-8036) Cannot update to 3.7.0

2015-05-03 Thread Hirbod (JIRA)

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

Hirbod closed CB-8036.
--

 Cannot update to 3.7.0
 --

 Key: CB-8036
 URL: https://issues.apache.org/jira/browse/CB-8036
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: OS X Maverics (10.9.5) with XCode 6
Reporter: Hirbod
Assignee: Andrew Grieve
 Fix For: 3.8.0


 Hi,
 before 3.7.0 I could update without any problems from 3.5.0 to 3.6.3
 I tried to update from 3.6.3 to 3.7.0 but now I receive this error:
 cordova platform update ios
 module.js:340
 throw err;
   ^
 Error: Cannot find module 'shelljs'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Function.Module.runMain (module.js:497:10)
 Error: 
 /Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
 Command failed with exit code 8
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)
 I tried to reinstall shelljs locally and globally but I can't figure out this 
 bug.
 Update for Android to version 3.6.4 worked without any problems.
 Of course I've updated phonegap and cordova before (like described in the CLI 
 Docs on phonegap.com)



--
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-8892) SplashMaintainAspectRatio does not work

2015-04-22 Thread Hirbod (JIRA)
Hirbod created CB-8892:
--

 Summary: SplashMaintainAspectRatio does not work
 Key: CB-8892
 URL: https://issues.apache.org/jira/browse/CB-8892
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin SplashScreen
Reporter: Hirbod


I've set

{code}
platform name=android
preference name=SplashMaintainAspectRatio value=true /
...
...
{code}

but my SplashScreen is still streched on android.



--
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-8886) StatusTap click event problems with bunch of other plugins

2015-04-21 Thread Hirbod (JIRA)

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

Hirbod updated CB-8886:
---
Description: 
Hi,

seems like the statusTap view will not always be on top of every other view and 
this will cause the plugin will not be able to call the event.

Please have a look at the conversation here with [~shazron]
https://github.com/apache/cordova-plugin-statusbar/pull/4

Examples:
It seems like the Google Maps Plugin cause this error:
https://github.com/wf9a5m75/phonegap-googlemaps-plugin

The plugin maintainer added support for the splashscreen plugin 
(wf9a5m75/phonegap-googlemaps-plugin@3fd283e before, the mapview just killed 
the splashscreen) but it seems like the fake scrollview is not on top 
anymore, so the tap won't be triggerd.

https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
and cause a lot of other problems. It seems this plugin works a bit different, 
as it adds the status-tab click different, which will work (but is not usable 
as it breaks the camera plugin on iOS8)

So my suggestions (I'm not expericed with iOS views and have not so much know 
how with obj-c)

1) The FakeLayer should be on the highest possible view (like z-index 1 or 
something like that :))
2) It should add a tapRecognizer like the statusTap plugin did 


  was:
Hi,

seems like the statusTap view will not always be on top of every other view and 
this will cause the plugin will not be able to call the event.

Please have a look at the conversation here with [~shazron]

Examples:
It seems like the Google Maps Plugin cause this error:
https://github.com/wf9a5m75/phonegap-googlemaps-plugin

The plugin maintainer added support for the splashscreen plugin 
(wf9a5m75/phonegap-googlemaps-plugin@3fd283e before, the mapview just killed 
the splashscreen) but it seems like the fake scrollview is not on top 
anymore, so the tap won't be triggerd.

https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
and cause a lot of other problems. It seems this plugin works a bit different, 
as it adds the status-tab click different, which will work (but is not usable 
as it breaks the camera plugin on iOS8)

So my suggestions (I'm not expericed with iOS views and have not so much know 
how with obj-c)

1) The FakeLayer should be on the highest possible view (like z-index 1 or 
something like that :))
2) It should add a tapRecognizer like the statusTap plugin did 



 StatusTap click event problems with bunch of other plugins
 

 Key: CB-8886
 URL: https://issues.apache.org/jira/browse/CB-8886
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Hirbod

 Hi,
 seems like the statusTap view will not always be on top of every other view 
 and this will cause the plugin will not be able to call the event.
 Please have a look at the conversation here with [~shazron]
 https://github.com/apache/cordova-plugin-statusbar/pull/4
 Examples:
 It seems like the Google Maps Plugin cause this error:
 https://github.com/wf9a5m75/phonegap-googlemaps-plugin
 The plugin maintainer added support for the splashscreen plugin 
 (wf9a5m75/phonegap-googlemaps-plugin@3fd283e before, the mapview just killed 
 the splashscreen) but it seems like the fake scrollview is not on top 
 anymore, so the tap won't be triggerd.
 https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
 and cause a lot of other problems. It seems this plugin works a bit 
 different, as it adds the status-tab click different, which will work (but is 
 not usable as it breaks the camera plugin on iOS8)
 So my suggestions (I'm not expericed with iOS views and have not so much know 
 how with obj-c)
 1) The FakeLayer should be on the highest possible view (like z-index 1 
 or something like that :))
 2) It should add a tapRecognizer like the statusTap plugin did 



--
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-8886) StatusTap click event problems with bunch of other plugins

2015-04-21 Thread Hirbod (JIRA)

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

Hirbod updated CB-8886:
---
Description: 
Hi,

seems like the statusTap view will not always be on top of every other view and 
this will cause the plugin will not be able to call the event.

Please have a look at the conversation here with [~shazron]
https://github.com/apache/cordova-plugin-statusbar/pull/4

Examples:
It seems like the Google Maps Plugin is one kind of plugin causing this error:
https://github.com/wf9a5m75/phonegap-googlemaps-plugin

The plugin maintainer added support for the splashscreen plugin 
(https://github.com/wf9a5m75/phonegap-googlemaps-plugin/commit/3fd283e722740459dc331f8f320ff4e078e44135),
 before  the mapview just killed the splashscreen) but it seems like the fake 
scrollview is not on top anymore, so the tap won't be triggerd.

https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
and cause a lot of other problems. It seems this plugin works a bit different, 
as it adds the status-tab click different, which will work (but is not usable 
as it breaks the camera plugin on iOS8)

So my suggestions (I'm not expericed with iOS views and have not so much know 
how with obj-c)

1) The FakeLayer should be on the highest possible view (like z-index 1 or 
something like that :))
2) It should add a tapRecognizer like the statusTap plugin did 


  was:
Hi,

seems like the statusTap view will not always be on top of every other view and 
this will cause the plugin will not be able to call the event.

Please have a look at the conversation here with [~shazron]
https://github.com/apache/cordova-plugin-statusbar/pull/4

Examples:
It seems like the Google Maps Plugin is one kind of plugin causing this error:
https://github.com/wf9a5m75/phonegap-googlemaps-plugin

The plugin maintainer added support for the splashscreen plugin 
(wf9a5m75/phonegap-googlemaps-plugin@3fd283e before, the mapview just killed 
the splashscreen) but it seems like the fake scrollview is not on top 
anymore, so the tap won't be triggerd.

https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
and cause a lot of other problems. It seems this plugin works a bit different, 
as it adds the status-tab click different, which will work (but is not usable 
as it breaks the camera plugin on iOS8)

So my suggestions (I'm not expericed with iOS views and have not so much know 
how with obj-c)

1) The FakeLayer should be on the highest possible view (like z-index 1 or 
something like that :))
2) It should add a tapRecognizer like the statusTap plugin did 



 StatusTap click event problems with bunch of other plugins
 

 Key: CB-8886
 URL: https://issues.apache.org/jira/browse/CB-8886
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Statusbar
 Environment: iOS
Reporter: Hirbod

 Hi,
 seems like the statusTap view will not always be on top of every other view 
 and this will cause the plugin will not be able to call the event.
 Please have a look at the conversation here with [~shazron]
 https://github.com/apache/cordova-plugin-statusbar/pull/4
 Examples:
 It seems like the Google Maps Plugin is one kind of plugin causing this error:
 https://github.com/wf9a5m75/phonegap-googlemaps-plugin
 The plugin maintainer added support for the splashscreen plugin 
 (https://github.com/wf9a5m75/phonegap-googlemaps-plugin/commit/3fd283e722740459dc331f8f320ff4e078e44135),
  before  the mapview just killed the splashscreen) but it seems like the fake 
 scrollview is not on top anymore, so the tap won't be triggerd.
 https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
 and cause a lot of other problems. It seems this plugin works a bit 
 different, as it adds the status-tab click different, which will work (but is 
 not usable as it breaks the camera plugin on iOS8)
 So my suggestions (I'm not expericed with iOS views and have not so much know 
 how with obj-c)
 1) The FakeLayer should be on the highest possible view (like z-index 1 
 or something like that :))
 2) It should add a tapRecognizer like the statusTap plugin did 



--
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-8886) StatusTap click event problems with bunch of other plugins

2015-04-21 Thread Hirbod (JIRA)

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

Hirbod updated CB-8886:
---
Description: 
Hi,

seems like the statusTap view will not always be on top of every other view and 
this will cause the plugin will not be able to call the event.

Please have a look at the conversation here with [~shazron]
https://github.com/apache/cordova-plugin-statusbar/pull/4

Examples:
It seems like the Google Maps Plugin is one kind of plugin causing this error:
https://github.com/wf9a5m75/phonegap-googlemaps-plugin

The plugin maintainer added support for the splashscreen plugin 
(wf9a5m75/phonegap-googlemaps-plugin@3fd283e before, the mapview just killed 
the splashscreen) but it seems like the fake scrollview is not on top 
anymore, so the tap won't be triggerd.

https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
and cause a lot of other problems. It seems this plugin works a bit different, 
as it adds the status-tab click different, which will work (but is not usable 
as it breaks the camera plugin on iOS8)

So my suggestions (I'm not expericed with iOS views and have not so much know 
how with obj-c)

1) The FakeLayer should be on the highest possible view (like z-index 1 or 
something like that :))
2) It should add a tapRecognizer like the statusTap plugin did 


  was:
Hi,

seems like the statusTap view will not always be on top of every other view and 
this will cause the plugin will not be able to call the event.

Please have a look at the conversation here with [~shazron]
https://github.com/apache/cordova-plugin-statusbar/pull/4

Examples:
It seems like the Google Maps Plugin cause this error:
https://github.com/wf9a5m75/phonegap-googlemaps-plugin

The plugin maintainer added support for the splashscreen plugin 
(wf9a5m75/phonegap-googlemaps-plugin@3fd283e before, the mapview just killed 
the splashscreen) but it seems like the fake scrollview is not on top 
anymore, so the tap won't be triggerd.

https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
and cause a lot of other problems. It seems this plugin works a bit different, 
as it adds the status-tab click different, which will work (but is not usable 
as it breaks the camera plugin on iOS8)

So my suggestions (I'm not expericed with iOS views and have not so much know 
how with obj-c)

1) The FakeLayer should be on the highest possible view (like z-index 1 or 
something like that :))
2) It should add a tapRecognizer like the statusTap plugin did 



 StatusTap click event problems with bunch of other plugins
 

 Key: CB-8886
 URL: https://issues.apache.org/jira/browse/CB-8886
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Hirbod

 Hi,
 seems like the statusTap view will not always be on top of every other view 
 and this will cause the plugin will not be able to call the event.
 Please have a look at the conversation here with [~shazron]
 https://github.com/apache/cordova-plugin-statusbar/pull/4
 Examples:
 It seems like the Google Maps Plugin is one kind of plugin causing this error:
 https://github.com/wf9a5m75/phonegap-googlemaps-plugin
 The plugin maintainer added support for the splashscreen plugin 
 (wf9a5m75/phonegap-googlemaps-plugin@3fd283e before, the mapview just killed 
 the splashscreen) but it seems like the fake scrollview is not on top 
 anymore, so the tap won't be triggerd.
 https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
 and cause a lot of other problems. It seems this plugin works a bit 
 different, as it adds the status-tab click different, which will work (but is 
 not usable as it breaks the camera plugin on iOS8)
 So my suggestions (I'm not expericed with iOS views and have not so much know 
 how with obj-c)
 1) The FakeLayer should be on the highest possible view (like z-index 1 
 or something like that :))
 2) It should add a tapRecognizer like the statusTap plugin did 



--
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-8886) StatusTap click event problems with bunch of other plugins

2015-04-21 Thread Hirbod (JIRA)
Hirbod created CB-8886:
--

 Summary: StatusTap click event problems with bunch of other 
plugins
 Key: CB-8886
 URL: https://issues.apache.org/jira/browse/CB-8886
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Hirbod


Hi,

seems like the statusTap view will not always be on top of every other view and 
this will cause the plugin will not be able to call the event.

Please have a look at the conversation here with [~shazron]

Examples:
It seems like the Google Maps Plugin cause this error:
https://github.com/wf9a5m75/phonegap-googlemaps-plugin

The plugin maintainer added support for the splashscreen plugin 
(wf9a5m75/phonegap-googlemaps-plugin@3fd283e before, the mapview just killed 
the splashscreen) but it seems like the fake scrollview is not on top 
anymore, so the tap won't be triggerd.

https://github.com/j-mcnally/cordova-statusTap worked well, but is very buggy 
and cause a lot of other problems. It seems this plugin works a bit different, 
as it adds the status-tab click different, which will work (but is not usable 
as it breaks the camera plugin on iOS8)

So my suggestions (I'm not expericed with iOS views and have not so much know 
how with obj-c)

1) The FakeLayer should be on the highest possible view (like z-index 1 or 
something like that :))
2) It should add a tapRecognizer like the statusTap plugin did 




--
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-8730) Can't deploy to device

2015-03-22 Thread Hirbod (JIRA)
Hirbod created CB-8730:
--

 Summary: Can't deploy to device 
 Key: CB-8730
 URL: https://issues.apache.org/jira/browse/CB-8730
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, iOS
Affects Versions: 3.8.0
 Environment: OS X Yosemite 10.10.2, iPhone 6, 6+ on 8.1.2 and 8.1.3 
(did not test on 8.2)
Reporter: Hirbod


Hi,

before iOS 3.8.0 I was able to run my app with cordova run ios. This would 
install the app on my iPhone. Now it just launch the simulator.
Actually, it should only run the simulator when no phone is attached.

I've also updated to ios-deplay 1.4.0.

The only way to deploy on phone:
cordova run ios --device

But the device parameter wasn't required before. Is this behavior as expected 
or a bug?



--
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-8579) Cannot update to iOS 3.8.0 and Android 3.7.1

2015-02-27 Thread Hirbod (JIRA)
Hirbod created CB-8579:
--

 Summary: Cannot update to iOS 3.8.0 and Android 3.7.1
 Key: CB-8579
 URL: https://issues.apache.org/jira/browse/CB-8579
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.8.0, 3.7.1
 Environment: OS X 10.10
Reporter: Hirbod


Hi,

since 3.5.0 to 3.6.3 it's impossible to update any platform. I did ALL the 
steps that are required to update and asked on other issues for some 
workarounds but it seems like nobody has an answer.

Tried right now to update to 3.8.0 with

cordova platform update ios

I get: 3.7.0 is installed now
When I do the same for Android, I get 3.6.4 is installed.

When I add  update ios@3.8.0 or android@3.7.1 I'll receive the message that 
both platforms not in the list.

The only thing that worked (but its useless for me) was cordova platform add 
ios@3.8.0 in one of my dummy projects.

Please guys, could you fix this annoying update problems we have since months 
and describe a SAFE way to upgrade for those people who stuck without the 
hassle to remove and readd everyhing?

Thank you so much!



--
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-8477) native crash at /system/lib/libssl.so

2015-02-27 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14340136#comment-14340136
 ] 

Hirbod commented on CB-8477:


Hi [~bowserj],

any news on this? I get like hundered mails per day that my App is crashing. Am 
I really the only one how takes care about security and use https instead of 
http? Seems like there aren't really much reports about this serious problem..



 native crash at /system/lib/libssl.so
 -

 Key: CB-8477
 URL: https://issues.apache.org/jira/browse/CB-8477
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.6.3, 3.7.1
 Environment: Sony Xperia Z1, Sony D2005, Samsung Galaxy Note 1
Reporter: Hirbod
Assignee: Joe Bowser
 Fix For: 4.0.0


 My app randomly crash when angular.js makes an http call. This crashes just 
 showed up when I changed from http to https. My Server certs are valid.
 It happens when I make a normal call or use the FilePlugin to transfer Images 
 to my Server (but really, it's randomly). Seems to be related to OkHttp or 
 something, but I'm not sure. Some guys wrote down http 1.1 instead of 2.0 
 should fix this, but I'm not sure how to force other versions and if this 
 really fixes the bugs. My app is live in the stores and I don't know how to 
 handle with this bug.
 The requesting server is https://nachbarschaft.net; (no content yet, but an 
 API)
 http://stackoverflow.com/questions/23861110/native-crash-at-system-lib-libssl-so-using-retrofit
 https://github.com/square/okhttp/issues/184
 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 UUID: .
 Build fingerprint: 'Sony/C6903//14.4.A.0.157/Yv__jQ:user/release-keys'
 Revision: '0'
 pid: 2545, tid: 8461, name: DataRequestDisp   
 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
 r0  r1  r2 7a172bed r3 0025
 r4 0005 r5 7a172bee r6  r7 
 r8 0001 r9 0020 sl 0025 fp 7a172bed
 ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
 d0  d1 
 d2  d3 
 d4  d5 
 d6  d7 54dbd39d
 d8  d9 3fe043aa8000
 d10 40668000 d11 404b88cb95b4b605
 d12 4080e000 d13 bf808000
 d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
 d16  d17 
 d18 f00d406a3736c6ee d19 7f92a1b255156fd0
 d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
 d22 5b7a5a1306c223b0 d23 743142198445fc06
 d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
 d26 bfadde2d52defd9a d27 3fa97b4b24760deb
 d28 3f90ad3ae322da11 d29 
 d30 3fd5550d d31 bfc8ebc4
 scr 8813
 backtrace:
 #00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
 #01 pc 70b1 /system/lib/libjavacrypto.so
 #02 pc 0002f373 /system/lib/libssl.so (ssl_parse_serverhello_tlsext+434)
 #03 pc 00018129 /system/lib/libssl.so (ssl3_get_server_hello+1008)
 #04 pc 00017527 /system/lib/libssl.so (ssl3_connect+566)
 #05 pc 00027d4b /system/lib/libssl.so (SSL_do_handshake+50)
 #06 pc aedd /system/lib/libjavacrypto.so
 #07 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
 #08 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, 
 JValue*, Method const*, Thread*)+398)
 #09 pc 000297e0 /system/lib/libdvm.so
 #10 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
 #11 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, 
 JValue*)+184)
 #12 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, 
 Object*, bool, JValue*, std::__va_list)+336)
 #13 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, 
 Object*, JValue*, ...)+20)
 #14 pc 00058133 /system/lib/libdvm.so
 #15 pc d258 /system/lib/libc.so (__thread_entry+72)
 #16 pc d3f0 /system/lib/libc.so (pthread_create+240)
 code around pc:
 40a76f8c d02c2b00 9f0f9701 21009102 4001f81b
 40a76f9c 0801f101 eb0bb1cf eb0b0001 90030508
 40a76fac f8162000 f1009000 454c0a01 eb06d109
 40a76fbc 4628010a f7e54622 4601ef50 29002001
 40a76fcc eb0ad00a 42b80009 eb08d3eb 9a040104
 40a76fdc 42912002 e000d3da 99029e03 1c729f01
 40a76fec 7832603a b005700a 8ff0e8bd 3178f8d0
 40a76ffc 2100600b bf182b00 117cf890 47706011
 40a7700c 11a4f8c0 21a8f8c0 bf004770 11acf8c0
 40a7701c 21b0f8c0 bf004770 4605b570 f8d54614
 40a7702c 460e01bc bf182800 edc6f7e5 f240480a
 40a7703c 490a6296 44014478 f7e54620 2101edb2
 40a7704c 01bcf8c5 4631b130 f7e54622 2100edf2
 40a7705c 41c0f8c5 bd704608 00013a04 b63d
 40a7706c 4605b570 f8d54614 460e019c bf182800
 40a7707c eda2f7e5 f240480a 490a62aa 44014478
 code around lr:
 73eb0094 46072121 f7fe4640 6a7aef8c b1646abb
 73eb00a4 000ce88d 46294630 9b084622 ef68f7fe
 

[jira] [Comment Edited] (CB-6630) Remove okhttp from source directory, make HTTP a library project dependency

2015-02-27 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14340147#comment-14340147
 ] 

Hirbod edited comment on CB-6630 at 2/27/15 2:08 PM:
-

Hi [~agrieve],

please have a short look here:
https://issues.apache.org/jira/browse/CB-8477

I need a quick workaround for this. I know this is not a support forum, but 
I've tried SO,Github and reported to JIRA. I need to get rid of this proble 
now, not when 4.0.0 is out someday.

Did I understand right, that it is enough to remove the bundled OkHttp and only 
to change the contents of the file
framework/src/org/apache/cordova/CordovaResourceApi.java (just as a 
workaround). Will this be enough or do I have to make changes in the 
file-transfer-plugin also etc? Thank you very much!


was (Author: hirbod):
Hi [~agrieve],

please have a short look here:
https://issues.apache.org/jira/browse/CB-8477

I need a quick workaround for this. I know this is not a support forum, but 
I've tried SO and Github and reported and need to get rid of this problem.

Did I understand right, that it is enough to remove the bundled OkHttp and only 
to change the contents of the file
framework/src/org/apache/cordova/CordovaResourceApi.java (just as a 
workaround). Will this be enough or do I have to make changes in the 
file-transfer-plugin also etc? Thank you very much!

 Remove okhttp from source directory, make HTTP a library project dependency
 ---

 Key: CB-6630
 URL: https://issues.apache.org/jira/browse/CB-6630
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android
Reporter: Joe Bowser
Assignee: Andrew Grieve
Priority: Blocker
 Fix For: 4.0.0


 From Stack Overflow: 
 http://stackoverflow.com/questions/23446603/conversion-to-dalvik-format-failed-unable-to-execute-dex-multiple-dex-files-de
 Basically, we should be including third party libraries as libraries, and not 
 just dumping the source in our own tree.  This leads to major problems when 
 people use other Java libraries.  We'll probably need to modify the CLI to do 
 this, of course.



--
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-8477) native crash at /system/lib/libssl.so

2015-02-27 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14340190#comment-14340190
 ] 

Hirbod commented on CB-8477:


Fixed it myself after reading [~agrieve] post and code-changes

See my posts in https://issues.apache.org/jira/browse/CB-6630


 native crash at /system/lib/libssl.so
 -

 Key: CB-8477
 URL: https://issues.apache.org/jira/browse/CB-8477
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.6.3, 3.7.1
 Environment: Sony Xperia Z1, Sony D2005, Samsung Galaxy Note 1
Reporter: Hirbod
Assignee: Joe Bowser
 Fix For: 4.0.0


 My app randomly crash when angular.js makes an http call. This crashes just 
 showed up when I changed from http to https. My Server certs are valid.
 It happens when I make a normal call or use the FilePlugin to transfer Images 
 to my Server (but really, it's randomly). Seems to be related to OkHttp or 
 something, but I'm not sure. Some guys wrote down http 1.1 instead of 2.0 
 should fix this, but I'm not sure how to force other versions and if this 
 really fixes the bugs. My app is live in the stores and I don't know how to 
 handle with this bug.
 The requesting server is https://nachbarschaft.net; (no content yet, but an 
 API)
 http://stackoverflow.com/questions/23861110/native-crash-at-system-lib-libssl-so-using-retrofit
 https://github.com/square/okhttp/issues/184
 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 UUID: .
 Build fingerprint: 'Sony/C6903//14.4.A.0.157/Yv__jQ:user/release-keys'
 Revision: '0'
 pid: 2545, tid: 8461, name: DataRequestDisp   
 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
 r0  r1  r2 7a172bed r3 0025
 r4 0005 r5 7a172bee r6  r7 
 r8 0001 r9 0020 sl 0025 fp 7a172bed
 ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
 d0  d1 
 d2  d3 
 d4  d5 
 d6  d7 54dbd39d
 d8  d9 3fe043aa8000
 d10 40668000 d11 404b88cb95b4b605
 d12 4080e000 d13 bf808000
 d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
 d16  d17 
 d18 f00d406a3736c6ee d19 7f92a1b255156fd0
 d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
 d22 5b7a5a1306c223b0 d23 743142198445fc06
 d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
 d26 bfadde2d52defd9a d27 3fa97b4b24760deb
 d28 3f90ad3ae322da11 d29 
 d30 3fd5550d d31 bfc8ebc4
 scr 8813
 backtrace:
 #00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
 #01 pc 70b1 /system/lib/libjavacrypto.so
 #02 pc 0002f373 /system/lib/libssl.so (ssl_parse_serverhello_tlsext+434)
 #03 pc 00018129 /system/lib/libssl.so (ssl3_get_server_hello+1008)
 #04 pc 00017527 /system/lib/libssl.so (ssl3_connect+566)
 #05 pc 00027d4b /system/lib/libssl.so (SSL_do_handshake+50)
 #06 pc aedd /system/lib/libjavacrypto.so
 #07 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
 #08 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, 
 JValue*, Method const*, Thread*)+398)
 #09 pc 000297e0 /system/lib/libdvm.so
 #10 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
 #11 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, 
 JValue*)+184)
 #12 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, 
 Object*, bool, JValue*, std::__va_list)+336)
 #13 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, 
 Object*, JValue*, ...)+20)
 #14 pc 00058133 /system/lib/libdvm.so
 #15 pc d258 /system/lib/libc.so (__thread_entry+72)
 #16 pc d3f0 /system/lib/libc.so (pthread_create+240)
 code around pc:
 40a76f8c d02c2b00 9f0f9701 21009102 4001f81b
 40a76f9c 0801f101 eb0bb1cf eb0b0001 90030508
 40a76fac f8162000 f1009000 454c0a01 eb06d109
 40a76fbc 4628010a f7e54622 4601ef50 29002001
 40a76fcc eb0ad00a 42b80009 eb08d3eb 9a040104
 40a76fdc 42912002 e000d3da 99029e03 1c729f01
 40a76fec 7832603a b005700a 8ff0e8bd 3178f8d0
 40a76ffc 2100600b bf182b00 117cf890 47706011
 40a7700c 11a4f8c0 21a8f8c0 bf004770 11acf8c0
 40a7701c 21b0f8c0 bf004770 4605b570 f8d54614
 40a7702c 460e01bc bf182800 edc6f7e5 f240480a
 40a7703c 490a6296 44014478 f7e54620 2101edb2
 40a7704c 01bcf8c5 4631b130 f7e54622 2100edf2
 40a7705c 41c0f8c5 bd704608 00013a04 b63d
 40a7706c 4605b570 f8d54614 460e019c bf182800
 40a7707c eda2f7e5 f240480a 490a62aa 44014478
 code around lr:
 73eb0094 46072121 f7fe4640 6a7aef8c b1646abb
 73eb00a4 000ce88d 46294630 9b084622 ef68f7fe
 73eb00b4 bf142801 20002003 b116e004 6034b10d
 73eb00c4 2003702c 81fce8bd 4604b538 6a05b188
 73eb00d4 f7ffb155 6829ffc3 6d9a6803 

[jira] [Comment Edited] (CB-6630) Remove okhttp from source directory, make HTTP a library project dependency

2015-02-27 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14340147#comment-14340147
 ] 

Hirbod edited comment on CB-6630 at 2/27/15 2:09 PM:
-

Hi [~agrieve],

please have a short look here:
https://issues.apache.org/jira/browse/CB-8477

I need a quick workaround for this. I know this is not a support forum, but 
I've tried SO,Github and reported to JIRA. I need to get rid of this proble 
now, not when 4.0.0 is out someday.

Did I understand right, that it is enough to remove the bundled OkHttp and only 
to change the contents of the file
framework/src/org/apache/cordova/CordovaResourceApi.java (just as a 
workaround). Will this be enough or do I have to make changes in the 
file-transfer-plugin also? Thank you very much!


was (Author: hirbod):
Hi [~agrieve],

please have a short look here:
https://issues.apache.org/jira/browse/CB-8477

I need a quick workaround for this. I know this is not a support forum, but 
I've tried SO,Github and reported to JIRA. I need to get rid of this proble 
now, not when 4.0.0 is out someday.

Did I understand right, that it is enough to remove the bundled OkHttp and only 
to change the contents of the file
framework/src/org/apache/cordova/CordovaResourceApi.java (just as a 
workaround). Will this be enough or do I have to make changes in the 
file-transfer-plugin also etc? Thank you very much!

 Remove okhttp from source directory, make HTTP a library project dependency
 ---

 Key: CB-6630
 URL: https://issues.apache.org/jira/browse/CB-6630
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android
Reporter: Joe Bowser
Assignee: Andrew Grieve
Priority: Blocker
 Fix For: 4.0.0


 From Stack Overflow: 
 http://stackoverflow.com/questions/23446603/conversion-to-dalvik-format-failed-unable-to-execute-dex-multiple-dex-files-de
 Basically, we should be including third party libraries as libraries, and not 
 just dumping the source in our own tree.  This leads to major problems when 
 people use other Java libraries.  We'll probably need to modify the CLI to do 
 this, of course.



--
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-6630) Remove okhttp from source directory, make HTTP a library project dependency

2015-02-27 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14340188#comment-14340188
 ] 

Hirbod commented on CB-6630:


Ok, this really fixed my problem. Just removed OkHttp and changed 
CordovaResourceApi.java - bye bye crashes!

 Remove okhttp from source directory, make HTTP a library project dependency
 ---

 Key: CB-6630
 URL: https://issues.apache.org/jira/browse/CB-6630
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android
Reporter: Joe Bowser
Assignee: Andrew Grieve
Priority: Blocker
 Fix For: 4.0.0


 From Stack Overflow: 
 http://stackoverflow.com/questions/23446603/conversion-to-dalvik-format-failed-unable-to-execute-dex-multiple-dex-files-de
 Basically, we should be including third party libraries as libraries, and not 
 just dumping the source in our own tree.  This leads to major problems when 
 people use other Java libraries.  We'll probably need to modify the CLI to do 
 this, of course.



--
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-6630) Remove okhttp from source directory, make HTTP a library project dependency

2015-02-27 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14340147#comment-14340147
 ] 

Hirbod commented on CB-6630:


Hi [~agrieve],

please have a short look here:
https://issues.apache.org/jira/browse/CB-8477

I need a quick workaround for this. I know this is not a support forum, but 
I've tried SO and Github and reported and need to get rid of this problem.

Did I understand right, that it is enough to remove the bundled OkHttp and only 
to change the contents of the file
framework/src/org/apache/cordova/CordovaResourceApi.java (just as a 
workaround). Will this be enough or do I have to make changes in the 
file-transfer-plugin also etc? Thank you very much!

 Remove okhttp from source directory, make HTTP a library project dependency
 ---

 Key: CB-6630
 URL: https://issues.apache.org/jira/browse/CB-6630
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android
Reporter: Joe Bowser
Assignee: Andrew Grieve
Priority: Blocker
 Fix For: 4.0.0


 From Stack Overflow: 
 http://stackoverflow.com/questions/23446603/conversion-to-dalvik-format-failed-unable-to-execute-dex-multiple-dex-files-de
 Basically, we should be including third party libraries as libraries, and not 
 just dumping the source in our own tree.  This leads to major problems when 
 people use other Java libraries.  We'll probably need to modify the CLI to do 
 this, of course.



--
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-8447) 'cordova platform update android@3.7.1' fails

2015-02-24 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14335469#comment-14335469
 ] 

Hirbod commented on CB-8447:


Can sombody please tell me now how to update? I'm stuck on Version 3.6.4

Installed platforms: android 3.6.4, ios 3.7.0
Available platforms: amazon-fireos, blackberry10, browser, firefoxos

Can't even update to iOS 3.7.1

 'cordova platform update android@3.7.1' fails
 -

 Key: CB-8447
 URL: https://issues.apache.org/jira/browse/CB-8447
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Omar Mefire

 [This issue is resolved in the current master branch]
 In cordova-lib@4.2.0, The following sequence of operations fails :
 - cordova platform add android@3.5.0
 - cordova platform update android@3.7.1
 The error message is :  Platform android@3.7.1 is not installed. See 
 `cordova platform list`.



--
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-8447) 'cordova platform update android@3.7.1' fails

2015-02-24 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1433#comment-1433
 ] 

Hirbod commented on CB-8447:


Removing would mean I have to setup everything again, my Facebook-IDs, Google 
Maps APIs and some other stuff.. I don't want to go there. And why 3.7.0 ? 
Current version is 3.7.1

 'cordova platform update android@3.7.1' fails
 -

 Key: CB-8447
 URL: https://issues.apache.org/jira/browse/CB-8447
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Omar Mefire

 [This issue is resolved in the current master branch]
 In cordova-lib@4.2.0, The following sequence of operations fails :
 - cordova platform add android@3.5.0
 - cordova platform update android@3.7.1
 The error message is :  Platform android@3.7.1 is not installed. See 
 `cordova platform list`.



--
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-8477) native crash at /system/lib/libssl.so

2015-02-21 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14330469#comment-14330469
 ] 

Hirbod commented on CB-8477:


Hi,

thanks for your answer. Is there any way / chance I could fix this on 3.6.3?
Actually I don't have a stable app as it crashes every 20-30 calls. I'm not 
very familiar with Java nor Android and I would like to understand how or where 
I have to make those recommended changes (force HTTP 1.1) to workaround that 
error till 4.0.0 is out.

Thanks!

 native crash at /system/lib/libssl.so
 -

 Key: CB-8477
 URL: https://issues.apache.org/jira/browse/CB-8477
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.6.3, 3.7.1
 Environment: Sony Xperia Z1, Sony D2005, Samsung Galaxy Note 1
Reporter: Hirbod
Assignee: Joe Bowser
 Fix For: 4.0.0


 My app randomly crash when angular.js makes an http call. This crashes just 
 showed up when I changed from http to https. My Server certs are valid.
 It happens when I make a normal call or use the FilePlugin to transfer Images 
 to my Server (but really, it's randomly). Seems to be related to OkHttp or 
 something, but I'm not sure. Some guys wrote down http 1.1 instead of 2.0 
 should fix this, but I'm not sure how to force other versions and if this 
 really fixes the bugs. My app is live in the stores and I don't know how to 
 handle with this bug.
 The requesting server is https://nachbarschaft.net; (no content yet, but an 
 API)
 http://stackoverflow.com/questions/23861110/native-crash-at-system-lib-libssl-so-using-retrofit
 https://github.com/square/okhttp/issues/184
 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 UUID: .
 Build fingerprint: 'Sony/C6903//14.4.A.0.157/Yv__jQ:user/release-keys'
 Revision: '0'
 pid: 2545, tid: 8461, name: DataRequestDisp   
 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
 r0  r1  r2 7a172bed r3 0025
 r4 0005 r5 7a172bee r6  r7 
 r8 0001 r9 0020 sl 0025 fp 7a172bed
 ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
 d0  d1 
 d2  d3 
 d4  d5 
 d6  d7 54dbd39d
 d8  d9 3fe043aa8000
 d10 40668000 d11 404b88cb95b4b605
 d12 4080e000 d13 bf808000
 d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
 d16  d17 
 d18 f00d406a3736c6ee d19 7f92a1b255156fd0
 d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
 d22 5b7a5a1306c223b0 d23 743142198445fc06
 d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
 d26 bfadde2d52defd9a d27 3fa97b4b24760deb
 d28 3f90ad3ae322da11 d29 
 d30 3fd5550d d31 bfc8ebc4
 scr 8813
 backtrace:
 #00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
 #01 pc 70b1 /system/lib/libjavacrypto.so
 #02 pc 0002f373 /system/lib/libssl.so (ssl_parse_serverhello_tlsext+434)
 #03 pc 00018129 /system/lib/libssl.so (ssl3_get_server_hello+1008)
 #04 pc 00017527 /system/lib/libssl.so (ssl3_connect+566)
 #05 pc 00027d4b /system/lib/libssl.so (SSL_do_handshake+50)
 #06 pc aedd /system/lib/libjavacrypto.so
 #07 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
 #08 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, 
 JValue*, Method const*, Thread*)+398)
 #09 pc 000297e0 /system/lib/libdvm.so
 #10 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
 #11 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, 
 JValue*)+184)
 #12 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, 
 Object*, bool, JValue*, std::__va_list)+336)
 #13 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, 
 Object*, JValue*, ...)+20)
 #14 pc 00058133 /system/lib/libdvm.so
 #15 pc d258 /system/lib/libc.so (__thread_entry+72)
 #16 pc d3f0 /system/lib/libc.so (pthread_create+240)
 code around pc:
 40a76f8c d02c2b00 9f0f9701 21009102 4001f81b
 40a76f9c 0801f101 eb0bb1cf eb0b0001 90030508
 40a76fac f8162000 f1009000 454c0a01 eb06d109
 40a76fbc 4628010a f7e54622 4601ef50 29002001
 40a76fcc eb0ad00a 42b80009 eb08d3eb 9a040104
 40a76fdc 42912002 e000d3da 99029e03 1c729f01
 40a76fec 7832603a b005700a 8ff0e8bd 3178f8d0
 40a76ffc 2100600b bf182b00 117cf890 47706011
 40a7700c 11a4f8c0 21a8f8c0 bf004770 11acf8c0
 40a7701c 21b0f8c0 bf004770 4605b570 f8d54614
 40a7702c 460e01bc bf182800 edc6f7e5 f240480a
 40a7703c 490a6296 44014478 f7e54620 2101edb2
 40a7704c 01bcf8c5 4631b130 f7e54622 2100edf2
 40a7705c 41c0f8c5 bd704608 00013a04 b63d
 40a7706c 4605b570 f8d54614 460e019c bf182800
 40a7707c eda2f7e5 f240480a 490a62aa 44014478
 code around lr:
 

[jira] [Updated] (CB-8477) native crash at /system/lib/libssl.so

2015-02-13 Thread Hirbod (JIRA)

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

Hirbod updated CB-8477:
---
Description: 
My app randomly crash when angular.js makes an http call. This crashes just 
showed up when I changed from http to https. My Server certs are valid.

It happens when I make a normal call or use the FilePlugin to transfer Images 
to my Server (but really, it's randomly). Seems to be related to OkHttp or 
something, but I'm not sure. Some guys wrote down http 1.1 instead of 2.0 
should fix this, but I'm not sure how to force other versions and if this 
really fixes the bugs. My app is live in the stores and I don't know how to 
handle with this bug.

The requesting server is https://nachbarschaft.net; (no content yet, but an 
API)

http://stackoverflow.com/questions/23861110/native-crash-at-system-lib-libssl-so-using-retrofit

https://github.com/square/okhttp/issues/184

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
UUID: .
Build fingerprint: 'Sony/C6903//14.4.A.0.157/Yv__jQ:user/release-keys'
Revision: '0'
pid: 2545, tid: 8461, name: DataRequestDisp   
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
r0  r1  r2 7a172bed r3 0025
r4 0005 r5 7a172bee r6  r7 
r8 0001 r9 0020 sl 0025 fp 7a172bed
ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
d0  d1 
d2  d3 
d4  d5 
d6  d7 54dbd39d
d8  d9 3fe043aa8000
d10 40668000 d11 404b88cb95b4b605
d12 4080e000 d13 bf808000
d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
d16  d17 
d18 f00d406a3736c6ee d19 7f92a1b255156fd0
d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
d22 5b7a5a1306c223b0 d23 743142198445fc06
d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
d26 bfadde2d52defd9a d27 3fa97b4b24760deb
d28 3f90ad3ae322da11 d29 
d30 3fd5550d d31 bfc8ebc4
scr 8813

backtrace:
#00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
#01 pc 70b1 /system/lib/libjavacrypto.so
#02 pc 0002f373 /system/lib/libssl.so (ssl_parse_serverhello_tlsext+434)
#03 pc 00018129 /system/lib/libssl.so (ssl3_get_server_hello+1008)
#04 pc 00017527 /system/lib/libssl.so (ssl3_connect+566)
#05 pc 00027d4b /system/lib/libssl.so (SSL_do_handshake+50)
#06 pc aedd /system/lib/libjavacrypto.so
#07 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#08 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, 
JValue*, Method const*, Thread*)+398)
#09 pc 000297e0 /system/lib/libdvm.so
#10 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#11 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, 
JValue*)+184)
#12 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, 
Object*, bool, JValue*, std::__va_list)+336)
#13 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, 
Object*, JValue*, ...)+20)
#14 pc 00058133 /system/lib/libdvm.so
#15 pc d258 /system/lib/libc.so (__thread_entry+72)
#16 pc d3f0 /system/lib/libc.so (pthread_create+240)

code around pc:
40a76f8c d02c2b00 9f0f9701 21009102 4001f81b
40a76f9c 0801f101 eb0bb1cf eb0b0001 90030508
40a76fac f8162000 f1009000 454c0a01 eb06d109
40a76fbc 4628010a f7e54622 4601ef50 29002001
40a76fcc eb0ad00a 42b80009 eb08d3eb 9a040104
40a76fdc 42912002 e000d3da 99029e03 1c729f01
40a76fec 7832603a b005700a 8ff0e8bd 3178f8d0
40a76ffc 2100600b bf182b00 117cf890 47706011
40a7700c 11a4f8c0 21a8f8c0 bf004770 11acf8c0
40a7701c 21b0f8c0 bf004770 4605b570 f8d54614
40a7702c 460e01bc bf182800 edc6f7e5 f240480a
40a7703c 490a6296 44014478 f7e54620 2101edb2
40a7704c 01bcf8c5 4631b130 f7e54622 2100edf2
40a7705c 41c0f8c5 bd704608 00013a04 b63d
40a7706c 4605b570 f8d54614 460e019c bf182800
40a7707c eda2f7e5 f240480a 490a62aa 44014478

code around lr:
73eb0094 46072121 f7fe4640 6a7aef8c b1646abb
73eb00a4 000ce88d 46294630 9b084622 ef68f7fe
73eb00b4 bf142801 20002003 b116e004 6034b10d
73eb00c4 2003702c 81fce8bd 4604b538 6a05b188
73eb00d4 f7ffb155 6829ffc3 6d9a6803 46284790
73eb00e4 ef6cf7fe 62202000 20012100 616160e1
73eb00f4 bd38bd38 6803b508 47906d5a b508bd08
73eb0104 6dda6803 bd084790 6803b508 47906fda
73eb0114 b510bd08 f8d46804 47a04084 b40cbd10
73eb0124 ab04b513 f8536804 f8d42b04 930140c8
73eb0134 e8bd47a0 b002401c b40c4770 ab04b513
73eb0144 f8536804 f8d42b04 930140f8 e8bd47a0
73eb0154 b002401c b40c4770 ab04b513 f8536804
73eb0164 f8d42b04 930141cc e8bd47a0 b002401c
73eb0174 b5084770 f8d36803 4790229c b508bd08
73eb0184 f8d36803 479022ac b510bd08 f8d46804 

  was:
My app randomly crash when angular.js makes an http call. This crashes just 
showed up when I changed from http to https. My Server certs are valid.

It happens when I make a normal call or use the 

[jira] [Created] (CB-8477) native crash at /system/lib/libssl.so

2015-02-13 Thread Hirbod (JIRA)
Hirbod created CB-8477:
--

 Summary: native crash at /system/lib/libssl.so
 Key: CB-8477
 URL: https://issues.apache.org/jira/browse/CB-8477
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.6.3, 3.7.1
 Environment: Sony Xperia Z1, Sony D2005, Samsung Galaxy Note 1
Reporter: Hirbod


My app randomly crash when angular.js makes an http call. This crashes just 
showed up when I changed from http to https. My Server certs are valid.

It happens when I make a normal call or use the FilePlugin to transfer Images 
to my Server (but really, it's randomly). Seems to be related to OkHttp or 
something, but I'm not sure. Some guys wrote down http 1.1 instead of 2.0 
should fix this, but I'm not sure.

The requesting server is https://nachbarschaft.net; (no content yet, but an 
API)

http://stackoverflow.com/questions/23861110/native-crash-at-system-lib-libssl-so-using-retrofit

https://github.com/square/okhttp/issues/184

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
UUID: .
Build fingerprint: 'Sony/C6903//14.4.A.0.157/Yv__jQ:user/release-keys'
Revision: '0'
pid: 2545, tid: 8461, name: DataRequestDisp   
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 
r0  r1  r2 7a172bed r3 0025
r4 0005 r5 7a172bee r6  r7 
r8 0001 r9 0020 sl 0025 fp 7a172bed
ip 73ebbb34 sp 7e6fb998 lr 73eb00b5 pc 40a76fae cpsr 600f0030
d0  d1 
d2  d3 
d4  d5 
d6  d7 54dbd39d
d8  d9 3fe043aa8000
d10 40668000 d11 404b88cb95b4b605
d12 4080e000 d13 bf808000
d14 41f26ffbf66fa33d d15 41ba87d1c08388fa
d16  d17 
d18 f00d406a3736c6ee d19 7f92a1b255156fd0
d20 97207f92a1b25515 d21 ca6d3a7e77157fbd
d22 5b7a5a1306c223b0 d23 743142198445fc06
d24 bfb3b0f2af749a6d d25 3fb10d66a0d03d51
d26 bfadde2d52defd9a d27 3fa97b4b24760deb
d28 3f90ad3ae322da11 d29 
d30 3fd5550d d31 bfc8ebc4
scr 8813

backtrace:
#00 pc 00026fae /system/lib/libssl.so (SSL_select_next_proto+49)
#01 pc 70b1 /system/lib/libjavacrypto.so
#02 pc 0002f373 /system/lib/libssl.so (ssl_parse_serverhello_tlsext+434)
#03 pc 00018129 /system/lib/libssl.so (ssl3_get_server_hello+1008)
#04 pc 00017527 /system/lib/libssl.so (ssl3_connect+566)
#05 pc 00027d4b /system/lib/libssl.so (SSL_do_handshake+50)
#06 pc aedd /system/lib/libjavacrypto.so
#07 pc 0002034c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#08 pc 00050fcf /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, 
JValue*, Method const*, Thread*)+398)
#09 pc 000297e0 /system/lib/libdvm.so
#10 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#11 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, 
JValue*)+184)
#12 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, 
Object*, bool, JValue*, std::__va_list)+336)
#13 pc 00063455 /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, 
Object*, JValue*, ...)+20)
#14 pc 00058133 /system/lib/libdvm.so
#15 pc d258 /system/lib/libc.so (__thread_entry+72)
#16 pc d3f0 /system/lib/libc.so (pthread_create+240)

code around pc:
40a76f8c d02c2b00 9f0f9701 21009102 4001f81b
40a76f9c 0801f101 eb0bb1cf eb0b0001 90030508
40a76fac f8162000 f1009000 454c0a01 eb06d109
40a76fbc 4628010a f7e54622 4601ef50 29002001
40a76fcc eb0ad00a 42b80009 eb08d3eb 9a040104
40a76fdc 42912002 e000d3da 99029e03 1c729f01
40a76fec 7832603a b005700a 8ff0e8bd 3178f8d0
40a76ffc 2100600b bf182b00 117cf890 47706011
40a7700c 11a4f8c0 21a8f8c0 bf004770 11acf8c0
40a7701c 21b0f8c0 bf004770 4605b570 f8d54614
40a7702c 460e01bc bf182800 edc6f7e5 f240480a
40a7703c 490a6296 44014478 f7e54620 2101edb2
40a7704c 01bcf8c5 4631b130 f7e54622 2100edf2
40a7705c 41c0f8c5 bd704608 00013a04 b63d
40a7706c 4605b570 f8d54614 460e019c bf182800
40a7707c eda2f7e5 f240480a 490a62aa 44014478

code around lr:
73eb0094 46072121 f7fe4640 6a7aef8c b1646abb
73eb00a4 000ce88d 46294630 9b084622 ef68f7fe
73eb00b4 bf142801 20002003 b116e004 6034b10d
73eb00c4 2003702c 81fce8bd 4604b538 6a05b188
73eb00d4 f7ffb155 6829ffc3 6d9a6803 46284790
73eb00e4 ef6cf7fe 62202000 20012100 616160e1
73eb00f4 bd38bd38 6803b508 47906d5a b508bd08
73eb0104 6dda6803 bd084790 6803b508 47906fda
73eb0114 b510bd08 f8d46804 47a04084 b40cbd10
73eb0124 ab04b513 f8536804 f8d42b04 930140c8
73eb0134 e8bd47a0 b002401c b40c4770 ab04b513
73eb0144 f8536804 f8d42b04 930140f8 e8bd47a0
73eb0154 b002401c b40c4770 ab04b513 f8536804
73eb0164 f8d42b04 930141cc e8bd47a0 b002401c
73eb0174 b5084770 f8d36803 4790229c b508bd08
73eb0184 f8d36803 479022ac b510bd08 f8d46804 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (CB-8447) 'cordova platform update android@3.7.1' fails

2015-02-12 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14318614#comment-14318614
 ] 

Hirbod commented on CB-8447:


I can confirm. I get the same warning. Really... this is the second time an 
update fails. Before it was iOS, now it is Android..

 'cordova platform update android@3.7.1' fails
 -

 Key: CB-8447
 URL: https://issues.apache.org/jira/browse/CB-8447
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaLib
Reporter: Omar Mefire

 [This issue is resolved in the current master branch]
 In cordova-lib@4.2.0, The following sequence of operations fails :
 - cordova platform add android@3.5.0
 - cordova platform update android@3.7.1
 The error message is :  Platform android@3.7.1 is not installed. See 
 `cordova platform list`.



--
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-8002) Creating a new div for every Js - Native exec() call

2015-01-23 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14290234#comment-14290234
 ] 

Hirbod commented on CB-8002:


[~ghowen] it sounds stupid, but my hotfix I've implemented works like charm 
(with JS)
$('iframe').not(':last').remove();

As soon as my DOM reaches 999+ nodes, it freezes my app and the google maps 
plugin. As soon as I fire $('iframe').remove() inside console (Safari Web 
Inspector) - everything runs fine again. For now (till 3.8.0 is out I can 
upgrade without removing and readding), this fixed all my problems for me.

 Creating a new div for every Js - Native exec() call
 -

 Key: CB-8002
 URL: https://issues.apache.org/jira/browse/CB-8002
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: Tested on multiple iOS 8.1 devices, simulators
Reporter: Serdar Onal
Assignee: Andrew Grieve
Priority: Critical

 Since the 3.7.0 update, when cordova does a Js to Native call using exec(), 
 somehow the underlying cordova.js is creating a gap://ready iframe on every 
 call. This means that if you made 1000 native calls you'll have 1000 divs on 
 the DOM.
 I believe this issue is of critical priority as it incurs a huge memory leak.
 Screenshot from safari inspector
 https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing



--
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-8002) Creating a new div for every Js - Native exec() call

2015-01-16 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14280455#comment-14280455
 ] 

Hirbod commented on CB-8002:


I'll have some similiar issues here. I use a native google maps plugin and 
every time I call the addMarker() request, a new iFrame is created in DOM. 
After 1000 markers, my app is crashing and dead. Please guys, at least provide 
some way of hotfixing. 

You just can't leave such critical bugs open since 11/Nov/14. More then 2 
months. Please push a 3.7.4 including at least a hotfix for that.

I know this is an open source project and I respect this as much as I can, 
donate and try to contribute as much as possible but don't ignore critical bugs 
for that such amount of time..

 Creating a new div for every Js - Native exec() call
 -

 Key: CB-8002
 URL: https://issues.apache.org/jira/browse/CB-8002
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: Tested on multiple iOS 8.1 devices, simulators
Reporter: Serdar Onal
Assignee: Andrew Grieve
Priority: Critical

 Since the 3.7.0 update, when cordova does a Js to Native call using exec(), 
 somehow the underlying cordova.js is creating a gap://ready iframe on every 
 call. This means that if you made 1000 native calls you'll have 1000 divs on 
 the DOM.
 I believe this issue is of critical priority as it incurs a huge memory leak.
 Screenshot from safari inspector
 https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing



--
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-8002) Creating a new div for every Js - Native exec() call

2015-01-16 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14218742#comment-14218742
 ] 

Hirbod edited comment on CB-8002 at 1/16/15 4:20 PM:
-

I can confirm this bug. I had a setInterval() with an console.log inside and 
wondered myself... More then 1000 created iframes in few minutes. But it seems 
not to effect memory (1mb increase) (because of display: none I guess)

But this should be fixed quickly. Thanks everybody!

Edit: correction: it has bad side-effects with memory.


was (Author: hirbod):
I can confirm this bug. I had a setInterval() with an console.log inside and 
wondered myself... More then 1000 created iframes in few minutes. But it seems 
not to effect memory (1mb increase) (because of display: none I guess)

But this should be fixed quickly. Thanks everybody!

 Creating a new div for every Js - Native exec() call
 -

 Key: CB-8002
 URL: https://issues.apache.org/jira/browse/CB-8002
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: Tested on multiple iOS 8.1 devices, simulators
Reporter: Serdar Onal
Assignee: Andrew Grieve
Priority: Critical

 Since the 3.7.0 update, when cordova does a Js to Native call using exec(), 
 somehow the underlying cordova.js is creating a gap://ready iframe on every 
 call. This means that if you made 1000 native calls you'll have 1000 divs on 
 the DOM.
 I believe this issue is of critical priority as it incurs a huge memory leak.
 Screenshot from safari inspector
 https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing



--
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-8002) Creating a new div for every Js - Native exec() call

2015-01-16 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14280455#comment-14280455
 ] 

Hirbod edited comment on CB-8002 at 1/16/15 4:19 PM:
-

I'll have some similiar issues here. I use a native google maps plugin and 
every time I call the addMarker() request, a new iFrame is created in DOM. 
After 1000 markers, my app is crashing and dead. Please guys, at least provide 
some way of hotfixing. 

You just can't leave such critical bugs open since 11/Nov/14. More then 2 
months. Please push a 3.7.4 including at least a hotfix for that.

I know this is an open source project and I respect this as much as I can, 
donate and try to contribute as much as possible, but please, don't ignore 
critical bugs for that such amount of time..


was (Author: hirbod):
I'll have some similiar issues here. I use a native google maps plugin and 
every time I call the addMarker() request, a new iFrame is created in DOM. 
After 1000 markers, my app is crashing and dead. Please guys, at least provide 
some way of hotfixing. 

You just can't leave such critical bugs open since 11/Nov/14. More then 2 
months. Please push a 3.7.4 including at least a hotfix for that.

I know this is an open source project and I respect this as much as I can, 
donate and try to contribute as much as possible but don't ignore critical bugs 
for that such amount of time..

 Creating a new div for every Js - Native exec() call
 -

 Key: CB-8002
 URL: https://issues.apache.org/jira/browse/CB-8002
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: Tested on multiple iOS 8.1 devices, simulators
Reporter: Serdar Onal
Assignee: Andrew Grieve
Priority: Critical

 Since the 3.7.0 update, when cordova does a Js to Native call using exec(), 
 somehow the underlying cordova.js is creating a gap://ready iframe on every 
 call. This means that if you made 1000 native calls you'll have 1000 divs on 
 the DOM.
 I believe this issue is of critical priority as it incurs a huge memory leak.
 Screenshot from safari inspector
 https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing



--
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-8036) Cannot update to 3.7.0

2014-12-21 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14255416#comment-14255416
 ] 

Hirbod commented on CB-8036:


Thank you very much [~JanMisker]

your workaround solved my problem. Hope this will be fixed soon.

 Cannot update to 3.7.0
 --

 Key: CB-8036
 URL: https://issues.apache.org/jira/browse/CB-8036
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: OS X Maverics (10.9.5) with XCode 6
Reporter: Hirbod

 Hi,
 before 3.7.0 I could update without any problems from 3.5.0 to 3.6.3
 I tried to update from 3.6.3 to 3.7.0 but now I receive this error:
 cordova platform update ios
 module.js:340
 throw err;
   ^
 Error: Cannot find module 'shelljs'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Function.Module.runMain (module.js:497:10)
 Error: 
 /Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
 Command failed with exit code 8
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)
 I tried to reinstall shelljs locally and globally but I can't figure out this 
 bug.
 Update for Android to version 3.6.4 worked without any problems.
 Of course I've updated phonegap and cordova before (like described in the CLI 
 Docs on phonegap.com)



--
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-8036) Cannot update to 3.7.0

2014-11-20 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14219830#comment-14219830
 ] 

Hirbod commented on CB-8036:


Hi, by the way: I've managed to fix this (not nice, but functional) with 
cordova platform rm ios and cordova platform add ios. After removing the 
platform it worked as expected, but I had to restore all my Frameworks and 
plist-settings.

 Cannot update to 3.7.0
 --

 Key: CB-8036
 URL: https://issues.apache.org/jira/browse/CB-8036
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: OS X Maverics (10.9.5) with XCode 6
Reporter: Hirbod

 Hi,
 before 3.7.0 I could update without any problems from 3.5.0 to 3.6.3
 I tried to update from 3.6.3 to 3.7.0 but now I receive this error:
 cordova platform update ios
 module.js:340
 throw err;
   ^
 Error: Cannot find module 'shelljs'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Function.Module.runMain (module.js:497:10)
 Error: 
 /Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
 Command failed with exit code 8
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)
 I tried to reinstall shelljs locally and globally but I can't figure out this 
 bug.
 Update for Android to version 3.6.4 worked without any problems.
 Of course I've updated phonegap and cordova before (like described in the CLI 
 Docs on phonegap.com)



--
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-8002) Creating a new div for every Js - Native exec() call

2014-11-19 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14218742#comment-14218742
 ] 

Hirbod edited comment on CB-8002 at 11/20/14 12:03 AM:
---

I can confirm this bug. I had a setInterval() with an console.log inside and 
wondered myself... More then 1000 created iframes in few minutes. But it seems 
not to effect memory (1mb increase) (because of display: none I guess)

But this should be fixed quickly. Thanks everybody!


was (Author: hirbod):
I can confirm this bug. I had a setInterval() with an console.log inside and 
wondered myself... More then 1000 created iframes in few minutes. But it seems 
not the effect memory that badly (because of display: none I guess)

But I guess this should be fixed quickly.

 Creating a new div for every Js - Native exec() call
 -

 Key: CB-8002
 URL: https://issues.apache.org/jira/browse/CB-8002
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: Tested on multiple iOS 8.1 devices, simulators
Reporter: Serdar Onal
Assignee: Shazron Abdullah
Priority: Critical

 Since the 3.7.0 update, when cordova does a Js to Native call using exec(), 
 somehow the underlying cordova.js is creating a gap://ready iframe on every 
 call. This means that if you made 1000 native calls you'll have 1000 divs on 
 the DOM.
 I believe this issue is of critical priority as it incurs a huge memory leak.
 Screenshot from safari inspector
 https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing



--
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-8002) Creating a new div for every Js - Native exec() call

2014-11-19 Thread Hirbod (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-8002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14218742#comment-14218742
 ] 

Hirbod commented on CB-8002:


I can confirm this bug. I had a setInterval() with an console.log inside and 
wondered myself... More then 1000 created iframes in few minutes. But it seems 
not the effect memory that badly (because of display: none I guess)

But I guess this should be fixed quickly.

 Creating a new div for every Js - Native exec() call
 -

 Key: CB-8002
 URL: https://issues.apache.org/jira/browse/CB-8002
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.7.0
 Environment: Tested on multiple iOS 8.1 devices, simulators
Reporter: Serdar Onal
Assignee: Shazron Abdullah
Priority: Critical

 Since the 3.7.0 update, when cordova does a Js to Native call using exec(), 
 somehow the underlying cordova.js is creating a gap://ready iframe on every 
 call. This means that if you made 1000 native calls you'll have 1000 divs on 
 the DOM.
 I believe this issue is of critical priority as it incurs a huge memory leak.
 Screenshot from safari inspector
 https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing



--
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-8036) Cannot update to 3.7.0

2014-11-18 Thread Hirbod (JIRA)
Hirbod created CB-8036:
--

 Summary: Cannot update to 3.7.0
 Key: CB-8036
 URL: https://issues.apache.org/jira/browse/CB-8036
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.7.0
 Environment: OS X Maverics (10.9.5) with XCode 6
Reporter: Hirbod


Hi,

before 3.7.0 I could update without any problems from 3.5.0 to 3.6.4
I tried to update from 3.6.4 to 3.7.0 but now I receive this error:

cordova platform update ios

module.js:340
throw err;
  ^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous 
(/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Error: 
/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
Command failed with exit code 8
at ChildProcess.whenDone 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

I tried to reinstall shelljs locally and globally but I can't figure out this 
bug.

Update for Android to version 3.6.4 worked without any problems.



--
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-8036) Cannot update to 3.7.0

2014-11-18 Thread Hirbod (JIRA)

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

Hirbod updated CB-8036:
---
Description: 
Hi,

before 3.7.0 I could update without any problems from 3.5.0 to 3.6.4
I tried to update from 3.6.4 to 3.7.0 but now I receive this error:

cordova platform update ios

module.js:340
throw err;
  ^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous 
(/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Error: 
/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
Command failed with exit code 8
at ChildProcess.whenDone 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

I tried to reinstall shelljs locally and globally but I can't figure out this 
bug.

Update for Android to version 3.6.4 worked without any problems.
Of course I've updated phonegap and cordova before (like described in the CLI 
Docs on phonegap.com)

  was:
Hi,

before 3.7.0 I could update without any problems from 3.5.0 to 3.6.4
I tried to update from 3.6.4 to 3.7.0 but now I receive this error:

cordova platform update ios

module.js:340
throw err;
  ^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous 
(/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Error: 
/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
Command failed with exit code 8
at ChildProcess.whenDone 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

I tried to reinstall shelljs locally and globally but I can't figure out this 
bug.

Update for Android to version 3.6.4 worked without any problems.


 Cannot update to 3.7.0
 --

 Key: CB-8036
 URL: https://issues.apache.org/jira/browse/CB-8036
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.7.0
 Environment: OS X Maverics (10.9.5) with XCode 6
Reporter: Hirbod

 Hi,
 before 3.7.0 I could update without any problems from 3.5.0 to 3.6.4
 I tried to update from 3.6.4 to 3.7.0 but now I receive this error:
 cordova platform update ios
 module.js:340
 throw err;
   ^
 Error: Cannot find module 'shelljs'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Function.Module.runMain (module.js:497:10)
 Error: 
 /Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
 Command failed with exit code 8
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)
 I tried to reinstall shelljs locally and globally but I can't figure out this 
 bug.
 Update for Android to version 3.6.4 worked without any problems.
 Of course I've updated phonegap and cordova before (like described in the CLI 
 Docs on phonegap.com)



--
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-8036) Cannot update to 3.7.0

2014-11-18 Thread Hirbod (JIRA)

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

Hirbod updated CB-8036:
---
Description: 
Hi,

before 3.7.0 I could update without any problems from 3.5.0 to 3.6.3
I tried to update from 3.6.3 to 3.7.0 but now I receive this error:

cordova platform update ios

module.js:340
throw err;
  ^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous 
(/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Error: 
/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
Command failed with exit code 8
at ChildProcess.whenDone 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

I tried to reinstall shelljs locally and globally but I can't figure out this 
bug.

Update for Android to version 3.6.4 worked without any problems.
Of course I've updated phonegap and cordova before (like described in the CLI 
Docs on phonegap.com)

  was:
Hi,

before 3.7.0 I could update without any problems from 3.5.0 to 3.6.4
I tried to update from 3.6.4 to 3.7.0 but now I receive this error:

cordova platform update ios

module.js:340
throw err;
  ^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.anonymous 
(/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
Error: 
/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
Command failed with exit code 8
at ChildProcess.whenDone 
(/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

I tried to reinstall shelljs locally and globally but I can't figure out this 
bug.

Update for Android to version 3.6.4 worked without any problems.
Of course I've updated phonegap and cordova before (like described in the CLI 
Docs on phonegap.com)


 Cannot update to 3.7.0
 --

 Key: CB-8036
 URL: https://issues.apache.org/jira/browse/CB-8036
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 3.7.0
 Environment: OS X Maverics (10.9.5) with XCode 6
Reporter: Hirbod

 Hi,
 before 3.7.0 I could update without any problems from 3.5.0 to 3.6.3
 I tried to update from 3.6.3 to 3.7.0 but now I receive this error:
 cordova platform update ios
 module.js:340
 throw err;
   ^
 Error: Cannot find module 'shelljs'
 at Function.Module._resolveFilename (module.js:338:15)
 at Function.Module._load (module.js:280:25)
 at Module.require (module.js:364:17)
 at require (module.js:380:17)
 at Object.anonymous 
 (/Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update:21:13)
 at Module._compile (module.js:456:26)
 at Object.Module._extensions..js (module.js:474:10)
 at Module.load (module.js:356:32)
 at Function.Module._load (module.js:312:12)
 at Function.Module.runMain (module.js:497:10)
 Error: 
 /Users/Hirbod/.cordova/lib/npm_cache/cordova-ios/3.7.0/package/bin/update: 
 Command failed with exit code 8
 at ChildProcess.whenDone 
 (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
 at ChildProcess.emit (events.js:98:17)
 at maybeClose (child_process.js:756:16)
 at Process.ChildProcess._handle.onexit (child_process.js:823:5)
 I tried to reinstall shelljs locally and globally but I can't figure out this 
 bug.
 Update for Android to version 3.6.4 worked without any problems.
 Of course I've updated phonegap and cordova before (like described in the CLI 
 Docs on phonegap.com)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: