Background
The Apps team plans to explore if a personalized Wikipedia in Review feature that displays insights about a user's reading history, editing history, and donation history is engaging for App users, and inspires them to make a donation to the Wikimedia Foundation.
Requirements
- Allow users to share each individual slide
- Generate a static image of the slide for sharing using system sharing
- Prepopulated text should include hashtag and app install link (using custom ID from instrumentation deck)
Nice to have
- Include #WikipediaYearinReview hashtag on generated image
- Remove UI from slides
Designs
| Share button on slides | Generated image for logged-in users | Generated image for logged-out users | System sharing | Pre-populated text |
Engineering Notes
- Upon share tap, create a new instance of a year in review hosting controller with only that SwiftUI slide component, configured so that buttons and page indicators are hidden. Create an image of hosting controller's view via wmf_snapshotImage (example from Share-A-Fact). Present share sheet with pre-populated text containing App Store url (use App Store link with new campaign ID embedded) and hashtag.














