Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0, EE-4.0.0.GA
-
Fix Version/s: 4.1
-
Component/s: JavaScript Client
-
Labels:None
-
Environment:Mobile Device
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
The create-push-id.icepush request is currently being send synchronously using an XHR. This blocks the connection to the server which can lead to a complete block when using a mobile device. Instead is should be send asynchronously.
The ice.push.createPushId(retries) function has been refactored to the ice.push.createPushId(retries, callback) function. Thus the former no longer exists as a synchronous mode for this function can no longer be supported. Now a callback function is to be passed into this function invocation. Once the JavaScript Bridge receives the newly created unique Push-ID from the server, it invokes the callback function in order to pass the Push-ID to the caller.
Marking this one as FIXED.