Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

feat: add sharing of app from app details screen

Fahim Masud Choudhury requested to merge 2319-share-app-from-app-lounge into main

Description

Apps from App Lounge can now be shared with others. The name of the app and its link (Google Play, F-Droid, or PWA) are shared as text.

Screenshots

Screenshot_20240404_163231 Screenshot_20240404_163349 Screenshot_20240404_224009

Technical details

Google Play URL for an app is available directly from Aurora OSS's GPlayApi. However, the F-Droid URL is not available from a CleanAPK API response. Hence, an F-Droid URL is built manually with the package name of the app. PWA apps' URLs are shared as they come from CleanAPK API response.

If there is no URL for an app, then the share button will not be visible.

Tests

  • Share an app with different social media apps
  • Ensure the name and the links are valid
  • Ensure links can be opened via App Lounge, F-Droid, or browser

Issues

This MR resolves issue #2319

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Edited by Fahim Masud Choudhury

Merge request reports

Loading