I have developed an app that enabled push notification. It is available in AppStore. After installing the application on my device it shows Alert for enabling push notificat
1.Delete your app from the device.
2.Turn the device off completely and turn it back on.
3.Go to Settings > General > Date & Time and set the date ahead a day or more.
4.Turn the device off completely again and turn it back on.
for reference: https://developer.apple.com/library/ios/technotes/tn2265/_index.html
See the Apple technical note TN2265. In section "Resetting the Push Notifications Permissions Alert on iOS" they explain how to reset the permission dialog on iOS. However many developers complain that the procedure doesn't work. See my response to a similar question for more details.
It seems like in IOS 10 and development environment
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>
is enough to uninstall the app and rerun it and the push notification permission alert is shown on every ne install.