Educado-App / educado-mobile

The repository for the educado mobile education application
GNU General Public License v3.0
1 stars 3 forks source link

[App - Certificate] Download certificate #305 #351

Closed LucaPurcilly closed 2 weeks ago

LucaPurcilly commented 2 weeks ago

Description

This PR adds functionality for users to download their certificates as PDF. It also adds functionality for certificates to be automatically completed on course completion.

Changes

We have fixed the api service for downloading and generating certificates, and have used Expo file system to manage storage of the actual pdf file.

Related Issues

Fixes #305

Checklist

Screenshots (if applicable)

ezgif-5-5681a1cde3

If mobile/frontend pull request, what version of the backend is it stable, and running on?

Please provide information on what BACKEND branch and what BACKEND commit id this mobile/frontend Pull Request is stable on for reviewers.

The download certificate functionality relies on a change made to the certificate service. Currently this is in the staging branch, but deployment has failed.

Notes for Reviewers

If testing this manually, you must run the latest staging version of the certificate service locally.

madsWesth commented 2 weeks ago

Otherwise looks good 👍