Fireship · @fireship

Ionic 4: Should you Build a Hybrid App?

Uploaded July 26, 2018 · Length 10:35

Ionic 4: Should you Build a Hybrid App?

Summary

Ionic 4: Should you Build a Hybrid App? - pros and cons of using Ionic for mobile app development, comparing native, hybrid, and cross-platform approaches.

  • ionic 4
  • hybrid app development
  • mobile app development
  • native vs hybrid
  • cross-platform development
  • ionic vs react native
  • ionic vs flutter

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    [Music]

  2. 0:06

    the beta release of ionic 4 was

  3. 0:08

    announced yesterday and with it comes a

  4. 0:10

    whole suite of new features that take

  5. 0:12

    advantage of the best technologies that

  6. 0:13

    we have available on the web in today's

  7. 0:15

    video I'll show you some of the most

  8. 0:16

    important changes if migrating from

  9. 0:18

    version 3 to 4 but we'll also answer the

  10. 0:21

    question should I use ionic because in

  11. 0:23

    2018 there's a whole bunch of different

  12. 0:24

    ways we can build and deliver apps and

  13. 0:26

    you really need to know the trade-offs

  14. 0:27

    between each strategy to make a good

  15. 0:29

    business decision if you're new here

  16. 0:31

    like and subscribe and if you're serious

  17. 0:32

    about building apps consider becoming a

  18. 0:34

    pro member at angular firebase comm so

  19. 0:37

    should you use ionic to build your

  20. 0:39

    mobile app to answer this question you

  21. 0:41

    really need to understand your own

  22. 0:42

    technical demands and weigh the pros and

  23. 0:44

    cons of different mobile app development

  24. 0:46

    approaches there are basically three

  25. 0:48

    main ways that people are building

  26. 0:49

    mobile apps today the first one we'll

  27. 0:51

    look at is using the native SDKs

  28. 0:53

    directly this means you write a separate

  29. 0:55

    app for each platform that you want to

  30. 0:57

    target in its native language for

  31. 0:58

    Android that would be Kotlin or java in

  32. 1:01

    iOS that means swift or Objective C and

  33. 1:04

    on the web that means JavaScript

  34. 1:05

    generally speaking the highest quality

  35. 1:07

    best performing apps that you'll find

  36. 1:09

    are built in their native SDKs but

  37. 1:11

    there's a pretty obvious drawback here

  38. 1:13

    and that's the cost more code to

  39. 1:15

    maintain obviously means more operating

  40. 1:17

    costs but you also have to hire the

  41. 1:18

    right talent to be able to maintain

  42. 1:20

    these code bases which is pretty hard to

  43. 1:22

    do especially for iOS and Android this

  44. 1:24

    brings me to the second strategy which

  45. 1:26

    is where ionic 4 Falls and that's

  46. 1:28

    building a hybrid mobile app using web

  47. 1:30

    technologies the idea is to write your

  48. 1:32

    code once and run it on multiple

  49. 1:34

    platforms seamlessly and while that

  50. 1:35

    sounds great it's not without its

  51. 1:37

    trade-offs a hybrid app is really just a

  52. 1:39

    web app that gets embedded on the native

  53. 1:41

    device through a webview a hybrid app is

  54. 1:44

    not able to communicate with a lot of

  55. 1:45

    native device features directly so it

  56. 1:48

    uses a bridge known as Apache Cordova or

  57. 1:50

    capacitor that wrap native code in a

  58. 1:53

    JavaScript API so it can be accessed by

  59. 1:55

    the web app so the obvious benefit here

  60. 1:57

    is that you can leverage web developers

  61. 1:59

    to build mobile apps that are