Giter Club home page Giter Club logo

Comments (9)

zulalnb avatar zulalnb commented on September 21, 2024

Facing same issue.

from react-native-share.

interstates21 avatar interstates21 commented on September 21, 2024

Two potential causes:

      await Share.shareSingle({
        backgroundImage: matchCardBase64,
        social: Social.InstagramStories,
        type: 'image/png',
        appId: 'YOU_FB_APP_ID'
      });

from react-native-share.

davidwinograd1 avatar davidwinograd1 commented on September 21, 2024

Any updates on this? @umarabdullah23 @zulalnb @interstates21

from react-native-share.

davidwinograd1 avatar davidwinograd1 commented on September 21, 2024

Facing same issue.

did you fix it?

from react-native-share.

Giasinit avatar Giasinit commented on September 21, 2024

@davidwinograd1, is really simple, just look at the android native code they have written for this library.
as you can see, the sticker MUST be of type "image/png", while backgroundImage MUST be of type "image/jpeg".
as for the "type" parameter, apparently it does not exist for android, or at least I have version 9.2.3, and everything works!

from react-native-share.

davidwinograd1 avatar davidwinograd1 commented on September 21, 2024

but what if I'm uploading a video, aka the backgroundVideo prop? @Giasinit

from react-native-share.

Giasinit avatar Giasinit commented on September 21, 2024

@davidwinograd1 with regard to the backgroundVideo prop the type must be 'video/*', so you're OK as far as the last issue is concerned. the only thing is that in my opinion you don't have the thing I showed you in the screenshot of the last issue.

from react-native-share.

github-actions avatar github-actions commented on September 21, 2024

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

from react-native-share.

zulalnb avatar zulalnb commented on September 21, 2024

The solution is add package visibility if you use SDK>=30

document

from react-native-share.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.