Abstract
After adding the user management, we can now move to the next user story that allows users to add stories to their favorites.In this chapter, we implement the user story to manage favorites, including adding stories into the favorites and removing stories from the favorites. We discuss different data storage formats and implement the service to interact with Firebase. We also create the page to list stories in the favorites. Since the favorites feature is only enabled when the user is logged in, we also discuss the integration with the AuthService created in the last chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Fu Cheng
About this chapter
Cite this chapter
Cheng, F. (2017). Manage Favorites. In: Build Mobile Apps with Ionic 2 and Firebase. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2737-4_8
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2737-4_8
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2736-7
Online ISBN: 978-1-4842-2737-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)