Questions tagged [share-extension]
198 questions
4
votes
0 answers
Share Extension don't open/share .HEIC type image
i created share extension for my app which can share image/videos from photos(Gallery) and it work properly but here problem is if i select .HEIC type file then click on my share extension it show error as shown in below screenshot .
import…

Shivam Parmar
- 1,520
- 11
- 27
4
votes
1 answer
Supporting Share Sheet Suggestions
Following this article I'm trying to implement share sheet suggestions in my messaging app.
I have declared INSendMessageIntent support in my Share extension's info.plist.
It's even showing up in the target under 'Supported Intents'.
But every…

ChrisTheGreat
- 512
- 4
- 21
4
votes
0 answers
Use React Native (0.60.4) in an iOS Share Extension
As the title implies, I tried to load a React Native application (version 0.60.4) in my native iOS Share Extension but got the following error: sharedApplication is unavailable: not available on iOS (App Extension)
It seems React-Core (and other…

Jovan
- 2,640
- 2
- 24
- 34
4
votes
1 answer
Retrieving imageURL from Share Extension
I am trying to get the imageURL the ios share extension uses for the thumbnail generated in the action sheet.
I am retrieving the URL fine but cannot seem to figure out how to get the imageURL.
Here is how I get the normal URL,
if let item =…

Ro4ch
- 850
- 8
- 21
4
votes
0 answers
macOS Share Extension: NSExtensionActivationRule PDF predicate not working
I am writing a Mac app with a share extension. The user can select a single pdf document, click the share button and select my extension. However, my extension is not being displayed and I think it has something to do with the…

Daniel
- 1,473
- 3
- 33
- 63
4
votes
2 answers
Share extension not activates for apple notes app
Works fine with All the apps except ios Notes App.
Found a solution to solve this
How to share notes data with share extension in iOS 9?
But Am using Subquery as NSExtensionActivationRule. So Unable to add
NSExtensionActivationDictionaryVersion…

ohmprakash
- 123
- 8
4
votes
1 answer
Access webpage properties in Share extension
I want to access webpage properties (Title, Meta - description, URL, default image, etc) when user opens Share extension on iOS using javascript file. I am using the following code for javascript…

Purusottam
- 611
- 6
- 19
3
votes
0 answers
Skip iOS share-extension preparing step
For large media including images with size of ~10MB and videos of size ~200MB, iOS shows an preparing dialog and reduces the size of media.
Is there any way to skip this preparing step and get original media in share-extension for large files ?

Sajjad
- 51
- 7
3
votes
2 answers
UISwipeGestureRecognizer and ShareExtension: Different behaviour on iOS 12.4 and 13.0 and latest (bug or undocumented?)
I am creating a Share extension and faced with a strange behaviour during my tests on iOS 13.0 and later. I use UISwipeGestureRecognizer to interpret user's swiping gestures on the main view on my extension.
This simple code provides below as an…

Vladislav
- 165
- 1
- 5
- 15
3
votes
2 answers
iOS Share Extension not working with react-native 0.61.5
I'm trying to use a registered (AppRegistry.registerComponent) react-native module within a Share Extension (added using XCode). On earlier versions of react-native, we could just link the necessary libraries manually inside Build Phases > Link…

Justin Joy
- 355
- 3
- 11
3
votes
0 answers
Get url for PDF files from NSItemProvider in share extension
I have a share extension that is looking for attachments from NSItemProvider, which I'm using to grab the url (e.g. of any website that a user visits on Safari) once the user taps on my app's share extension's button.
As I'm cycling through the…

rantanplan
- 243
- 3
- 17
3
votes
0 answers
I deleted CFBundleDocumentType. But the files are stil connected
First built a app that support 'public.data' uti. I set the CFBundleDocumentTypes flag in plist. After installation i opened my app from the ios default file app by"Open in". It works fine.
But after testing, i removed CFBundleDocumentTypes and I…

Junhan Park
- 31
- 3
3
votes
1 answer
Share Extension "Waiting to Attach"
I have suddenly come up against this issue with my share extension, both on the simulator and when I run it on a device.
I run the extension from the scheme and I get the dialogue "Choose an app to run", I choose Photos and then when I go to the…

reza23
- 3,079
- 2
- 27
- 42
3
votes
1 answer
Problem with adding Firebase Crashlytics to iOS Share Extension
I'm trying to add Firebase to collect analytics events and crashes to iOS Share Extension. Everything works perfect in main app but not in Share Extension. I managed to find this way of initialization:
override func viewDidLoad() {
…

Aleksey Khokhrin
- 166
- 2
- 13
3
votes
2 answers
Can't change share extension navigation bar title color (Swift)
I am trying to change the navigation bars title color using the below code but it won't change. The tint and background color work perfectly.
let nav = navigationController?.navigationBar
nav?.titleTextAttributes =…

Connor V
- 231
- 3
- 15