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:
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
I have no idea what else to do to get back basic notifications. I should also mention that I have no real app usage on the device (and no SIM card or email setup) so there's really nothing else producing notifications.
Any ideas from our experienced iPhone users?