Closed bonfus closed 2 years ago
Hi! Thanks a lot for your contribution and welcome 😄
test the registration process without buying SIM cards
If you check https://github.com/boxdot/gurk-rs/blob/master/src/signal.rs#L362 you can see that gurk
always connects to the production servers of Signal. You can change it (or expose a way to configure it) to Servers::Staging
and use your existing phone number to register (of course, you won't be able to receive and send messages from you regular contacts).
I have tested this flow with presage
when implementing the registration as primary client, so it should work!
Thank you! That works but unfortunately I'm still getting
Error: libsignal-service error: Unexpected response: HTTP 422
Caused by:
Unexpected response: HTTP 422
I'll investigate further and let you know.
Are you interested in setting up Gurk as primary device?
I never wrote a line of rust and couldn't even properly test this patch, but if you tell me how to test the registration process without buying SIM cards I can try to move forward with this PR (and learn some Rust as well).