implements notification

This commit is contained in:
2025-04-24 18:48:12 +05:30
parent 31cc1b9c15
commit 029b71a247
34 changed files with 1724 additions and 705 deletions

View File

@@ -0,0 +1,67 @@
{
"project_info": {
"project_number": "855851990714",
"project_id": "frontshop-emporium-8f851",
"storage_bucket": "frontshop-emporium-8f851.firebasestorage.app"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:855851990714:android:00a09bb4d0b9f1df818c83",
"android_client_info": {
"package_name": "com.app.frontshop.delivery"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyD2my5NEUm5almYwz_vUWgoMNMT4OMpGHM"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:855851990714:android:6fb061e1f508cfe1818c83",
"android_client_info": {
"package_name": "com.frontshop.userapp"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyD2my5NEUm5almYwz_vUWgoMNMT4OMpGHM"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:855851990714:android:89710f18cd3afa02818c83",
"android_client_info": {
"package_name": "com.frontshop.vendor"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyD2my5NEUm5almYwz_vUWgoMNMT4OMpGHM"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
}

View File

@@ -16,17 +16,20 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.CALL_PHONE"/>
<application
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<application
android:requestLegacyExternalStorage="true"
android:enableOnBackInvokedCallback="true"
android:label="Frontshop"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="high_importance_channel"/>
<activity
android:name=".MainActivity"
android:exported="true"
@@ -62,6 +65,15 @@
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<service
android:name="io.flutter.plugins.firebase.messaging.FlutterFirebaseMessagingService"
android:exported="true"
tools:replace="android:exported">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
</application>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility and