Discussion:
[whispersystems] Emulator push registration?
Rice, John Robert
2015-07-11 21:45:23 UTC
Permalink
I'm attempting to do work on TS bugs using the emulator in Android Studio as opposed to installing on dev handsets. I know that you can emulate incoming/outgoing SMS in terminal using the port of each Android VM, but is there a way to register with the push server to send TS messages between emulators or handsets?


Thanks to anyone who can provide tips,

Johnny
Jens B.
2015-07-12 10:03:03 UTC
Permalink
IIRC GCM should work on the emulator if you set it to use the Google API.
Then registering with the server should be as simple as emulating the
registration code SMS.
Post by Rice, John Robert
I'm attempting to do work on TS bugs using the emulator in
Android Studio as opposed to installing on dev handsets. I know that you
can emulate incoming/outgoing SMS in terminal using the port of each
Android VM, but is there a way to register with the push server to send TS
messages between emulators or handsets?
Thanks to anyone who can provide tips,
Johnny
Rice, John Robert
2015-07-12 18:06:04 UTC
Permalink
Yes, my emulator is set to use the Google API but the registration SMS fails as it is attempting to register the default number (555) 521-5554. Is it possible to have the whisper systems server send a registration sms back to the emulator?

________________________________
From: Jens B. <***@gmail.com>
Sent: Sunday, July 12, 2015 6:03 AM
To: Rice, John Robert
Cc: ***@lists.riseup.net
Subject: Re: [whispersystems] Emulator push registration?

IIRC GCM should work on the emulator if you set it to use the Google API.
Then registering with the server should be as simple as emulating the registration code SMS.

2015-07-11 23:45 GMT+02:00 Rice, John Robert <***@pitt.edu<mailto:***@pitt.edu>>:

I'm attempting to do work on TS bugs using the emulator in Android Studio as opposed to installing on dev handsets. I know that you can emulate incoming/outgoing SMS in terminal using the port of each Android VM, but is there a way to register with the push server to send TS messages between emulators or handsets?


Thanks to anyone who can provide tips,

Johnny
Jens B.
2015-07-12 18:48:53 UTC
Permalink
I'd do it the following way:
1) Use a real number to which the server sends the code
2) Forward that SMS to the emulator
Post by Rice, John Robert
Yes, my emulator is set to use the Google API but the registration SMS
fails as it is attempting to register the default number (555) 521-5554. Is
it possible to have the whisper systems server send a registration sms back
to the emulator?
------------------------------
*Sent:* Sunday, July 12, 2015 6:03 AM
*To:* Rice, John Robert
*Subject:* Re: [whispersystems] Emulator push registration?
IIRC GCM should work on the emulator if you set it to use the Google API.
Then registering with the server should be as simple as emulating the
registration code SMS.
Post by Rice, John Robert
I'm attempting to do work on TS bugs using the emulator in
Android Studio as opposed to installing on dev handsets. I know that you
can emulate incoming/outgoing SMS in terminal using the port of each
Android VM, but is there a way to register with the push server to send TS
messages between emulators or handsets?
Thanks to anyone who can provide tips,
Johnny
Loading...