Skip to content
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

iOS SMS Share Link populates recipient/to field instead of message field #283

Closed
mspriggs opened this issue May 24, 2018 · 1 comment
Closed
Labels

Comments

@mspriggs
Copy link

mspriggs commented May 24, 2018

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] question

OS and Version?

iOS 11.3.1 on iPhone X & iPad Pro

Versions

angular/cdk: 5.0.3
angular/cli: 1.6.3
angular/material: 5.0.3
angular-devkit/build-optimizer: 0.0.36
angular-devkit/core: 0.0.22
angular-devkit/schematics: 0.0.42
ngtools/json-schema: 1.1.0
ngtools/webpack: 1.9.3
schematics/angular: 0.1.11
schematics/schematics: 0.0.11
typescript: 2.4.2
webpack: 3.10.0

Repro steps

Open page with SMS component available. Once selected, iMessage opens and the "to" field is populated with a link to the content trying to share, while the text message field itself is empty.

You can replicate the issue by visiting this page on an iPhone or iPad and clicking the SMS button...
https://murhafsousli.github.io/ngx-sharebuttons/#/share-buttons-component

The log given by the failure

N/A

Desired functionality

The content link should populate the text message field in iMessage while the "to" or "recipient" field should be empty.

Mention any other details that might be useful

This does work correctly on Android devices.

@MurhafSousli
Copy link
Owner

MurhafSousli commented Oct 1, 2018

Current workaround

ShareButtonsModule.forRoot({
    prop: {
      sms: {
        share: {
          ios: 'sms:&',
      }
    }
  }
}

Try it here https://ngx-sharebuttons-kb3ox2.stackblitz.io/#/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants