question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

what is 'excludedActivityTypes' in open method options

See original GitHub issue

Share.open(options).catch((err) => { err && console.log(err); })

In options of open method, there is a property excludedActivityTypes which is optional but what is use of that, i found nothing in the documentation as well.

can any one provide information what is use of excludedActivityTypes option

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
rikurcommented, Aug 15, 2018

I got this to work: excludedActivityTypes: ['com.apple.UIKit.activity.SaveToCameraRoll', 'com.apple.UIKit.activity.AssignToContact']

I couldn’t figure out the activity type for “Create Watch Face”… even Apples docs don’t include it.

3reactions
annelorraineuycommented, Jul 13, 2018

@jgcmarins sure, ill send over a PR to update README after testing iOS build. Will make sure if excludedActivityTypes here is actually implemented first.

Read more comments on GitHub >

github_iconTop Results From Across the Web

what is 'excludedActivityTypes' in open method options #153
In options of open method, there is a property excludedActivityTypes which is optional but what is use of that, i found nothing in...
Read more >
excludedActivityTypes | Apple Developer Documentation
This property contains an array of strings, each of which corresponds to the value you would find in the activityType parameter of a...
Read more >
ios - How to exclude Notes and Reminders apps from the ...
I have managed to exclude lots of system provided activities (like 'Add to Reading list') by setting the appropriate excludedActivityTypes . However, I...
Read more >
Share.open | React Native Share - GitHub Pages
The open() method allows a user to share a premade message via a social medium they choose. In other words, code specifies the...
Read more >
Excluding Third-Party Apps from iOS 8's Share Sheet — Blog
In some cases, the source app knows which options don't make sense and ... to UIActivityViewController 's excludedActivityTypes property.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found