Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE 1.3.1.GA
-
Fix Version/s: EE 1.3.1.GA_P03
-
Component/s: Faces
-
Labels:None
-
Environment:ICEmobile EE 1.3.1.GA_P01 mobile showcase sample
Description
When using the ICEmobile Showcase CloudPush demo, the "Register for Cloud Push" button is not displayed if the user has accessed another demo previously in the session that uses the BridgeIt app.
I'm getting the same results on my iphone 5 / iOS 8.1.2 as previously.
1. Start http://mobileshowcase.icesoft.org/mobileshowcase/showcase.jsf demo
2. Use camera demo (works).
3. Load Cloud Push demo.
4. Note that the "Register for Cloud Push" button is not displayed on the page, thus, there is no way to register for Cloud Push, and a Priority Push will not generate a native notification.
However, if you do not use another demo that accesses the BridgeIt app., but instead immediately load the Cloud Push demo, the "Register for Cloud Push" button will be visible, and clicking it, and then the Priority Push button will result in a native notification being received if the browser is closed prior to the Priority Push being received.
I'm getting the same results on my iphone 5 / iOS 8.1.2 as previously.
1. Start http://mobileshowcase.icesoft.org/mobileshowcase/showcase.jsf demo
2. Use camera demo (works).
3. Load Cloud Push demo.
4. Note that the "Register for Cloud Push" button is not displayed on the page, thus, there is no way to register for Cloud Push, and a Priority Push will not generate a native notification.
However, if you do not use another demo that accesses the BridgeIt app., but instead immediately load the Cloud Push demo, the "Register for Cloud Push" button will be visible, and clicking it, and then the Priority Push button will result in a native notification being received if the browser is closed prior to the Priority Push being received.
Issue Links
- depends on
-
MOBI-1137 Cloud Push initialization issue
- Resolved
Note that this component should be settings the button state based on asking bridgeit.js if the viewport is already registered for cloud push or not. If this API is unreliable or none-existing in bridgeit.js, we should add it for the upcoming bridgeit 1.0.6 release. Any improvements made in this regard should also be carried forward to the IF 4 mobi:cloudPush component under a new JIRA.