I developed a application which uses push notification,it was working fine but when today i updated and when i run the application ,app is not able to get device token,both delegates methods are not called .but when i see the notification in settings of iphone ,i find my app as registered for notification ,how can i fix this problem any help?
Unlocked iPhones have many problems with Push Notifications. Check the web, there are some work arounds you can do to get it working. Strange that it worked before, but now it isn't.. The methods you spoke about are the correct methods and should be fired when launching the app...
You can try to kill the app from the multitasking. Maybe that's the case the methods aren't called...
Related
I'm developing an iPhone & Android via Phonegap. I already got the Push Function to work on the iOS device, and I also can recognise whether the user has Push activated or not while the App is running.
Now I want to be informed when the user activated / deactivated Push Messages in the notification center, even if the app is not running.
Is there anyway to do this? I searched quite a lot on this topic, but all I found were ways to recognise if push is activated or not, which I already can.
Any help will be appreciated.
I have an app on appstore that uses notifications.
Today I got a support message from a customer having problems..
I already noticed that sometimes when upgrading from iOS 4.x -> 5.x notification center didn't automatically allow the app to send notifications..
However in this case the user does not even see the app in the notification center list.. I cannot reproduce this problem but is there anyone who knows how to fix this or knows the cause of this problem?
Ok, after sending him some test cases it turned out that the app had to send a notifcation for it to appear in the list.. Wierd but the app now appears and works for the user..
When a app has a push notification feature implemented at what point in time do we see the app name under Settings-->Notifications for enabling/disabling notifications?
Is it when you install the app and IOS will automatically come to know this or we need to run the app at-least once to see this option.
I am seeing two different cases: When I install the app on my iPod touch I immediately see the Push notification enabling switch in Settings but when I install it on my iPhone it do not show this option even after running the app. What could be the reason?
It shows when you register the app for push notifications in code. The reason it is showing up for you as soon as you install it on one of your devices is that you have already accepted it on a previous install of the same app, and uninstalling/reinstalling unfortunately does not cause iOS to forget this.
I am working on push notification on iPad. My application is a universal application include iPhone and iPad. The iPhone push notification works well, the user receives push, the app name appears in the Setting -> Notifications
However, I have a small issue with the ipad version is that the app name does not appear in the list of Settings -> Notifications. I can still register for the device ID, the iPad does receive the push notification.
Does anyone know what can be a reason? I checked and be sure that both the registering code for both devices are exactly the same
Maybe this is obvious, but did you try to:
Restart the iPad?
Completely remove the App, create a clean build and run that build on the iPad?
Try to install on another iPad? Is the issue also present on the other iPad?
Reinstalling a clean build and restarting the device should do the trick with the majority of strange problems like this one. If this is not resolving your problem it's very important to test on another iPad or completely reset your iPad.
This way you can see if there is something wrong in the iOS install itself. It sounds like this is the case, because push is working and the iPhone version is working fine.
By testing on another iPad you could determine if the problem is in your code/App or in iOS.
Is your iPad updated to the latest version?
Follow the steps mentioned below.
http://ipad.about.com/od/iPad_Guide/ss/How-To-Turn-Off-Push-Notifications-On-The-Ipad.htm
Are you sure you are registering your app at launch time?
I had a similar issue where I removed - (void)registerForRemoteNotificationTypes by accident.
All the devices on which I had the application before removing that line still had the settings, but the new one didn't register to push hence not being registered in Settings.
I have a strange problem with my iPhone app.
I use geolocation and push notification. Everything is ok, but I want to test from scratch on the iPhone (connected to xcode debugger)... and I can't re initialized the iPhone.
I explain: I remove the app from the iPhone, and after re-installing the app (with xcode or with iTunes), I launch the app, but iOS doesn't ask me to approve geolocation and push notification as it does the first time. In fact, it seems to 'remember' my choices.
As I need to debug this (Some users have problem on running app the first time), I'm blocked.
Thanks by advance for yours answers
There's a place in the Settings app to reset Location permissions.