- Install Node js
- install Ionic Framework
npm install -g ionic cordova
- Create your Firebase project
- Use this configuration for use Firestore database in developer/database/rules
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write;
}
}
}
- Add in firestore radios/
{
"description" : " 95.5 Virgin Hitz is rich in “Top Chart Hit” radio station which features all current hits of both International and Thai music at that particular moment.",
"fq" : 90.5,
"image" : "http://cdn-radiotime-logos.tunein.com/s14807q.png",
"title" : "95.5 Virgin HITZ",
"url" : "http://listen.shoutcast.com/113fmchillzone"
}
- Download or clone repository
git clone https://github.com/agazinakou/ionRadio.git
- Click on "Add Firebase to your Web application" in the firebase console
- Copy and paste the content into src/app/app.firebase.config.ts
export const FIREBASE_CONFIG = {
apiKey: "XXXXXXXXXXXX",
authDomain: "XXXXXXXXXXXX",
databaseURL: "XXXXXXXXXXXX",
projectId: "XXXXXXXXXXXX",
storageBucket: "XXXXXXXXXXXX",
messagingSenderId: "XXXXXXXXXXXX"
};
- Use the terminal and go to the project directory
npm install
- Installing on your phone :D
ionic cordova platform add android
ionic cordova build android
If you need technical support or have any questions, please send a message to agazinakou@gmail.com or via skype: aziiin5.
Don't re-invent the wheel, Just re-align It.