I’ve added a iOS share extension in my React Native app and it was working and abruptly it has stopped working.
Here is how my Data.plist file seems to be like:
<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>PHSupportedMediaTypes</key>
<array>
<!--TODO: Add this flag, if you wish to assist sharing video into your app-->
<string>Video</string>
<!--TODO: Add this flag, if you wish to assist sharing photos into your app-->
<string>Picture</string>
</array>
<key>NSExtensionActivationRule</key>
<dict>
<key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>100</integer>
<key>NSExtensionActivationSupportsFileWithMaxCount</key>
<integer>100</integer>
</dict>
</dict>
<key>NSExtensionMainStoryboard</key>
<string>MainInterface</string>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.share-services</string>
</dict>
</dict>
</plist>
My essential appgroup and extension appgroup names are identical, and the deployment goal model can be identical for each and appdelegate file can be configured to deal with photos, however I nonetheless cannot see my app within the share extension suggestion. can somebody please assist me clear up this?
After I run the share extension from xcode and check out share a picture file I get this error log:
Did not request default share mode for fileURL:file:///Customers/zerodev/Library/Developer/CoreSimulator/Units/6F5B70E6-6AE4-43FB-B5BC-82C38DFB35CD/information/Containers/Shared/AppGroup/D2A5F375-D254-49F6-8FD4-D7938B094F67/Filepercent20Providerpercent20Storage/Downloads/dance-studio-invoice-design/7455237.jpg error:Error Area=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=1608, _LSFunction=runEvaluator}
Solely assist loading choices for CKShare and SWY varieties.
[ERROR] didn't get service endpoint creating for for merchandise at URL file:///Customers/zerodev/Library/Developer/CoreSimulator/Units/6F5B70E6-6AE4-43FB-B5BC-82C38DFB35CD/information/Containers/Shared/AppGroup/D2A5F375-D254-49F6-8FD4-D7938B094F67/Filepercent20Providerpercent20Storage/Downloads/dance-studio-invoice-design/7455237.jpg: Error Area=NSCocoaErrorDomain Code=3328 "The requested operation couldn’t be accomplished as a result of the function just isn't supported."