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.

how to use print and other ActivityTypes

See original GitHub issue

Ask your Question

Hello everyone!

I am using the react-native-share extension for the share and print Pdf document. I am trying to add The ‘Print’ attribute but it is not working or I couldn’t get it right I follow this document https://react-native-community.github.io/react-native-share/docs/share-open#activitytype

and i used the example here https://react-native-community.github.io/react-native-share/docs/share-open#activityitemsources-ios-only According to this document, I created an object like

const url = this.props.navigation.state.params.document.url
           {
            item:{
            print : url
            }
          },
Screenshot 2020-06-24 at 08 55 18

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:14

github_iconTop GitHub Comments

5reactions
ibrahimyolbircommented, Jul 3, 2020

@MateusAndrade any updates here I’m still waiting for a solution

0reactions
github-actions[bot]commented, May 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a “discussion” and i will leave this open

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excluding activity types for UIAct… | Apple Developer Forums
I try to exclude some activities from UIActivity. It works as expected when exclusion is done directly with the activity, as with: UIActivity....
Read more >
Entities and activity types in Azure Bot Service - Microsoft Learn
Learn how entities store information that bots and channels use when exchanging messages. See how to populate entity properties and how to ...
Read more >
Problems adding custom activity to UIActivityController
I am trying to implement a custom activity to the standard activities (Print, Mail, FaceBook, etc.) but for now only want the standard...
Read more >
Activity Types - Deltek Software Manager
Use activity types to categorize and manage activities and to determine where activities of a certain type display in Vision and in Connect...
Read more >
Configuring Activity Types
Activities Types define the various actions you might take when creating Activities and ToDos. Activity Types are also referenced in Configuring Trace ...
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