Last active
October 30, 2024 21:27
-
-
Save robksawyer/544efe1c4dc7e4ce2fb9d3b589dde5a0 to your computer and use it in GitHub Desktop.
A list of UIActivity.ActivityType for modern apps.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let excludedActivityTypes = [ | |
UIActivity.ActivityType.print, | |
UIActivity.ActivityType.openInIBooks, | |
UIActivity.ActivityType.copyToPasteboard, | |
UIActivity.ActivityType.addToReadingList, | |
UIActivity.ActivityType.assignToContact, | |
UIActivity.ActivityType.copyToPasteboard, | |
UIActivity.ActivityType.mail, | |
UIActivity.ActivityType.markupAsPDF, | |
UIActivity.ActivityType.postToFacebook, | |
UIActivity.ActivityType.postToWeibo, | |
UIActivity.ActivityType.postToVimeo, | |
UIActivity.ActivityType.postToFlickr, | |
UIActivity.ActivityType.postToTwitter, | |
UIActivity.ActivityType.postToTencentWeibo, | |
UIActivity.ActivityType.saveToCameraRoll, | |
UIActivity.ActivityType.message, | |
UIActivity.ActivityType(rawValue: "com.apple.CloudDocsUI.AddToiCloudDrive"), | |
UIActivity.ActivityType(rawValue: "com.apple.mobilenotes.SharingExtension"), | |
UIActivity.ActivityType(rawValue: "com.apple.reminders.RemindersEditorExtension"), | |
UIActivity.ActivityType(rawValue: "com.apple.mobilenotes.SharingExtension"), | |
UIActivity.ActivityType(rawValue: "com.amazon.Lassen.SendToKindleExtension"), | |
UIActivity.ActivityType(rawValue: "com.google.chrome.ios.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "com.google.Drive.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "com.google.Gmail.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "com.google.inbox.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "com.google.hangouts.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "com.iwilab.KakaoTalk.Share"), | |
UIActivity.ActivityType(rawValue: "com.hammerandchisel.discord.Share"), | |
UIActivity.ActivityType(rawValue: "com.facebook.Messenger.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "com.nhncorp.NaverSearch.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "com.linkedin.LinkedIn.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "net.whatsapp.WhatsApp.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "com.tinyspeck.chatlyio.share"), // Slack! | |
UIActivity.ActivityType(rawValue: "ph.telegra.Telegraph.Share"), | |
UIActivity.ActivityType(rawValue: "com.toyopagroup.picaboo.share"), // Snapchat! | |
UIActivity.ActivityType(rawValue: "com.fogcreek.trello.trelloshare"), | |
UIActivity.ActivityType(rawValue: "com.hammerandchisel.discord.Share"), | |
UIActivity.ActivityType(rawValue: "com.riffsy.RiffsyKeyboard.RiffsyShareExtension"), //GIF Keyboard by Tenor | |
UIActivity.ActivityType(rawValue: "com.ifttt.ifttt.share"), | |
UIActivity.ActivityType(rawValue: "com.getdropbox.Dropbox.ActionExtension"), | |
UIActivity.ActivityType(rawValue: "wefwef.YammerShare"), | |
UIActivity.ActivityType(rawValue: "pinterest.ShareExtension"), | |
UIActivity.ActivityType(rawValue: "pinterest.ActionExtension"), | |
UIActivity.ActivityType(rawValue: "us.zoom.videomeetings.Extension"), | |
] |
I'm having issues excluding Facebook Messenger. Any ideas?
I got the following comment from Apple framework engineer: Apps can only exclude the built-in system activity types (the constants listed in the UIActivity.ActivityType struct), and are not allowed to exclude extension activities that come from other apps.
How can I do in React Native? 🥹
How about Pages, Keynote and Numbers?
For "Save To Files": UIActivity.ActivityType(rawValue: "com.apple.DocumentManagerUICore.SaveToFiles")
How can I do in React Native? 🥹
Share.share(
{
message: 'Share me',
},
{
excludedActivityTypes: ['com.apple.UIKit.activity.Message'],
},
);
Not Working iOS 16, iOS 17
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not working for Discord and Gmail, why could that be.