Skip to content

feat: Receive shared content via expo-sharing #407

@BillChirico

Description

@BillChirico

Summary

Use expo-sharing receive support (SDK 55) to let users share content from other apps into Sobers.

Motivation

Users often find prayers, inspirational quotes, meeting links, and recovery resources in other apps. Sharing them directly into Sobers creates a seamless experience and makes the app a central hub for recovery content.

Implementation Notes

  • SDK 55 adds config plugin support for receiving shared data
  • iOS: adds a share-extension target
  • Android: adds intent-filters
  • Supported content types to consider:
    • Text (prayers, quotes, notes)
    • URLs (meeting links, resources)
    • Images (milestone celebrations, screenshots)

Use Cases

  • Share a prayer from a browser/notes app → saves to Program > Prayers
  • Share a meeting link → saves to Program > Meetings
  • Share an inspirational quote → saves to daily reflections
  • Share a URL → saves as a recovery resource

References

Acceptance Criteria

  • App appears as a share target for text and URLs
  • Shared content routes to appropriate section based on type
  • User can review/edit before saving
  • Works on both iOS and Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew featurefrontendFrontend/UI related changes

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions