Category: Laravel, PHP, MySQL

Open your Android Studio or Visual studio code and Now open your lib folder and open main.dart, and remove some commented codes.

Now go to pubspec.yml file and add some firebase pluginwhich is required for receive push notification in the app and run pub get.

Now add the dependency in your app-level the file that is typically located at android/app/build.gradle.

Now go to the project overview setting in the firebase console and click oncloud messaging and save the server key.

Now to create the table in the database run and go to PHPMyAdmin and select table push_notifications and add 3 columns.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners