{"id":25741312,"url":"https://github.com/sur16-cse/push_notification_flutter","last_synced_at":"2025-10-24T16:46:21.368Z","repository":{"id":176664122,"uuid":"654104832","full_name":"sur16-cse/push_notification_flutter","owner":"sur16-cse","description":"It is push notification with the help of flutter  and firebase, user get notified about new update in app.","archived":false,"fork":false,"pushed_at":"2023-07-31T09:37:40.000Z","size":359,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T09:33:34.424Z","etag":null,"topics":["firebase-core","firebase-messaging","flutter","http","push-notifications"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/push_notification_firebase/score","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sur16-cse.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-06-15T11:53:50.000Z","updated_at":"2024-04-25T16:48:47.000Z","dependencies_parsed_at":"2024-04-25T18:49:15.867Z","dependency_job_id":"1c32ad67-e87e-4148-91fa-523ef6bda4d9","html_url":"https://github.com/sur16-cse/push_notification_flutter","commit_stats":null,"previous_names":["sur16-cse/push_notification_flutter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sur16-cse/push_notification_flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sur16-cse%2Fpush_notification_flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sur16-cse%2Fpush_notification_flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sur16-cse%2Fpush_notification_flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sur16-cse%2Fpush_notification_flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sur16-cse","download_url":"https://codeload.github.com/sur16-cse/push_notification_flutter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sur16-cse%2Fpush_notification_flutter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263719778,"owners_count":23501107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firebase-core","firebase-messaging","flutter","http","push-notifications"],"created_at":"2025-02-26T09:27:37.775Z","updated_at":"2025-10-24T16:46:16.317Z","avatar_url":"https://github.com/sur16-cse.png","language":"C++","readme":"# push_notification\n\nA new Flutter project.\n\n## App configuration for firebase push notification:\n- Create firebase  Project for individual project\n\n- set up and change (optional) package name : The package name will be available in the ./android/app/build.gradle file of your Flutter project.\n\n- After register:  google-services.json file which will link our Flutter app to Firebase Google services. We need to download the file and move it to the ./android/app directory of our Flutter project.\n\n- Add Firebase Configurations to Native Files in your Flutter Project: root-level (project-level) Gradle file (android/build.gradle), we need to add rules to include the Google Services Gradle plugin.\n```\nbuildscript {\n    repositories {\n        // Check that you have the following line (if not, add it):\n        google()  // Google's Maven repository\n    }\n    dependencies {\n    ...\n        // Add this line\n        classpath 'com.google.gms:google-services:4.3.4'\n    }\n    }\n    allprojects {\n        ...\n        repositories {\n        // Check that you have the following line (if not, add it):\n        google()  // Google's Maven repository\n        ...\n    }\n}\n```\n- (app-level) Gradle file (android/app/build.gradle), we need to apply the Google Services Gradle plugin.\n```\n// Add the following line:\n  **apply plugin: 'com.google.gms.google-services'**  // Google Services plugin\n```\n\n- Integrate Firebase Messaging with Flutter: add the firebase-messaging dependency to the ./android/app/build.gardle file.\n```\ndependencies {\n    //add this line\n    implementation platform('com.google.firebase:firebase-bom:32.1.0')\n    implementation 'com.google.firebase:firebase-analytics-ktx'\n    implementation \"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version\"\n}\nroot level build.gradle\n    dependencies {\n    //add this\n    classpath 'com.google.gms:google-services:4.3.15'\n}\n```\n\n- minsdkversion should be 19\n\n- these permissions need to be there in android manifest file\n```\n\u003cuses-permission android:name=\"android.permission.POST_NOTIFICATIONS\"/\u003e\n\u003cuses-permission android:name=\"android.permission.INTERNET\" /\u003e\n\u003cuses-permission android:name=\"android.permission.WAKE_LOCK\" /\u003e\n```\n\n- for building default notification channel this should be inside android manifest\n```\n\u003cmeta-data\nandroid:name=\"com.google.firebase.messaging.default_notification_channel_id\"\nandroid:value=\"high_importance_channel\" /\u003e\n```\n\n- for giving icon to push notification ./android/app/src/main/res inside that extract icon and put it in res folder and it is responsible for giving icon to push notification\n\n## Functionality package provide:\n- request permission\n- getDeviceToken\n- tokenRefesh if expire\n- foreground notification\n- background notification\n- Interact with notification after click switch to some page i.e, deep linking\n- subscribe notification related to particular topic\n- unsubscribe from topic\n- customising banner of push notification\n- different template support (add image, add body, add icons)\n\n## Getting Started\n\nThis project is a starting point for a Flutter application.\n\nA few resources to get you started if this is your first Flutter project:\n\n- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)\n- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)\n\nFor help getting started with Flutter development, view the\n[online documentation](https://docs.flutter.dev/), which offers tutorials,\nsamples, guidance on mobile development, and a full API reference.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsur16-cse%2Fpush_notification_flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsur16-cse%2Fpush_notification_flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsur16-cse%2Fpush_notification_flutter/lists"}