Skip to content

Conversation

@nromptea42
Copy link

fix #82

@nromptea42
Copy link
Author

I don't really know swift so I just fiddled around until I got something to work. It may not be the best solution ..

@lukebrandonfarrell
Copy link

Great fix. @meedan, could we get this merged?

handlePost(item)
if (contentText != nil && contentText != "") {
let extraData: [String: Any] = ["userInput": contentText as String]
handlePost(item, extraData)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to write it like this to work with Swift 5 ?

Suggested change
handlePost(item, extraData)
handlePost(item, extraData: extraData)

@caiosba caiosba requested a review from Gustash April 26, 2021 13:20
@caiosba
Copy link
Collaborator

caiosba commented Apr 26, 2021

@Gustash are you able to quick review it, please?

@lukebrandonfarrell
Copy link

btw, I have tested this on physical device and it works.

@nromptea42
Copy link
Author

Any news ? It would be great to have this merged

@Rauzon
Copy link

Rauzon commented Jul 27, 2023

it's also great to use trim for contentText value before comparing with empty string value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User input not sent to RN when sharing an image on iOS

4 participants