jfversluis / been-pwned

App that leverages the haveibeenpwned.com API by Troy Hunt. This app is available in the App Stores and is used in several of my talks as well as my book Xamarin.Forms Essentials.
MIT License
16 stars 3 forks source link

Push notification not being enabled #62

Open si458 opened 6 years ago

si458 commented 6 years ago

Updated to new version 2 on ios 11.2.2 iPhone 7

For some reason when you click the enable push notification button it doesn't do anything

Doesn't change, doesn't pop up with anything?

jfversluis commented 6 years ago

Thank you for letting me know! Could you post a screenshot of what you're seeing? Maybe it did work but I just didn't make it clear enough that push notifications are in fact enabled?

si458 commented 6 years ago

img_0803 it just simply says 'Enable push notifications' and when you click it, it does nothing doesn't change, doesn't ask did I want to allow notifications

only thing I can assume is the old version I did have notifications setup already, so it may be your not checking to see if the notifications are already enabled and if so setting the button to disable instead

jfversluis commented 6 years ago

Hm. That could make sense, but would be hard for me to reproduce. What it should do is ask you permission for notifications and just enable them.

I assume you've already checked that permissions are allowed in the Settings?

si458 commented 6 years ago

ok strange, gone into settings->been pwnd->notifications all switched on

I have then switched off the notifications and gone back into the app and the button now says 'Push Notifications enabled' even tho I have switched them off in the settings?

also when you now click the 'push notifications enabled' button it now pops up saying 'Enable push notifications, to enable push notifications, please go into settings, tap notifications and set allow notifications to on'

jfversluis commented 6 years ago

Hm something funny is going on. Did you try to remove the app altogether and reinstall?