Closed Bug 1097274 Opened 10 years ago Closed 10 years ago

Share extension does not show a title in some third party apps like Chrome

Categories

(Firefox for iOS :: General, defect)

All
iOS 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: st3fan, Assigned: st3fan)

References

Details

Attachments

(1 file)

The Share To extension does not show a page title in third party apps like Tweetbot or Chrome. It does show a page title in Safari.
Printing out extensionContext!.inputItems from various apps: Opera Mini: (Does not show title) <NSExtensionItem: 0x17001a4b0> - userInfo: { NSExtensionItemAttachmentsKey = ( "<NSItemProvider: 0x17004c1b0> {types = (\n \"public.url\"\n)}" ); } Reeder: (Shows title) <NSExtensionItem: 0x174005ab0> - userInfo: { NSExtensionItemAttachmentsKey = ( "<NSItemProvider: 0x17405da00> {types = (\n \"public.plain-text\"\n)}", "<NSItemProvider: 0x17405da60> {types = (\n \"public.url\"\n)}" ); NSExtensionItemAttributedContentTextKey = <7b5c7274 66315c61 6e73695c 616e7369 63706731 3235320a 7b5c666f 6e747462 6c5c6630 5c667377 6973735c 66636861 72736574 30204865 6c766574 6963613b 7d0a7b5c 636f6c6f 7274626c 3b5c7265 64323535 5c677265 656e3235 355c626c 75653235 353b7d0a 5c706172 645c7478 3536305c 74783131 32305c74 78313638 305c7478 32323430 5c747832 3830305c 74783333 36305c74 78333932 305c7478 34343830 5c747835 3034305c 74783536 30305c74 78363136 305c7478 36373230 5c706172 6469726e 61747572 616c5c70 61727469 67687465 6e666163 746f7230 0a0a5c66 305c6673 3234205c 63663020 496e7465 726e6574 20467265 65646f6d 7d>; } Safari: (Shows title) <NSExtensionItem: 0x17000b210> - userInfo: { NSExtensionItemAttachmentsKey = ( "<NSItemProvider: 0x170051eb0> {types = (\n \"public.url\"\n)}" ); NSExtensionItemAttributedContentTextKey = <7b5c7274 66315c61 6e73695c 616e7369 63706731 3235320a 7b5c666f 6e747462 6c5c6630 5c667377 6973735c 66636861 72736574 30204865 6c766574 6963613b 7d0a7b5c 636f6c6f 7274626c 3b5c7265 64323535 5c677265 656e3235 355c626c 75653235 353b7d0a 5c706172 645c7478 3536305c 74783131 32305c74 78313638 305c7478 32323430 5c747832 3830305c 74783333 36305c74 78333932 305c7478 34343830 5c747835 3034305c 74783536 30305c74 78363136 305c7478 36373230 5c706172 6469726e 61747572 616c5c70 61727469 67687465 6e666163 746f7230 0a0a5c66 305c6673 3234205c 63663020 6e657765 73742073 75626d69 7373696f 6e73203a 20656d61 63737d>; supportsJavaScript = 1; } Tweetbot: (Does not show title) <NSExtensionItem: 0x1740066c0> - userInfo: { NSExtensionItemAttachmentsKey = ( "<NSItemProvider: 0x17405f7d0> {types = (\n \"public.url\"\n)}" ); } Chrome: (Does not show title) <NSExtensionItem: 0x17400d1b0> - userInfo: { NSExtensionItemAttachmentsKey = ( "<NSItemProvider: 0x174057dc0> {types = (\n \"public.url\"\n)}" ); }
Summary: (ios) Share extension does not show a title in third party apps like Chrome → (ios) Share extension does not show a title in some third party apps like Chrome
I think we are doing things correct and that this is a third-party app problem. I have filed https://code.google.com/p/chromium/issues/detail?id=432636 to see what the fine Chrome for iOS folks think about this.
Group: mozilla-employee-confidential
OS: All → iOS 7
Product: Firefox for Android → Firefox for iOS
Version: Trunk → unspecified
Summary: (ios) Share extension does not show a title in some third party apps like Chrome → Share extension does not show a title in some third party apps like Chrome
This now seems to work correctly in Chrome. I see no action on the bug I filed with them but I think they are doing something different because our code to extract title and url has stayed the same.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
See attached screenshot for how things look in Chrome now. Looks good.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: