alinz / react-native-share-extension

react-native as an engine to drive share extension
MIT License
765 stars 401 forks source link

Add name, width/height for shared image and update for React 0.40 #24

Closed alexey-pkv closed 7 years ago

alexey-pkv commented 7 years ago
  1. For shared picture, the returned data will additionally contain the fields:
    • name
    • image.size.width
    • image.size.height
  2. Update imports to support react 0.40.
  3. Update docs.
  4. Ignore some IDE folders
  5. Add clear() to reset data() method.
npomfret commented 7 years ago

I think you can already get the image width and height using react-native Image.getSize

alexey-pkv commented 7 years ago

@npomfret Yes you are right. Now you can get image data using the Image object from react-native. Closing this pull request.