Commit Graph

7 Commits (f73adfc8f5c8b82bc7bf9b0d98b2e61f4097b2fe)

Author SHA1 Message Date
Moxie Marlinspike f73adfc8f5 Change MMS network request pattern.
Currently we're flipping the radio in "MMS" mode, and connecting through
any proxies specified in the APN.  This always work, or at least doesn't
seem to work on Sprint, since the configured mms proxy rejects proxy
requests.

Instead we try the following in this order:

1) Connect over normal data connection directly to MMSC.
2) Connect over MMS radio connection to MMSC.
3) Connect over MMS radio connection with any configured proxy to MMSC.

Hopefully this doesn't fuck up shit on other unknown networks.
12 years ago
Moxie Marlinspike df05508a6f Switch to AndroidHttpClient and explicit targeting. 12 years ago
Moxie Marlinspike 54fad30f9f Add ability to specify APN information in TextSecure settings.
1) Add configuration options for APN information in TextSecure settings.

2) Fall back to TextSecure settings if system settings are unavailable
while sending/receiving MMS.

3) Catch sqlite exception when devices randomly don't have the same
APN db or table structure.
13 years ago
Moxie Marlinspike 47c83d2747 When retrieving MMS, continue on with best-effort in absence of APNs. 13 years ago
Moxie Marlinspike f26dbb2f34 disambiguate 13 years ago
Moxie Marlinspike cf9dc51f31 Initial fixes for MMS retrieval.
1) Parse the APN information based on what the ConnectionManager
tells us.

2) Accept email addresses as a valid Recipient format.
13 years ago
Moxie Marlinspike bbea3fe1b1 Initial Project Import 14 years ago