[jira] [Commented] (CB-12035) [cordova-plugin-network-information] connection info is not reliable on Android 6
[ https://issues.apache.org/jira/browse/CB-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676418#comment-16676418 ] ASF GitHub Bot commented on CB-12035: - PieterVanPoyer commented on issue #74: CB-12035 (android) Fix bug [cordova-plugin-network-information] connection info is not reliable on Android 6 URL: https://github.com/apache/cordova-plugin-network-information/pull/74#issuecomment-436185946 Back to the drawing table. Tests on my Oreo and LG are not successfull. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > [cordova-plugin-network-information] connection info is not reliable on > Android 6 > - > > Key: CB-12035 > URL: https://issues.apache.org/jira/browse/CB-12035 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-network-information >Affects Versions: 1.3.0 > Environment: Samsung Galaxy Edge S6 / Android 6 > useragent: "Mozilla/5.0 (Linux; Android 6.0.1; SM-G925F Build/MMB29K; wv) > AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.124 > Mobile Safari/537.36" > reproduced with: > cordova-plugin-network-information@1.3.0 (latest) > cordova-plugin-network-information@1.2.0 >Reporter: jakub-g >Priority: Major > Labels: android > > I've noticed that information exposed by the plugin is not reliable. It > happens often that I'm connected to the internet via WiFi, and the plugin > says that there's no connection. > It's not easy to reproduce it on-demand, but I reproduced it many times > recently. It happens most often when in the morning, I open the Cordova app > that was running in background throughout the night. > Then, when I connect to Chrome Dev Tools, I can do a repl session like this: > {code} > > navigator.connection.type > "none" > > window.fetch('http://www.example.org').then(function(res) > > {console.log(res.status)}) > Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined} > 200 > Fetch complete: GET "http://www.example.org/";.(anonymous function) > > navigator.connection.type > "none" > {code} > So, the plugin thinks I'm offline, yet any HTTP calls done within the app > without checking if I'm offline or online, are successful (either from the > app or devtools). > When I disable WiFi and reenable it, after a few seconds the plugin updates > its state and then it tells that connection type is "wifi". > There are several possibilities here: > - either system (or device driver) gives us incorrect information, or > - cordova plugin is caching data and/or not listening properly to all the > events and/or incorrectly processing it > and most probably the issue manifests itself when the device is asleep for > many hours (but I'm not sure about this). > Note that I also noticed another issue, that sometimes the Chrome network > stack thinks I'm offline (when I do an HTTP call, it fails immediately and I > see network errors in devtools console) - and then I restart the Cordova app, > and everything's fine, all HTTP calls are ok - but this is unrelated to this > ticket, and perhaps a bug in Chrome. > This ticket seems to be most likely a bug in the plugin, because as I said > before, doing HTTP call succeeds despite the plugin telling me that I'm > offline. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12035) [cordova-plugin-network-information] connection info is not reliable on Android 6
[ https://issues.apache.org/jira/browse/CB-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676587#comment-16676587 ] ASF GitHub Bot commented on CB-12035: - janpio commented on issue #74: [WIP] CB-12035 (android) Fix bug [cordova-plugin-network-information] connection info is not reliable on Android 6 URL: https://github.com/apache/cordova-plugin-network-information/pull/74#issuecomment-436207859 (I added `[WIP]` to the PR title to indicate that work on this is still ongoing. Just remove it when you have something that could and should be reviewed. Thanks.) This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > [cordova-plugin-network-information] connection info is not reliable on > Android 6 > - > > Key: CB-12035 > URL: https://issues.apache.org/jira/browse/CB-12035 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-network-information >Affects Versions: 1.3.0 > Environment: Samsung Galaxy Edge S6 / Android 6 > useragent: "Mozilla/5.0 (Linux; Android 6.0.1; SM-G925F Build/MMB29K; wv) > AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.124 > Mobile Safari/537.36" > reproduced with: > cordova-plugin-network-information@1.3.0 (latest) > cordova-plugin-network-information@1.2.0 >Reporter: jakub-g >Priority: Major > Labels: android > > I've noticed that information exposed by the plugin is not reliable. It > happens often that I'm connected to the internet via WiFi, and the plugin > says that there's no connection. > It's not easy to reproduce it on-demand, but I reproduced it many times > recently. It happens most often when in the morning, I open the Cordova app > that was running in background throughout the night. > Then, when I connect to Chrome Dev Tools, I can do a repl session like this: > {code} > > navigator.connection.type > "none" > > window.fetch('http://www.example.org').then(function(res) > > {console.log(res.status)}) > Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined} > 200 > Fetch complete: GET "http://www.example.org/";.(anonymous function) > > navigator.connection.type > "none" > {code} > So, the plugin thinks I'm offline, yet any HTTP calls done within the app > without checking if I'm offline or online, are successful (either from the > app or devtools). > When I disable WiFi and reenable it, after a few seconds the plugin updates > its state and then it tells that connection type is "wifi". > There are several possibilities here: > - either system (or device driver) gives us incorrect information, or > - cordova plugin is caching data and/or not listening properly to all the > events and/or incorrectly processing it > and most probably the issue manifests itself when the device is asleep for > many hours (but I'm not sure about this). > Note that I also noticed another issue, that sometimes the Chrome network > stack thinks I'm offline (when I do an HTTP call, it fails immediately and I > see network errors in devtools console) - and then I restart the Cordova app, > and everything's fine, all HTTP calls are ok - but this is unrelated to this > ticket, and perhaps a bug in Chrome. > This ticket seems to be most likely a bug in the plugin, because as I said > before, doing HTTP call succeeds despite the plugin telling me that I'm > offline. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12035) [cordova-plugin-network-information] connection info is not reliable on Android 6
[ https://issues.apache.org/jira/browse/CB-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676853#comment-16676853 ] ASF GitHub Bot commented on CB-12035: - terpro commented on issue #74: [WIP] CB-12035 (android) Fix bug [cordova-plugin-network-information] connection info is not reliable on Android 6 URL: https://github.com/apache/cordova-plugin-network-information/pull/74#issuecomment-436279058 @PieterVanPoyer The changes you made originally fixed the issue for Android 6+ devices, but broke anything below 6. Is it possible to just add an API level/Android version check and use the old or new code based on that? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > [cordova-plugin-network-information] connection info is not reliable on > Android 6 > - > > Key: CB-12035 > URL: https://issues.apache.org/jira/browse/CB-12035 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-network-information >Affects Versions: 1.3.0 > Environment: Samsung Galaxy Edge S6 / Android 6 > useragent: "Mozilla/5.0 (Linux; Android 6.0.1; SM-G925F Build/MMB29K; wv) > AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.124 > Mobile Safari/537.36" > reproduced with: > cordova-plugin-network-information@1.3.0 (latest) > cordova-plugin-network-information@1.2.0 >Reporter: jakub-g >Priority: Major > Labels: android > > I've noticed that information exposed by the plugin is not reliable. It > happens often that I'm connected to the internet via WiFi, and the plugin > says that there's no connection. > It's not easy to reproduce it on-demand, but I reproduced it many times > recently. It happens most often when in the morning, I open the Cordova app > that was running in background throughout the night. > Then, when I connect to Chrome Dev Tools, I can do a repl session like this: > {code} > > navigator.connection.type > "none" > > window.fetch('http://www.example.org').then(function(res) > > {console.log(res.status)}) > Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined} > 200 > Fetch complete: GET "http://www.example.org/";.(anonymous function) > > navigator.connection.type > "none" > {code} > So, the plugin thinks I'm offline, yet any HTTP calls done within the app > without checking if I'm offline or online, are successful (either from the > app or devtools). > When I disable WiFi and reenable it, after a few seconds the plugin updates > its state and then it tells that connection type is "wifi". > There are several possibilities here: > - either system (or device driver) gives us incorrect information, or > - cordova plugin is caching data and/or not listening properly to all the > events and/or incorrectly processing it > and most probably the issue manifests itself when the device is asleep for > many hours (but I'm not sure about this). > Note that I also noticed another issue, that sometimes the Chrome network > stack thinks I'm offline (when I do an HTTP call, it fails immediately and I > see network errors in devtools console) - and then I restart the Cordova app, > and everything's fine, all HTTP calls are ok - but this is unrelated to this > ticket, and perhaps a bug in Chrome. > This ticket seems to be most likely a bug in the plugin, because as I said > before, doing HTTP call succeeds despite the plugin telling me that I'm > offline. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-12961) cordova-plugin-file doesn't work on browser platform with iOS devices
[ https://issues.apache.org/jira/browse/CB-12961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677048#comment-16677048 ] ASF GitHub Bot commented on CB-12961: - robertfromont commented on issue #210: CB-12961 URL: https://github.com/apache/cordova-plugin-file/pull/210#issuecomment-436339309 Ok, I think those are all resolved now. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > cordova-plugin-file doesn't work on browser platform with iOS devices > - > > Key: CB-12961 > URL: https://issues.apache.org/jira/browse/CB-12961 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-file > Environment: "browser" platform apps running in iOS browsers - Safari > and Chrome >Reporter: Robert Fromont >Priority: Minor > Original Estimate: 24h > Remaining Estimate: 24h > > An error is returned when put is called on the indexedDB database, because > apparently iOS on Safari doesn't support saving Blobs. It turns out it also > doesn't appear to support saving objects with function attributes, including > getters/setters. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-13445) Streaming media in iOS has long load times
[ https://issues.apache.org/jira/browse/CB-13445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677644#comment-16677644 ] ASF GitHub Bot commented on CB-13445: - ptykamikaze commented on issue #169: CB-13445 (iOS) Streaming media can take up to 8-10 seconds to start URL: https://github.com/apache/cordova-plugin-media/pull/169#issuecomment-436495716 Hello! I had this plugin working fine loading mp3 from websites... but my app use local and web files... now that I got this latest changes, the mp3 from websites are not playing... This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Streaming media in iOS has long load times > -- > > Key: CB-13445 > URL: https://issues.apache.org/jira/browse/CB-13445 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-plugin-media > Environment: iOS platform within cordova >Reporter: Ashish Mehra >Priority: Major > > Using the plugin, cordova-plugin-media, one can stream audio/video media. On > the iOS front, streaming media can take anywhere from 8-10 seconds to start > playing, even if the length of the media is < 10 mins. > The culprit here is `automaticallyWaitsToMinimizeStalling` property, that > seems to buffer a more than required amount of the media causing load time > delays. In some cases, it actually downloads the entire media file before > starting and on slow internet connections this can mean load times of > 15 > seconds. > Disabling this property should make iOS media load times to almost instant as > it will only buffer a default/set amount. -- 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