Note: If this tutorial was helpful, you need further clarification, something is not working or you have a request for another Ionic post? Furthermore, leave me a comment below if you don't like something about this blog, if something is bugging you, don't like how I'm doing stuff here. Feel free to comment below, subscribe to my blog, mail me to firstname.lastname@example.org. Thanks and have a nice day!
Table of Contents
- Android Environment (or iOS if you’re working on a MacOS)
- Ionic 2
1. Update Ionic & Cordova
npm install -g cordova ionic@beta
npm update -g cordova ionic@beta
Warning: Ionic2 is still in alpha status so the final implementation may differ from this code. I will update this article if and when that happens.
2. Create A New Project
ionic start Ionic2FirebaseOAuthExample blank --v2 cd Ionic2FirebaseOAuthExample
Warning: Since some of you never worked with Ionic CLI. From this point and further, every time I tell you to execute something, do that inside a project folder.
3. Add Required Platform
ionic platform add android
ionic platform add ios
4. Install Cordova Whitelist plugin
cordova plugin add cordova-plugin-whitelist cordova plugin add email@example.com
<meta http-equiv="Content-Security-Policy" content="default-src *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *">
5. Create A Firebase Account
Ionic 2 Firebase Social OAuth Tutorial
Continue to the next page