The point of my response was that if you use the Simulator you can see the plist file where the defaults are saved, and you can determine whether you were actually writing them (so the issue is in reading them), or if they weren't in the file the issue is in the writing.
You're saving a string 1 for a boolean pushIsYes. You should write and read it as a boolean with boolForKey. This can stop you accidentally mixing up values.
Add your solution as a reply (not a comment), then mark it as the answer, and others will know this worked for you so it might help them.
Answered posts are helpful for others because they know there was a solution to the issue.
Dude, try it for yourself! Add a privacy manifest file as I've suggested. Add the right keys and values for your project your code, not the SDKs), and build it.
This reply disappeared, then reappeared, and the two code blocks have been munged together, with the text that I'd put in-between placed above them. Forum bugs ahoy!
If the user clicked it, they clearly received it.
Besides, can't you just assume that a notification is actually sent? We assume lots of things, why would you need to confirm this specific thing?
The point of my response was that if you use the Simulator you can see the plist file where the defaults are saved, and you can determine whether you were actually writing them (so the issue is in reading them), or if they weren't in the file the issue is in the writing.
You're saving a string 1 for a boolean pushIsYes. You should write and read it as a boolean with boolForKey. This can stop you accidentally mixing up values.
Add your solution as a reply (not a comment), then mark it as the answer, and others will know this worked for you so it might help them.
Answered posts are helpful for others because they know there was a solution to the issue.
Dude, try it for yourself! Add a privacy manifest file as I've suggested. Add the right keys and values for your project your code, not the SDKs), and build it.
This reply disappeared, then reappeared, and the two code blocks have been munged together, with the text that I'd put in-between placed above them. Forum bugs ahoy!
If the user clicked it, they clearly received it.
Besides, can't you just assume that a notification is actually sent? We assume lots of things, why would you need to confirm this specific thing?