Build a basic Apple Mail Extension
- Status: Closed
- Hadiah: £200
- Entri Diterima: 3
Deskripsi Kontes
Hello,
I am looking for a developer with some experience with Apple Mail Extensions to build a basic extension to send voice messages via email.
For context, we have already developed such a solution for Gmail and Outlook and would like to extend our offering to Apple Mail.
This context is basically our hiring process. By completing this basic app, you'll show that you have whats needed and we will continue to work with you to complete the project.
Here is the task: Create a simple Apple mail extension that ads a mic button in the compose window.
On click on the mic, it should open a panel (or pop up) with a "Record" button.
The record button should allow for the recording of a voice message (asking for the microphone permission). And while the recording is going, the "Record" button should become a "Stop" button. Once the user clicks stop, you upload the voice message, here is how:
First you can call the following endpoint:
GET https://api.vocal.email/get-vocal-free
This will return a JSON in the following format: {"uuid": "jkbhjh"}
then, you upload your voice note using the following endpoint:
POST https://api.vocal.email/upload-vocal
This endpoint takes files in multiform. You will pass the recording (can be a WAV, MP3, whatever apple gives you) and an image (for the image, I'll attach something to this task).
Here is a curl request example for documentation purpose:
curl --request POST \
--url https://vocal-production.onrender.com/upload-vocal \
--header 'Content-Type: multipart/form-data' \
--form recording=@/Users/nathanganser/Documents/9b8d978a-0e8f-417f-ad45-a408db69a285.mp3 \
--form image=@/Users/nathanganser/Documents/9b8d978a-0e8f-417f-ad45-a408db69a285.png
(make sure that the image and the audio file have the same name (the uuid that you got in the previous step).
And once the upload was successful, you embed the provided image into the email, and wrap it with a <a> tag that links to the voice message. Here is a code snippet:
<a href="https://app.vocal.email/listen/a4d7..."><img height=100 src="https://storage.googleapis.com/vocal_messages/a4d7....png" alt="Voice message with id a4d7..."></a>
And that's it! I know there will be many edge cases that you can't handle and that's not the goal. It's just to get a simple minimal version going that allows a user to record the voice, upload the message and attach the message in the email.
It might be good to test our app first to get a sense of how it works: https://vocal.email
Please submit a video demo of the basic app you created.
Keahlian yang Disarankan
Entri teratas dari kontes ini
-
shahajalalbabu00 Bangladesh
-
shahajalalbabu00 Bangladesh
Papan Klarifikasi Publik
Bagaimana untuk memulai sebuah kontes
-
Buat Kontes Anda Cepat dan mudah
-
Dapatkan Jutaan Entri Dari seluruh dunia
-
Pilih entri terbaik Unggah file - Mudah!