My third app is ready!

You can find the story behind that here: Story

What I have done:

New in this app:

  • Using AWS Polly for sound.
  • Using AWS-SDK locally.
  • Using native Audio from html 5 for playing sound.

I took the “Day2-App” with the same AWS API Gateways and Lambdas and poured in some new features on the client App.

Spending time

While working with Polly I spent much time to find a solution for playing a sound file on the client with the ionic-framework. As the solution should have worked on both Android and iOS, I tried new Plugins (like the native-media or the native-audio-plugin), upgrading and downgrading existing ones but nothing worked out at all.
It could have been so easy as ionic and Cordova support the use of HTML5. As I decided to try that out with a few lines…

let myAudio = new Audio (file);

myAudio.play();

Thats all, thats easy, that was not expected!

Second challenge was to convert javascript example into typescript.

Using the example in JavaScript would have cost me an hour. But as I’m more a fan of typescript, so… converting code was the next step. Took like half a day in the end but was worth the work!

What I learned?

  • Keep it simple (stupid) KISS Pattern.
  • Dont ask the framework, what it can do for you, ask yourself if its neccessary. First learn basics, then learn frameworks.
  • Convert javascript into typescript is possible.

Video

Day Three

Whole Story

Story

Roadmap

40 Apps in 40 Day – Day Three

Thomas Michael


Softwareentwickler aus Leidenschaft.


Beitragsnavigation


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.