Allow user to select notification sound in iOS Notification Settings - ios

I have an app that is properly posting notifications with the default iOS notification sound.
I would like to allow my users to choose their own sounds. I know I could do this in my app, but I'd rather do it in the Notifications area like one can with the standard Messages app.
I have looked and don't see anything new talking about this. Any help is appreciated. Thanks!

Related

Enable push notifications on YouTube vanced

Hello anyone that can help. I recently downloaded youtbe vanced. YouTube vanced is a modified version of the original YouTube which blocks all AD's on the app. The app works great only one thing. The thing is that I am not getting push notifications when new content is added from the subscribers. Can anyone help with this issue thank you in advance.
Try these steps:
Go to Settings >> Apps >> VancedMicroG (i am assuming you have non rooted phone and have installed MicroG for Youtube vanced.).
You might see a Gear Icon or Additional Settings in the app depending on your android version. Click on that.
There will be a highlighted text saying Battery Optimization is On or something like that. Turn in off and you will get Youtube vanced Notification.
In YouTube you get a push notification for the channels that you have subscribed and have the bell ringed. If you have that done already go to
settings -> apps -> YouTube vanced
and check the box saying show notification. If it is already ticked go to app's setting and enable notification.

How to detect if a MSMessage is sent to someone who does not have iOS10?

I created an iMessage app for iOS10. My app can send messages to non iOS10 users but it does not have any interest (it just sends a non interactive image).
Is there a way to detect that my the remote participant in my MSConversation does not have iOS10 and display a more user friendly message?
If I understand well, you want to know if the iMessage was received or something by the non iMessage app? In that case it's not directly possible within iMessage app as MSConversation is only available in iMessage extensions. You'll have to do this with a server side ;)
Edit:
On earlier version, iOS will display a placeholder message indeed, but there are actually no ways to handle that, has the SDK is not available for these versions. So the answer is unfortunately still NO, Sorry :/

How to get notification badge number from one app to another ios

I have an app with a tableView which have the entries with names whatsapp, messenger, slack etc. Now take Whatsapp for example when you tap on it it'll open whatspp via deep linking.I want to show notifications sum, which user has received on his whatsapp, onto my app. After searching around I came to knew that this is not possible to get push notifications of one app to another it's a server to server thing and many other explanations.But my question is if notifications have been received on whatsapp can I get the badge number and sum it and show it in my app? This screenshot will show more:
So the 12 is coming from whatsapp as a sum of total unread messages you can say. So how to achieve that?
UPDATEI found these links which says that it might be possible.How to catch all push notifications from other apps on iOS using private frameworks?How can I receive push notifications of an other app?
No it is not possible. Because Whatsapp is another app. So there is no linking between them. The apple security your app can not gets any other app information.
In latest iOS, they've loosened that up a bit. For example, the iOS programming guide now has a section on passing data between apps by having one app claim a certain URL prefix, and then having other apps reference that URL. So, perhaps you set your event app to answer "event://" URLs the same way that a web server answers for "http://" URLs.
see this document:enter link description here

iOS - is it possible to have user-defined/custom media for push notifications?

I'm reading through documentation for both iOS and Android and cannot see it specifically mention what I'm trying to do.
What I'd like users to be able to do within app is select a sound from a playlist (I can define them with the bundle but also wondering if it's possible for them to record a sound and use this) and also select an icon - both of which I would like to use with their push notifications.
So, for example: A user is in the app, sets a reminder, selects an icon and sound for that reminder and saves. Obviously there is local/remote notifications so, again, I'd like to know if this is possible for either.
Apple states here that
For remote notifications in iOS, you can specify a custom sound that
iOS plays when it presents a local or remote notification for an app.
The sound files can be in the main bundle of the client app or in the
Library/Sounds folder of the app’s data container.
Does this mean a user can define their own sound for the notification or will I have to pre-define a list for them to select from?
I also haven't seen anything about user-defined/custom icons rather than pre-bundled ones.
I'll be using PushWoosh so I don't know if that makes any difference.
Apple allows you to use sounds stored in your app's folder, which means you can prompt users to upload a sound, save to that folder, and use it as the notification track. You can also use predefined tracks in your app bundle. However, notifications can only display your app icon, as that is how users know the notification is from your app!
Note that you can't save the uploaded sounds to the main bundle as it is read only! If you can, you will be able to change icons of your app after user downloads it, among other crazy stuff!

Is that possible to run apps in the iOS app if user close it?

For example: an alarm app, if user close this iOS alarm app, will this app still possible to alarm user at the time they set?
For another example: an LBS app, if user close this iOS LBS app, will this app still possible to detect user's current location? Not the location that last time user opened.
I know it's possible in Android, but can't find any way to do in iOS. Please let me know which library I can research to achieve that.
Thank you!
iOS apps can perform limited functions in the background. They are documented in the App Programming Guide:
https://developer.apple.com/library/ios/documentation/iphone/conceptual/iphoneosprogrammingguide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4-SW20
You can set alarms by using local push notifications. (https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction.html)
You can track location by using the Location Updates background mode.

Resources