iOS分享扩展在Chrome中不显示的问题求助
iOS分享扩展在Chrome中不显示的问题求助
大概两周前突然出现这个问题,之前我的分享扩展一直都能正常在Chrome里显示并工作。我已经翻遍了所有相关的问题,试了各种办法但都没解决,实在没办法了来求助!
以下是我的Share Extension对应的info.plist内容:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AppGroupId</key> <string>$(CUSTOM_GROUP_ID)</string> <key>CFBundleVersion</key> <string>$(FLUTTER_BUILD_NUMBER)</string> <key>NSExtension</key> <dict> <key>NSExtensionAttributes</key> <dict> <key>PHSupportedMediaTypes</key> <array> <!--TODO: Add this flag, if you want to support sharing video into your app--> <!-- <string>Video</string> --> <!--TODO: Add this flag, if you want to support sharing images into your app--> <string>Image</string> </array> <key>NSExtensionActivationRule</key> <dict> <!--TODO: Add this flag, if you want to support sharing web pages into your app--> <key>NSExtensionActivationSupportsWebPageWithMaxCount</key> <integer>1</integer> <!--TODO: Add this flag, if you want to support sharing text into your app--> <key>NSExtensionActivationSupportsText</key> <true/> <!--TODO: Add this tag, if you want to support sharing urls into your app--> <key>NSExtensionActivationSupportsWebURLWithMaxCount</key> <integer>1</integer> <!--TODO: Add this flag, if you want to support sharing images into your app--> <key>NSExtensionActivationSupportsImageWithMaxCount</key> <integer>1</integer> <!--TODO: Add this flag, if you want to support sharing video into your app--> <!-- <key>NSExtensionActivationSupportsMovieWithMaxCount</key> --> <!-- <integer>1</integer> --> <!--TODO: Add this flag, if you want to support sharing other files into your app--> <!--Change the integer to however many files you want to be able to share at a time--> <!-- <key>NSExtensionActivationSupportsFileWithMaxCount</key> --> <!-- <integer>1</integer> --> </dict> </dict> <key>NSExtensionMainStoryboard</key> <string>MainInterface</string> <key>NSExtensionPointIdentifier</key> <string>com.apple.share-services</string> <key>LSApplicationQueriesSchemes</key> <array> <string>ShareMedia-com.ckbusiness.Wishlists</string> </array> </dict> </dict> </plist>
我已经查阅过以下相关问题,但都没能找到适配我场景的解决方案:
- iOS Share Extension is not working in Chrome
- iOS Share Extension Doesn't work with Chrome anymore
内容来源于stack exchange
相关产品推荐
相关产品推荐

