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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners