News for hackers. Stuff that matters.
Re:Show HN: A programmer's approach to finding gifts by liminvorous on Friday April 22, 2022 @09:14AM (#31121184)
Why do you request push notification permission? I can think of no useful use cases for push notifications in your app. Also you should open links in an external browser on iOS rather than using the safari view controller, or at least provide the option to; switching apps is easy, a user interaction doing something you don't want is annoying.
Re:Show HN: A programmer's approach to finding gifts by cvanvlack on Friday April 22, 2022 @09:26AM (#31121273)
The push notifications were so I can send notifications as I add products that match the tags. When someone adds something super specific, there might not be anything in the app that matches it and because we don't have any account creation, notifications were the only way I could think of to let people know of the new stuff.

Agreed on the browser side. I played with it for half a day and it was still buggy so I abandoned it in favor of other items that seemed more useful to people.