Back to Browse

How to Create Notification Categories in Unity - Android Development Tutorial

1.5K views
Sep 26, 2018
23:55

In this tutorial video I show you how to create notification categories for your Android application in Unity. Notification categories, or channels as they are referred to on the development side, are a really nice way for users to choose which notifications they receive and which ones they don't. In this video I go over creating the plugin in Android Studio then calling that plugin in Unity C# code. Finally I demonstrate how we can send push notifications to a specific channel using the Firebase Cloud Messaging console. Enjoy! Time Codes: 0:00 - Intro/Tutorial Scope 3:30 - Unity Plugin Folders Location 4:33 - Creating a new Android Studio Project 5:50 - Creating an Android Library (New Module) 6:34 - Creating the Notification Channel Creator Java Class 7:33 - Change Notification Channel Controller Module to Release Build Variant 8:00 - Coding the Notification Channel Creator Java Class 9:34 - Coding the createNotificationChannels function 12:52 - Coding the CopyPlugin method 13:41 - Calling the CopyPlugin method 14:35 - Overview of my Unity Project 15:27 - Coding the Create Notification Channels C# Class 19:31 - Demonstrating How to Send Notifications to Specific Channels 22:45 - Outro Links: Setup Firebase Cloud Messaging in your Unity application: https://youtu.be/v5uIUEuulm4 Information on Notification Importance: https://developer.android.com/guide/topics/ui/notifiers/notifications#importance Notification Channe lCreator Java Class: https://pastebin.com/BHiKfLg7 Copy Plugin Code: https://pastebin.com/Ana308VT Create Notification Channels C# Class: https://pastebin.com/u7FJqaSs CWGTech's Video on Android Plugins for Unity: https://youtu.be/bmNMugkOQBI Coding in Flow's Video on Notification Channels: https://youtu.be/tTbd1Mfi-Sk Blog: https://turbomakesgames.com My Game Development Studio's Website: https://homecookedgames.com My GitHub: https://github.com/JohnnyTurbo Music by: Joakim Karud http://youtube.com/joakimkarud My Setup: Camera - Yi Action Cam - https://amzn.to/2FSRxLk Webcam - Logitech C922x Pro - https://amzn.to/2HTinFp 27" 4K Monitor - Asus PG27AQ - https://amzn.to/2Mkg7X2 Laptop - Asus GL502VS - https://amzn.to/2FNKiET Keyboard - Das Keyboard 4 Ultimate - https://amzn.to/2W7SHZd Other Keyboard - Ducky One 2 Mini - http://bit.ly/2I8ivQI Headset - PlayStation Platinum Wireless Headset - https://amzn.to/2FR6n58 As an Amazon Associate I earn from qualifying purchases. Please 'Like' this video and share it with anyone who is interested in video game development. Subscribe to the channel for much more independent video game developer related content including tutorials, design breakdowns, industry events, VLOGs, and much more fun stuff! #FirebaseCloudMessaging #AndroidDevelopment #Tutorial

Download

0 formats

No download links available.

How to Create Notification Categories in Unity - Android Development Tutorial | NatokHD