When should you ask users for push notification permission?
Not on first launch, but when the benefit is obvious: after an order, a booking or a request for status updates. Show your own screen with an explanation and Yes and Later buttons first, and the system prompt only after the user agrees. After a refusal, permission can only be restored in settings, so timing matters.
More in the guide to push notifications.