diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 8175d47..3482e2c 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -16,6 +16,8 @@ 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; C690B4752A80554500E1D66E /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = C690B4742A80554500E1D66E /* GoogleService-Info.plist */; }; + C6B15AA12B5FB24600746405 /* order.wav in Resources */ = {isa = PBXBuildFile; fileRef = C6B15A9F2B5FB24600746405 /* order.wav */; }; + C6B15AA22B5FB24600746405 /* tone2.wav in Resources */ = {isa = PBXBuildFile; fileRef = C6B15AA02B5FB24600746405 /* tone2.wav */; }; D529E7C8240CCC30BB7358A2 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B099132D71B1299FCDFD9C8 /* Pods_Runner.framework */; }; /* End PBXBuildFile section */ @@ -66,6 +68,8 @@ 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; C690B4742A80554500E1D66E /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; C69588332A8C1F6B00C3AC67 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; + C6B15A9F2B5FB24600746405 /* order.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = order.wav; sourceTree = ""; }; + C6B15AA02B5FB24600746405 /* tone2.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = tone2.wav; sourceTree = ""; }; CAF37DC30C17166B851DBC8C /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; F231BA28015FE2C634809733 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -147,6 +151,8 @@ isa = PBXGroup; children = ( C69588332A8C1F6B00C3AC67 /* Runner.entitlements */, + C6B15A9F2B5FB24600746405 /* order.wav */, + C6B15AA02B5FB24600746405 /* tone2.wav */, 97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, @@ -264,7 +270,9 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + C6B15AA22B5FB24600746405 /* tone2.wav in Resources */, 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, + C6B15AA12B5FB24600746405 /* order.wav in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, C690B4752A80554500E1D66E /* GoogleService-Info.plist in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, diff --git a/ios/Runner/Constants.swift b/ios/Runner/Constants.swift index 8085844..b60605b 100644 --- a/ios/Runner/Constants.swift +++ b/ios/Runner/Constants.swift @@ -1 +1,8 @@ -let mapsApiKey = "AIzaSyCyfwRXTwSTLOFQSQgN5p7QZgGJVZnEKq0" \ No newline at end of file +// +// Constants.swift +// Runner +// +// Created by Hamza Aleghwairyeen on 15/01/2024. +// + +import Foundation diff --git a/ios/Runner/order.wav b/ios/Runner/order.wav new file mode 100644 index 0000000..b2b0ba2 Binary files /dev/null and b/ios/Runner/order.wav differ diff --git a/ios/Runner/tone2.wav b/ios/Runner/tone2.wav new file mode 100644 index 0000000..0582d47 Binary files /dev/null and b/ios/Runner/tone2.wav differ diff --git a/lib/controller/firebase/firbase_messge.dart b/lib/controller/firebase/firbase_messge.dart index a20d9d7..affec11 100644 --- a/lib/controller/firebase/firbase_messge.dart +++ b/lib/controller/firebase/firbase_messge.dart @@ -271,7 +271,11 @@ class FirebaseMessagesController extends GetxController { 'notification': { 'title': title, 'body': body, +<<<<<<< HEAD 'sound': 'tone2.wav' +======= + 'sound': 'tone2.wav' +>>>>>>> 158d5dfb356420937651bcd4d22a779f03a12e07 }, 'data': { 'passengerList': map, @@ -308,7 +312,11 @@ class FirebaseMessagesController extends GetxController { 'notification': { 'title': title, 'body': body, +<<<<<<< HEAD 'sound': 'tone2.wav' +======= + 'sound': 'tone2.wav' +>>>>>>> 158d5dfb356420937651bcd4d22a779f03a12e07 }, 'data': { 'click_action': 'FLUTTER_NOTIFICATION_CLICK',