Closed Bug 877490 Opened 10 years ago Closed 10 years ago

Changing SIM cards should prompt the user to switch regions

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-06-06

People

(Reporter: cvan, Assigned: cvan)

References

Details

(Whiteboard: p=2)

We've been getting a lot of confusion about how we do region detection (e.g., bug 876386, bug 876404).

When a user changes his/her SIM card, we currently just change the carrier and pass that to the API. We originally assumed that the original region set is the user's true region - and that changing/adding a SIM should not change that region. But it's becoming apparent that users/QA/people are expecting the region to change upon changing SIM cards.

Instead of silently ignoring a new SIM card if we already have a region saved for that user, we should prompt the user to say that we detected a new SIM with a new region to browse apps in. I'd like to reuse the styles provided by Michael in https://bugzilla.mozilla.org/show_bug.cgi?id=780720
I didn't think we could detect when a new SIM was inserted.  Can we?
(In reply to Wil Clouser [:clouserw] from comment #1)
> I didn't think we could detect when a new SIM was inserted.  Can we?

Yes: No SIM -> SIM
Yes: Old SIM -> New SIM
No: SIM -> No SIM
(In reply to Christopher Van Wiemeersch [:cvan] from comment #2)
> (In reply to Wil Clouser [:clouserw] from comment #1)
> > I didn't think we could detect when a new SIM was inserted.  Can we?
> 
> Yes: No SIM -> SIM
> Yes: Old SIM -> New SIM
> No: SIM -> No SIM

Ah, thank you for the explanation.
https://github.com/mozilla/fireplace/commit/60b8968
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: p=2
I switched between movistar and t-mobile SIMS after clearing localstorage. However there was no prompt to change regions.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Krupa's Polish T-Mobile SIM card had an MCC-MNC pair of 260-021373417656, which isn't a recognised pair that we know. MNCs are always three digits, as far as I can tell, so I'm not sure what to make of this. I'm talking to Fabrice, etc.
Depends on: 880369
So this works for SIMs with valid MCC-MNC pairs. But this won't be verifiable with a Polish SIM until bug 880369 is fixed. Feel free to try another SIM. But yeah.
https://github.com/mozilla/fireplace/commit/3e4d491

Krupa, can you please try with a different SIM? Bug 880369 fixes the issues you encountered with your Polish SIM.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
I filed a few bugs for alignment and inaccurate region detection. But the confirmation message is now in place.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.