This PR replaces the old example app with two new example apps: one to show "basic" share, with both Android and the default, non-customizable iOS share, and "custom", which demos creating a custom react-native UI in the share extension.
These example projects have been created using latest react-native so that it's easier to test changes to the library.
Note:
Additional changes
I copied the existing example where I could, but ran into some bugs with data being undefined (expectedly) causing crashes, so I did alter the code where I needed to in order to avoid crashes.
I updated documentation where I could to reflect current Xcode behavior
I added a new file, IOS_DEBUGGING.md, that should help empower developers to track down any issues they encountering in the share extension
I used metro's new symlinking support instead of the previous modification in use, and also added dev dependencies to the library (and symlinked those in the app) for better editor support when modifying the library
a. react-native must be symlinked so that the app's copy and the library's copy are the same, or events won't work
When previewing the docs with new screenshots files added, they won't render correctly on the PR. This is a long-standing issue with GitHub markdown and PRs.
Why this PR?
This PR replaces the old example app with two new example apps: one to show "basic" share, with both Android and the default, non-customizable iOS share, and "custom", which demos creating a custom react-native UI in the share extension.
These example projects have been created using latest react-native so that it's easier to test changes to the library.
Note:
Additional changes
IOS_DEBUGGING.md
, that should help empower developers to track down any issues they encountering in the share extensionAdditional notes: