Commit Graph

14 Commits (81107a98eb8323a66dba02ab638a2cf8f2e6eed6)

Author SHA1 Message Date
Moxie Marlinspike 81107a98eb Send m-notifyresp-ind after retrieving MMS 13 years ago
cavanm 8e2288205c Use APN defaults when no other APN information is available.
Provides an in-app source for APN info for use in the case that the
device store is unavailable and the user hasn't provided local
connection parameters.

Only covers T-Moble USA, AT&T, and Verizon right now. Only T-Mobile is
tested. Other carriers can be added and tested on an ongoing basis.
13 years ago
Moxie Marlinspike ecaaff50da Switch UA to Android default and added x-wap-profile header 13 years ago
Moxie Marlinspike 07c59d969a Prompt user for APN details when missing.
If TextSecure is running on a device without APN details, we prompt
the user to manually specify them when the user goes to send an MMS
message.
13 years ago
Moxie Marlinspike 01fdb1115d We don't support unknown content lengths yet. 13 years ago
Moxie Marlinspike 6bd0f35787 Sometimes querying the APN DB throws this exception as well. 13 years ago
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.
13 years ago
Moxie Marlinspike df05508a6f Switch to AndroidHttpClient and explicit targeting. 13 years ago
Moxie Marlinspike ead97953e8 Add proxy port option to local APN settings. 13 years ago
Moxie Marlinspike 68c29f283d Fall back to user-configured MMS params on SecurityException 13 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 acffda1ab8 formatting 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