I'm developing a Flutter application for both Android and IOS. I'm sending to my users custom sound notifications using Firebase Cloud Messaging (FCM).
On Android everything is just fine, I'm receiving notifications with custom sounds. However, on IOS I'm receiving the notifications, but with default sound.
I have configured my Xcode as the following:
What am I doing wrong?
Your sound files should be plain directly to the Copy Bundle Resources (and not in the assets folder).
Related
Im already using the awesome_notifications package to create custom notifications in my Flutter app but it doesn’t seem to support communication notifications for iOS (notifications with a profile picture instead of the app icon). I don’t know if there’s a plan to add this in the future and it’s been a year since these notifications were released with iOS 15 so I’m looking for other solutions. Are there any example Flutter apps with a platform channel or something like that to create communication notifications?
I am working on a project where I am using Agora for Video calling feature. I used flutter_ringtone_player to play ringtone whenever there is a call. It works fine when app is active but it is not working in the inactive state of the app.
Can anyone suggest me How i can make it work for my project.
I am creating an application using OpenTok on Ionic for Android and IOS devices.
When I am running the application on Android/IOS devices the device speaker is used as a default audio. I am struggling to use the primary audio source which we normally use when we do a phone call or whatsapp call.
TokBox Developer Evangelist here.
You would need to write a custom audio driver to be able to route the audio to the desired route. Here are some links to the sample implementations:
iOS - Objective-C
Android - Java
If you're using Ionic, you would need to write a bridge via Cordova to be able to expose this functionality because it's not available through the Cordova-Plugin-OpenTok.
I have a WebView mobile application. So I use a website embbeded in this application.I'm searching a way to play sound notifications in mobile website when the device screen is in locked mode.
How can I do this ?
I heard that this is called as Specific Push or Web Push but I couldn't find a code for this in anywhere.
Update 1
I'm trying with Swift and Xamarin.
Update 2
I learned from here that currently Web Push is not supported by Apple.
To send push notifications you can use something like onesignal.com or create your own push server. If you use Phonegap you can send local notification, but it will only work if your app is running while phone is in sleep mode.
Because PhoneGap now offers PhoneGap Build, a way to compile iPhone apps without Xcode, we're wondering if there's also a way to access the SDK without Xcode?
In particular, we need PhoneGap to allow our HTML5 app to access a device's UDID, to pre-populate a SMS message, and to integrate with Urban Airship for push notifications.
We want to convert our HTML5 app into a native iPhone app.
Thanks!
Generally if it's part of the JS wrapped PhoneGap SDK then yes you have access to some limited subset of the native SDK calls, and can use Build to do whatever's supported.
As for the UDID, while it's been deprecated in iOS5, it is supported through PhoneGap:
http://docs.phonegap.com/en/1.1.0/phonegap_device_device.md.html#device.uuid
For SMS, you would have to build your project with XCode to include the SMS plugin, as it's not part of the default PhoneGap SDK any longer (used to be, don't know when it got dropped).
https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/SMSComposer
Local notifications are supported well but I'm pretty sure you would also have to build in some additional code and build with XCode to get push notifications supported.
Apparently they are working plugins into the Build pipeline but last I checked it wasn't ready yet.