Post

Replies

Boosts

Views

Activity

Reply to Notification disappears after 5 seconds.
I only cited a part of the code here above, which is in the main App swift file (The creation of the notification is, as usual, in another file). I cited this part, because I presume, but do not know, that it has something to do with launchOptions or completionHandler. Hope someone has an idea.
Feb ’24
Reply to Notification disappears after 5 seconds.
Thanks Timo23, your idea completionHandler([.alert, .badge, .sound]) pushed me in the right direction that it has to do with the characteristic of the banner. Although it did not really work to start with: I changed .banner to .alert but the notification still came as banner disappearing after some seconds. In the end I found out that my app has the following Settings page : Tapping "Notifications" brings up following page: where you can set the "Banner Style" to "persistent". Now the banner does not disappear anymore. One little disadvantage: the user has to perform this action, I have not found a way to do it programmatically.
Feb ’24
Reply to Connect DSA trader question
Mind if you select YES your address (or P.O. Box), tel. nr. and email address will be displayed in the App Store, at least acc. to https://developer.apple.com/help/app-store-connect/manage-compliance-information/manage-european-union-digital-services-act-compliance-information/ If you do not want that , NO is a good option. But when you publish a payed app, or at least one with a payed option, you probably have to select YES, although this is not explicitly clear, especially if you are just a hobby programmer "trying out" in-app-purchases. I have a non-payed app published and was considering to try out in-app-purchases, still rather as a hobby and as a learning activity. However I now doubt to start with that, I do not want my personal address published. Also, you never know which burocratic further demands will follow, (and all that because of a hobby where maybe only a friend pays once $1.99 for an in-app purchase.)
Mar ’24