I'm trying to figure out some things with notifications (thread for that), but all of a sudden I'm unable to make even the most basic notification show. For instance, this code produces nothing:
Granted, I'm somewhat clueless when it comes to basic iPhone usage, so I might have fat-fingered something on the device when fiddling with a notification. I can, however, say with certainty that I haven't gone into Settings and changed anything.
I can't for the life of me find any problems. Here's what I've checked and tried, without success:
Any ideas from our experienced iPhone users?
B4X:
Dim ln As Notification
ln.Initialize(DateTime.Now)
ln.AlertBody = "Woop woop"
ln.PlaySound = True
ln.Register
Granted, I'm somewhat clueless when it comes to basic iPhone usage, so I might have fat-fingered something on the device when fiddling with a notification. I can, however, say with certainty that I haven't gone into Settings and changed anything.
I can't for the life of me find any problems. Here's what I've checked and tried, without success:
- Restarted the iPhone
- Cleaned the project
- Changed the package name
- Checked in Settings that the app is allowed to show notification
- Checked in Settings that I didn't mistakenly activate Do Not Disturb
Any ideas from our experienced iPhone users?