Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Native Share] Implement Native Share for IOS #48788

Open
grgia opened this issue Sep 9, 2024 · 43 comments
Open

[Native Share] Implement Native Share for IOS #48788

grgia opened this issue Sep 9, 2024 · 43 comments
Assignees
Labels
Daily KSv2

Comments

@grgia
Copy link
Contributor

grgia commented Sep 9, 2024

Description

This is a tracking issue for the IOS implementation of the Native Share project. This section of the project will be handled separately but merged alongside the Android issue.

Project

https://docs.google.com/document/d/14C1VifxvIXeyLAf0XstbC-wvyAb5SQZ0AOw0-jLRyZs/edit

Tracking

#36613

@BrtqKr
Copy link
Contributor

BrtqKr commented Sep 9, 2024

Hey, I'm from SWM, I'd like to take care of this issue.

Copy link

melvin-bot bot commented Sep 12, 2024

@grgia, @BrtqKr Whoops! This issue is 2 days overdue. Let's get this updated quick!

Copy link

melvin-bot bot commented Sep 16, 2024

@grgia, @BrtqKr 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

Copy link

melvin-bot bot commented Sep 18, 2024

@grgia, @BrtqKr 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

Copy link

melvin-bot bot commented Sep 20, 2024

@grgia, @BrtqKr 10 days overdue. Is anyone even seeing these? Hello?

@grgia
Copy link
Contributor Author

grgia commented Sep 23, 2024

Bumped for update / steps for unblocking permissions

@BrtqKr
Copy link
Contributor

BrtqKr commented Sep 23, 2024

I am focusing on split navigation atm. I'll try to check the setup whenever it's applied and try to continue whenever the navigation is ready.

@melvin-bot melvin-bot bot removed the Overdue label Sep 23, 2024
Copy link

melvin-bot bot commented Sep 26, 2024

@grgia, @BrtqKr Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Sep 26, 2024
@BrtqKr
Copy link
Contributor

BrtqKr commented Sep 30, 2024

Taking care of this atm. I've checked the groups before the weekend and they seemed to work as expected.

@melvin-bot melvin-bot bot removed the Overdue label Sep 30, 2024
@BrtqKr
Copy link
Contributor

BrtqKr commented Sep 30, 2024

Working on the files processing - they are being saved correctly from the share extenbsion, but there's something wrong with retrieving them on the react native side. This might be something related to the permissions, but I'll try to confirm it tomorrow.

@grgia
Copy link
Contributor Author

grgia commented Oct 1, 2024

Thanks @BrtqKr- do you have a draft PR up for your branch?

@BrtqKr
Copy link
Contributor

BrtqKr commented Oct 1, 2024

Not yet, wired it up though and the files are being passed to the react native wihthout any issues, so happily there's no need for the additional set-ups. I'll be verifying the scanning/sending with the passed files tomorrow, so this would probably be the initial version for the ios. I'll share more details next evening.

@BrtqKr
Copy link
Contributor

BrtqKr commented Oct 2, 2024

Moving forward with that - wired up most of the js parts - I'll continue working on that and the files cleanup after sharing tomorrow

@grgia
Copy link
Contributor Author

grgia commented Oct 3, 2024

Sounds great, thanks @BrtqKr

@BrtqKr
Copy link
Contributor

BrtqKr commented Oct 3, 2024

Still working on the JS part - today it was mostly persistence and onyx-related things, which are necessary for removing files - it's not done yet though

@BrtqKr
Copy link
Contributor

BrtqKr commented Oct 4, 2024

Continued the topic from yesterday. I've found some edge cases about the cleanup part - there's an issue when the share attempt gets cancelled and the file isn't removed properly, but we can handle this by performing cleanups for the files older than a week. Besides I had to slightly modify the model for the image, but apply small updates to the doc when I'm sure everything works.

@grgia
Copy link
Contributor Author

grgia commented Oct 7, 2024

Great @BrtqKr, do you have an idea for when we might be able to get this into the review stage?

@melvin-bot melvin-bot bot added the Overdue label Oct 7, 2024
@BrtqKr
Copy link
Contributor

BrtqKr commented Oct 8, 2024

@grgia, I've finished wiring up the core version for the ios today. Also, @filip-solecki mentioned that there wasn't much left regarding the Android native part, so I'd say that the remaining things before the PR would be:

  1. Adjust the data format on Android to match the ios (I had to slightly change the format to handle some cases on the react-native side)
  2. Finish the file removal
  3. Adjust the display for the files
  4. Pass to @staszekscp and @war-in to apply the hybrid app-related changes and test it properly

The first three points shouldn't take much time since those are just the follow-ups to the already existing parts (the second point is a bit troublesome to test though). I'm not sure about the fourth point. As long as everything goes as expected on the hybrid part we should be able to send the final version sometime at the beginning the next week, but this is something @staszekscp or @war-in would need to estimate when they start applying the changes.

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-10-08.at.02.19.43.mp4

@melvin-bot melvin-bot bot removed the Overdue label Oct 8, 2024
@filip-solecki
Copy link
Contributor

Hi! Quick update - I took the issue from @BrtqKr and I'll work on both right now as JS part will be shared for both Android and iOS

@melvin-bot melvin-bot bot added the Overdue label Oct 17, 2024
Copy link

melvin-bot bot commented Oct 17, 2024

@grgia, @BrtqKr, @filip-solecki Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Oct 21, 2024
@grgia
Copy link
Contributor Author

grgia commented Oct 21, 2024

@cdOut @filip-solecki Could you post a current update?

@filip-solecki
Copy link
Contributor

filip-solecki commented Oct 22, 2024

Sure, @cdOut is fixing image displaying issues which happen sometimes and he also finished Submit flow so we have to finish Android and merge it here and we can push it to review and tests and adjust it later to HybridApp

Copy link

melvin-bot bot commented Oct 24, 2024

@grgia, @BrtqKr, @cdOut, @filip-solecki 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

Copy link

melvin-bot bot commented Oct 28, 2024

@grgia, @BrtqKr, @cdOut, @filip-solecki 10 days overdue. Is anyone even seeing these? Hello?

@grgia
Copy link
Contributor Author

grgia commented Oct 29, 2024

@filip-solecki cc @cdOut mind posting a quick update here as well?

@cdOut
Copy link
Contributor

cdOut commented Oct 29, 2024

Hi, I'm finishing up the Submit flow and share media display issue while Filip worked on handling other filetypes and merging the IOS and Android branches of the Share flow.

@grgia
Copy link
Contributor Author

grgia commented Oct 29, 2024

Great thank you! @cdOut

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Oct 29, 2024
@grgia
Copy link
Contributor Author

grgia commented Nov 1, 2024

@cdOut do you have an EOW update?

@melvin-bot melvin-bot bot removed the Overdue label Nov 1, 2024
@cdOut
Copy link
Contributor

cdOut commented Nov 3, 2024

@grgia I was just a side helper on this issue during Filip's OOO, if any updates on the state of it are in order you should ping @filip-solecki as he's more informed on the state of it and is the main person behind the feature. I am also no longer working for Software Mansion so I won't be able to help with that.

@filip-solecki
Copy link
Contributor

Hi @grgia, so on the iOS side most of the issues have been resolved, now we need to block sharing for unsupported file formats and address some minor JS issues

@grgia
Copy link
Contributor Author

grgia commented Nov 6, 2024

Great @filip-solecki could you give me an update on when you think we could get a draft PR up?

@filip-solecki
Copy link
Contributor

Hi! So I think that the realistic date may be Wednesday/Thursday in the next week

@melvin-bot melvin-bot bot added the Overdue label Nov 11, 2024
@grgia
Copy link
Contributor Author

grgia commented Nov 11, 2024

Great, keep me posted @filip-solecki

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 11, 2024
Copy link

melvin-bot bot commented Nov 15, 2024

@grgia, @BrtqKr, @cdOut, @filip-solecki Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@filip-solecki
Copy link
Contributor

Hi @grgia ! Unfortunately I was sick most of this week and we won't be able to prepare PR today, it should be ready in the mid of next week I hope

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 15, 2024
@grgia
Copy link
Contributor Author

grgia commented Nov 18, 2024

@filip-solecki sorry to hear that, hope you're feeling better! How's this week for you?

@melvin-bot melvin-bot bot removed the Overdue label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2
Projects
None yet
Development

No branches or pull requests

4 participants