mozilla-b2g / firefoxos-loop-client

DEPRECATED - Firefox OS client for the Loop service
Apache License 2.0
28 stars 44 forks source link

msisdn auth isn't working #53

Closed edwindotcom closed 10 years ago

edwindotcom commented 10 years ago
  1. flash b2g 2.0 branch to Flame device with SIM card
  2. use app-manager to install this app
  3. launch Loop, swipe to the right till "Let's start"
  4. tap to share
  5. tap 'use phone number'
  6. click share on phone number

actual: 'connecting' just spins, if you click 'X' to close, you see authenticating spinner

I set these gecko prefs: user_pref("identity.fxaccounts.loglevel", "TRACE"); user_pref("services.mobileid.loglevel", "TRACE");

the only thing i saw in my logcat was:

E/GeckoConsole( 8454): [JavaScript Warning: "Invalid URI. Load of media resource  failed." {file: "app://loop.dev.mozaws.net/index.html" line: 0}]
E/GeckoConsole( 8454): [JavaScript Warning: "Error in parsing value for 'box-sizing'.  Declaration dropped." {file: "app://loop.dev.mozaws.net/style/calllog.css" line: 79 column: 14 source: "  box-sizing: boder-box;"}]
I/Gonk    ( 1364): Setting nice for pid 1627 to 18
I/Gonk    ( 1364): Changed nice for pid 1627 from 1 to 18.
E/GeckoConsole( 8454): [JavaScript Warning: "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/" {file: "app://loop.dev.mozaws.net/libs/l10n.js" line: 309}]
E/Sensors ( 1364): change G sensor state "0 -> 1"
E/GeckoConsole( 8454): Content JS LOG at app://loop.dev.mozaws.net/js/helpers/account_helper.js:197 in init/<: Account null
E/GeckoConsole( 8454): Content JS LOG at app://loop.dev.mozaws.net/js/helpers/account_helper.js:203 in init/<: First run
ferjm commented 10 years ago

Thanks for the report Edwin.

It seems that you might not set the loglevel preferences correctly as I can't see any mobile id log in your pasted logcat. Try setting it to "Debug" (with capital D) instead of "TRACE".

Also, please, don't use github to report issues. Use bugzilla instead.

Thanks

edwindotcom commented 10 years ago

here's my logcat - https://edwong.pastebin.mozilla.org/5596653 I'll log future issues in bugzilla

edwindotcom commented 10 years ago

i also tried using your msisdn verifier client with these values - and "mcc":"310","mnc":"410","msisdn":"MY_NUMBER" and I never received a SMS. I've also confirmed my number is receiving SMS as normal.

edwindotcom commented 10 years ago

ok - i'll move this bug to bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1042866