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

Observation Share #198

Closed
ErikSin opened this issue Mar 6, 2024 · 0 comments · Fixed by #335
Closed

Observation Share #198

ErikSin opened this issue Mar 6, 2024 · 0 comments · Fixed by #335
Assignees
Labels
MVP Needs to be completed for the initial QA release swmansion

Comments

@ErikSin
Copy link
Contributor

ErikSin commented Mar 6, 2024

In Mapeo Mobile, observations can be shared to other apps using the OS's social sharing mechanism. Mapeo Mobile uses react-native-share to implement this feature instead of the built-in Share API, mostly because of the requirement to be able to share files (e.g. photos).

The implementation from Mapeo Mobile should basically be ported over.

The share content should be formatted as following (example below uses English but any translatable strings should be translated appropriately):

Mapeo Alert — \_\*CATEGORY_NAME\*\_
FORMATTED_TIMESTAMP
OBSERVATION_COORDINATES

Non-exhaustive list of apps that this sharing should work with at a minimum (the library takes care of most of this under the hood but for the sake of testing when implemented):

  • WhatsApp
  • Telegram
  • Signal

Screenshots from Mapeo Mobile

  1. Share button (bottom left of screen)

    image
  2. Pressing share button for observation without media attachments.

    • Note that title says Sharing text
    image
  3. Pressing share button for observation with media attachments

    • Note that title says Sharing image
    image
@ErikSin ErikSin added the MVP Needs to be completed for the initial QA release label Mar 6, 2024
@ErikSin ErikSin self-assigned this Apr 1, 2024
@ErikSin ErikSin assigned CDFN and bohdanprog and unassigned ErikSin Apr 30, 2024
@CDFN CDFN closed this as completed in #335 May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MVP Needs to be completed for the initial QA release swmansion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants