From the course: Visual Studio App Center for Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Push notification server setup for native Android

Push notification server setup for native Android - Visual Studio Tutorial

From the course: Visual Studio App Center for Developers

Start my 1-month free trial

Push notification server setup for native Android

- [Instructor] Android push notifications use Firebase. So we're in the Firebase development portal and we're going to go in and add a project. We're going to call the project Native VSAC and we'll push Create Project. When that's done, we'll click on the gear and go to the project settings and cloud messaging. Then we're going to take the sender ID and copy it to the clipboard. Now we'll go back to Android Studio. In Android Studio, before we call the App Center Start, we want to add a new line, Push, and we'll set sender ID and that'll be a string, and we'll paste in the Sender ID that we grabbed out of Firebase and we'll go File and Save All. Now we can go to Source Tree and update our repository. In Source Tree, we'll commit our changes, make sure they're all selected, and we'll put in a comment. Add push to native android. And press commit. While we're waiting, we'll go back to Firebase and hook up our push notifications to VSAC. So inside Firebase, you want to grab the server…

Contents