-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apns Delegate Never Fired for some iphone #503
Comments
Hello, This may be related to #180 |
Hi, I think I was able to figure out the problem(at least on my end).
I have a static library embedded in the project that causes this similar linking problem with cocoapods #5768. I think because of this problem I get this warning from OneSignal Because of this swizzling Is this correct @rgomezp ? |
@wilf16 , |
@rgomezp yes, it did resolve the problem in swizzling between cocoa pods and a static library. Although it's not an ideal solution, but for now it will do. |
I will close for now. @gyong0108 please comment if you would like to reopen |
The problem persists in iOS 13.2.1 |
im confirm that this problem persists in iOS 13.1.2 |
i have this problem as well |
@mikasaloliz , @rymesaint , Also, try toggling your WIFI (see #514 ) |
It doesn't solve the problem. |
Got the same issue - any help would be greatly appreciated |
Can you post the full log by following the steps I mentioned above? |
I'm getting the same error in iOS 13.1.2, I'm using react-native-oneSignal, changing wifi doesn't change anything |
@Luckygirlllll , Please turn on OneSignal logging |
Closing due to no response |
@rgomezp Please do not close, I have been waiting for a solution for this exact issue. Any improvements? |
I am also experiencing this and can provide you with any logs or outputs you require. |
Please include the full logs by following the steps I mentioned above |
Actually, by brute forcing it by removing the plugin and reinstalling, then updating the pod repo and re-installing the pod it fix the issue for me. However, if it reappears I will do so. |
@Twitch247 , @jcancinar , can you please try? |
Hello, i am also faced with this issue in ios13.2 |
Can you post the full log by following the steps I mentioned above? |
I was dealing with this problem for days. Tried many things. Carthage, Pod file, etc. And then suddenly it worked. I couldn't realize how I did it! Then I tried to figure that out. Now I know what should I do to make it work. As it says "APNS Delegate Never Fired" in the error message, you should create Push Certificate again and then install on your system and then export it for OneSignal and import. (Wrote it short because I think you know the process) I think the second one is really weird because that one is WIFI!!! When I realized that, I really get shocked! But it works and everything is fine. I stopped thinking and made my job 👍 :) Hope this short explanation helps. Greetings... |
@rgomezp I have removed EVERYTHING and had a clean start of Cordova. The first plugin I added was Onesignal, it worked. Then I moved the old www files and plugins to the new Cordova project It simply worked. I still have no idea what caused it but I can live with that. |
@zootopia106 |
Getting the same issue since few days on all new devices. What I have tried to do:
Used the podfile from the instructions in the SDK setup guide:
|
Can you post the full log by following the steps I mentioned above? |
Push notifications not working with iOS 13 with latest One Signal SDK. Log |
Have you also uploaded the app to Testflight before or built it directly on the device via XCode? It works for me if I download the version from Testflight. |
I re-configured again with new certs and it is working now, not able to reproduce it anymore so cannot generate the logs. Will get the logs if it occurs again. |
Make sure "Push Notifications" capability in XCode is enabled for your Target projects! |
Great to hear y'all were able to resolve. Is this safe to close? |
Still getting |
@zootopia106 , can you re-upload your cert to the OneSignal dashboard? |
I could fix this problem by using cocoapods. |
Today i have this problem (from about 2 a.m. UTC +1), and i must toggle the wifi - i have also some subscription action (that i didn't) |
I have the same trouble. |
I had to remove Branch.io plugin in favor of Onesignal. Now it’s working fine. I will look for a solution again in near future because we need the Branch plugin My suggestion to you is to remove the other plugins to see which one Onesignal doesn’t work with |
Can you please try @jcancinar 's suggestion? Cheers |
well, the my problem is not in oneSignal itself, but because some conflict between Corona SDK native project and OneSignal. sorry for disturbing, but if you can help in my case, please do. |
@otkmember I followed with you on the specific Corona SDK issue on their forums. @jcancinar With the Branch.io issue if you are seeing this Apns never fired error then the issue is most likely they are swizzling the AppDelegate incorrectly. I recommend making sure you have their latest SDK and reporting this issue to them. |
I also have the same problem, but with phonegap build, any insight I can use ? |
I am getting this error too. I am not usegin CocoaPods and my react native version 0.59.10. |
@caglardurmus even updating the OneSignal plugin to the latest version? |
@Nikiman the background check is a feature in the iOS system phone? |
@canado forgive me that I haven't specified. The background fetch mode must be checked on Xcode (Signing & Capabilities tab) before publishing the app. |
ahh ok, because I am not using Xcode but Phonegap Build |
Issue 1 - APNS Connection"background fetch" isn't required to register for push, the "Apns Delegate Never Fired" seems to be due to a connection issue to Apple if the problem goes away after toggling wifi or using a different network or iOS device. This might only be an issue with Apple's sandbox's servers. To avoid splitting the conversation between multiple tickets I am closing this one in-favor of #514. Please check the device logs as noted in #514 (comment) to see if this is the cause of the issue for you. Issue 2 - Conflicting LibraryIf you are consistently seeing the issue after trying the above then the issue is due to another library conflicting with OneSignal's AppDelegate method sizzling. I recommend trying to remove other libraries that support push to narrow down the issue in this case. Once you have narrowed it down to a specific library interfering please open a new ticket with the exact versions so we can reproduce the issue. Locking IssuePlease read the following two sections above and follow their suggestions. If nether apply please open a new issue. |
Hello, Everyone.
I am developing new ios app and using onesignal.com for push notification
https://www.screencast.com/t/6sydJuE2
But I got this issue for some iphone.
some iphones are works well but something is not working.
I am not sure what is this issue.
Please help me.
The text was updated successfully, but these errors were encountered: