Closed
Bug 1407836
Opened 8 years ago
Closed 8 years ago
Push notification from Leanplum only sent if signed into FxA (iOS)
Categories
(Firefox for iOS :: General, defect, P1)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| fxios | 10.0 | --- |
People
(Reporter: jcollings, Unassigned)
Details
(Whiteboard: [MMA] [MobileCore])
Attachments
(1 file)
|
130.07 KB,
image/png
|
Details |
Simion - if you can help with QA'ing this issue, I would appreciate it.
Steps to reproduce:
1. Launch Firefox (do not sign into FxA)
2. Enable pre-push permission prompt
3. Enable system push prompt
4. Receive a push notification
Actual results:
- After completing steps 1-3, I sent myself a push notification and never received it.
- After signing into FxA, I sent myself a push notification and received it.
Expected results:
- Should be able to receive push notifications regardless if signed into FxA or not.
Let me know what else is needed!
Updated•8 years ago
|
Flags: needinfo?(simion.basca)
Comment 1•8 years ago
|
||
Confirming that the STR are reproducible. Jean, I tried the following STR and manage to send push notifications without signing in to FxA. Can you please confirm that this also works for you?
Steps to reproduce:
1. Launch Firefox (do not sign into FxA)
2. Enable pre-push permission prompt (Send a push pre-permission from Leanplum to device)
3. Enable system push prompt (Tap "Allow" when the prompt to allow notifications is displayed)
4. Background Firefox (Push notifications are not received when Firefox is foregrounded)
5. Send a push notification from Leanplum to device (At this point notifications are not received. Check screenshot)
6. Foreground Firefox
7. Background Firefox
8. Send a push notification from Leanplum to device
After step 8) I am receiving push notifications to my device without signing in to FxA.
Flags: needinfo?(simion.basca)
Updated•8 years ago
|
Flags: needinfo?(jcollings)
Updated•8 years ago
|
| Reporter | ||
Comment 2•8 years ago
|
||
Hi Simon thanks for reproducing the steps.
I tried it again and not sure if you had this issue but it's all about the timing. I needed to give my app about 15 minutes right after I allowed "opt-in" in order for the system to change my push status to "enabled" before sending a push notification. When I tested it last week, I sent a push notification right away after allowing opt-in but the system didn't change my status yet which is why I didn't receive a push. By the time I signed into FxA and then sent myself a push, the system already changed my push status to enabled.
Steps I reproduced:
1. Deleted my app for a fresh start
2. Reinstalled app
3. Checked to make sure my push notifications were disabled
4. Sent a pre-push opt-in
5. Enabled pre-push opt-in prompt
6. Enabled system push prompt
7. Closed app and waited 15 minutes (I was able to see that my push status changed after 15 min)
8. Send a push notification from Leanplum to device
I was able to receive a push without signing into FxA.
Thanks for helping and investigating this.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jcollings)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•