© Fu Cheng 2018
Fu ChengBuild Mobile Apps with Ionic 4 and Firebasehttps://doi.org/10.1007/978-1-4842-3775-5_11

11. Share Stories

Fu Cheng1 
(1)
Sandringham, Auckland, New Zealand
 

Now we move to the last user story on the list that allows users to share stories. In this chapter, we’ll discuss the Ionic 4 card layout and grid layout. The Cordova Social Sharing plugin is used to share stories to social network services.

Card Layout

To allow users to share stories, we need to add a new button. If we add this button to the current UI, then all these UI components cannot fit into one line. We need a new layout for all those components. A good choice is the card layout.

Cards are created using the component ion-card. A card can have a header and content ...

Get Build Mobile Apps with Ionic 4 and Firebase: Hybrid Mobile App Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.