You can setup this functionality manually in Xcode and Android Studio and create an Expo Config Plugin to continue using Expo Prebuild. You can read more in the related feature request. You cannot share local files on web by URI - you will need to upload them somewhere and share that URI.Ĭurrently expo-sharing only supports sharing from your app to other apps and you cannot register to your app to have content shared to it through the native share dialog on native platforms. Creating the Share Extension Open AddImageViewController.swift file and in the shareImage (imageTitle:, imageToUpload:) function, change the container identifier to match the group you created. Share extension: Appears as an icon in the iOS share sheet, and when selected opens a Drafts window with options to edit/adjust the text, assign tags/flags, and. No local file sharing on web: Sharing local files by URI works on iOS and Android, but not on web.Run your app with npx expo start -https to enable it. HTTPS required on web: The Web Share API is only available on web when the page is served over https.Be sure to check that the API can be used before calling it by using Sharing.isAvailableAsync(). Ukraine’s military said it had reclaimed about three square miles outside the eastern city of Bakhmut, which would be its first significant gains there in weeks. Select the General tab and under Linked frameworks and Libraries click on + and add all of the selected static binaries there We need to modify the ist inside the extension (e.g. expo-sharing for web is built on top of the Web Share API, which still has very limited browser support.
0 Comments
Leave a Reply. |