Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: BridgeIt 1.0
-
Fix Version/s: BridgeIt 1.0
-
Component/s: Containers
-
Labels:None
-
Environment:Android
Description
While running my own GeoSpy location tracking app on both the iPhone and the Android phones, the Android device doesn't seem to resume push after switching to BridgeIt and back again. In my application I call:
function startGeoSpy(updateStrategy, duration) {
var geospyURL = "http://" + window.location.host + "/locate/location/geospy";
bridgeit.geoSpy('geospytracker', 'geoSpyCallback', {postURL: geospyURL, parameters: {strategy: updateStrategy, duration: duration, _jguid: getUID()}});
}
On the both devices, this will properly:
- trigger BridgeIt to send a request to the Location Service
- store the location and id information in the database
- make a push call
On the iPhone this works fine. On the Android device, when it returns to the browser, push is no longer functioning. The remote dev console for Chrome shows that the heartbeat has stopped and no notifications are coming in.
function startGeoSpy(updateStrategy, duration) {
var geospyURL = "http://" + window.location.host + "/locate/location/geospy";
bridgeit.geoSpy('geospytracker', 'geoSpyCallback', {postURL: geospyURL, parameters: {strategy: updateStrategy, duration: duration, _jguid: getUID()}});
}
On the both devices, this will properly:
- trigger BridgeIt to send a request to the Location Service
- store the location and id information in the database
- make a push call
On the iPhone this works fine. On the Android device, when it returns to the browser, push is no longer functioning. The remote dev console for Chrome shows that the heartbeat has stopped and no notifications are coming in.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #38708 | Thu Oct 31 14:46:46 MDT 2013 | ted.goddard | do not clean up push listeners automatically on window close, instead rely on liveness detection ( |
Files Changed | ||||
MODIFY
/icepush/trunk/icepush/core/src/main/javascript/application.js
|