New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMS format differs when launched using SMS launcher on android 9 and 10 #73717
Comments
Issue reproducible using latest stable version.
flutter doctor -v
|
Temporary fixed:
|
See dart-lang/sdk#43838 for more discussion. We need to update the docs to flag this since it's happening for several common schemes on recent versions of Android. |
This didn't work for us in IOS. Here's what did:
EDIT: This worked in Android as well (Gmail). |
For SMS, for now the safest and simplest approach would be
( |
In general (e.g. for |
`Uri`'s constructor doesn't handle query parameters correctly for non-http(s) schemes, so the `mailto` example in the README is misleading. This adds a new utility method to do query string construction correctly, and updates the README to show using it and warning about the need to use it in general. If/when `Uri` is fixed to handle generic URI query parameters correctly, this utility method can be deprecated. Fixes flutter/flutter#75552 Fixes flutter/flutter#73717
`Uri`'s constructor doesn't handle query parameters correctly for non-http(s) schemes, so the `mailto` example in the README is misleading. This adds a new utility method to do query string construction correctly, and updates the README to show using it and warning about the need to use it in general. If/when `Uri` is fixed to handle generic URI query parameters correctly, this utility method can be deprecated. Fixes flutter/flutter#75552 Fixes flutter/flutter#73717
`Uri`'s constructor doesn't handle query parameters correctly for non-http(s) schemes, so the `mailto` example in the README is misleading. This updates the README to show using a simple method to work around that bug, and a warning about the need to use it. Fixes flutter/flutter#75552 Fixes flutter/flutter#73717
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
`Uri`'s constructor doesn't handle query parameters correctly for non-http(s) schemes, so the `mailto` example in the README is misleading. This updates the README to show using a simple method to work around that bug, and a warning about the need to use it. Fixes flutter/flutter#75552 Fixes flutter/flutter#73717
`Uri`'s constructor doesn't handle query parameters correctly for non-http(s) schemes, so the `mailto` example in the README is misleading. This updates the README to show using a simple method to work around that bug, and a warning about the need to use it. Fixes flutter/flutter#75552 Fixes flutter/flutter#73717
While sending sms from url_launcher package. SMS output is not symmetric on android 10 and 9 below is my code
Result in android 9: Message: Hello Developer Welcome
Result in android 10: Message: Hello+Developer+Welcome
Alternatively
If I replaced '+' symbol by '%2B' then result was changed
Result in android 9: Message: Hello+Developer+Welcome
Result in android 10: Message: Hello Developer Welcome
Below is code
Android 9
Android 10
The text was updated successfully, but these errors were encountered: