
ionic-angular 5 Firebase Storage
Start your awesome app in firebase 5!!
$9.00
Details
Installation
- Create a Firebase Project in firebase.google.com
- In your Firebase Console create a security rules for public access.
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write;
}
}
}
Note: Change this later to make private your data.
- Update your Ionic CLI.
$npm install -g [email protected] cordova
- Download and uncompress your Files.
- Create your project with Ionic CLI
$ionic start myapp
(Choose Blank)
- Locate in your new Project.
$cd myapp
- Install dependencies:
$ npm install angularfire2 firebase promise-polyfill --save
- Replace your src folder for the files that did you download and uncompress.
- Go to file src/app/app.module.ts and update the info with your firebase data.
export const firebaseConfig = {
apiKey: "xxxxxxxxxx",
authDomain: "your-domain-name.firebaseapp.com",
databaseURL: "https://your-domain-name.firebaseio.com",
storageBucket: "your-domain-name.appspot.com",
messagingSenderId: '<your-messaging-sender-id>'
};
- Run Your App.
Run $ionic serve
Changelog
1.0.1. "Evolution" (2018-11-03)
- Upgraded to Angularfire2
- Using AngularFireStorageModule
1.0.0. "Start" (2017-09-03)
- Upgraded to Ionic 3
Support and Feedback:
If you are facing an issue related to Ionic please refer to: forum.ionicframework.com
If you found an error or a bug in this Starter. Contact us via the email that you get from Gumroad.
@carlosrojas_o
We want you to be satisfied
This Starter can be refunded if you think that we didn't save you time within the next 15 days.