-
18 Mar 2013 2:07 PM #1
HTC One X - false offline event
HTC One X - false offline event
REQUIRED INFORMATION
Ext version tested:- Sencha Touch 2.1.
- Packed with PhoneGap 2.2
- Offline event is fired on page containing map, even when wi-fi or 3G is strong/active.
- Create panel with map
- Create online/offline listeners
- Go to map and offline event is fired
- Network state is correctly recognized.
- Offline event fired when app is online.
Code:document.addEventListener("offline", CallbackFunction, false); function CallbackFunction() { // Handle the offline event }
HELPFUL INFORMATION Screenshot or Video:- none
- none
- not provided
- only default ext-all.css
- Android 4.0.3
-
19 Mar 2013 5:13 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
I don't see anything here that is using Sencha Touch. document.addEventListener is native javascript and has nothing to do with Sencha Touch so this looks to be a device/phonegap issue.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote