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

feat: ios - add share extension custom view (react) #138

Closed
wants to merge 1 commit into from

Conversation

achorein
Copy link
Owner

@achorein achorein commented Dec 8, 2024

Summary

This feature seems long awaited, along with the famous “custom view”. I haven't developed it yet, as it implies a different behavior between iOS and Android, and therefore the implementation of two codes on your application. On my side, this requires a lot of work, with a change of architecture for the iOS part.

But I think I can now start working on it

First, I'm thinking of setting up a simple callback system, i.e. with a static “custom view” (non-modifiable) which, when validated, will call a async function provided in the app code.

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-12-10.at.17.16.00.mp4

Todo

  • Add React Bridge in ShareExtension (expo 51, old architecture)
  • Add React Bridge in in new architecture (expo 52)
  • Load a React custom view in share menu
  • Add callback to handle share action in App code
  • Add configuration to enable/disable react view
  • Add a custom view example
  • Handle of type of content (text/weburl/image/files)
  • Check backward compatibility for simple share intent
  • Update README.md

Issue

Fixes #86

@achorein achorein force-pushed the feat/ios-shareextension-view branch from 0661de1 to 94e6de8 Compare December 9, 2024 18:42
@achorein achorein changed the base branch from main to expo51 December 9, 2024 18:43
@achorein achorein force-pushed the feat/ios-shareextension-view branch 5 times, most recently from a421b97 to 16b62f7 Compare December 10, 2024 16:33
@achorein achorein changed the title feat: ios - add react share extension view feat: ios - add share extension custom view (react) Dec 10, 2024
@achorein achorein force-pushed the feat/ios-shareextension-view branch from 16b62f7 to 531d13e Compare December 11, 2024 07:45
@ansh
Copy link

ansh commented Dec 20, 2024

Thank you for this discovery!

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.

[Feature Request] Immediate jump into app on share (custom view)
2 participants