oneSignal iOS push not wroking

Hi Folks,
Greetings!

I have implemented push notification for Android and iOS using oneSignal. Android working perfect but for iOS not able get push notifications and on oneSignal portal / dashboard  showing following error message in Users page Subscribed section.

Error message is: 
APNs Delegate Never Fired :
Remove any other notification SDK and push code from your app. The SDK received a response from APNs

Please note: iOS device is added in oneSignal user list and  get oneSignal playerID too.

Kindly help to resolve this issue.

Thanks

Have you generate Apple Push Certificate and upload it to OneSignal Setting screen?

https://documentation.onesignal.com/docs/generate-an-ios-push-certificate

Harlin Setiadarma wrote:

Have you generate Apple Push Certificate and upload it to OneSignal Setting screen?

https://documentation.onesignal.com/docs/generate-an-ios-push-certificate

Hi,

Yes, I have done with all formalities that's why iOS devices are added to oneSignal dashboard.

Please see below or attachment file for active iOS set up on oneSignal.


Hi,
Please help me, how to send push notification to iOS devices using OneSignal.





Solution

Hi Folks,

Issue is resolved.

I have uploaded the build on apple store and installed it from TestFlight then test and notification is working.

Thanks Harlin Setiadarma to your support.

Solution

Hi,

I am used onesignal

Tested all the possible scenarios on both iOS and Android apps, and here the verified list  :

Device Type

Android

IOS

Notification receiving Scenarios
App is not running in Background
App is open in Background
User is on the app 
App is not running in Background
App is open in Background
User is on the app 
Notification Received ?
Yes
Yes
Yes
Yes
Yes
Yes
Deep link is working ?
No
 
Yes, deep link triggered expected behaviour
No (No action after clicking the notification)
No
No
Yes, deep link triggered expected behaviour – no crashes appeared

I need to work the deeplink When the app is not running in background & App is open in background(IOS & ANDRIOD), Anyone help me 


Thanks,
Jeyasri

JEYASRI R wrote:

Hi,

I am used onesignal

Tested all the possible scenarios on both iOS and Android apps, and here the verified list  :

Device Type

Android

IOS

Notification receiving Scenarios
App is not running in Background
App is open in Background
User is on the app 
App is not running in Background
App is open in Background
User is on the app 
Notification Received ?
Yes
Yes
Yes
Yes
Yes
Yes
Deep link is working ?
No
 
Yes, deep link triggered expected behaviour
No (No action after clicking the notification)
No
No
Yes, deep link triggered expected behaviour – no crashes appeared

I need to work the deeplink When the app is not running in background & App is open in background(IOS & ANDRIOD), Anyone help me 


Thanks,
Jeyasri

Hi Jeyasri,
Greetings!

I think you have seen following link (if not seen so kindly go through this hopefully this will resolve your query).
https://success.outsystems.com/Documentation/Development_FAQs/How_to_Define_Mobile_App_Deep_Links

Cheers! 


Hello, can any one help me with iOS notifications? I'm using One Signal with Flutter. (Version onesignal_flutter 2.4.0)

OneSignal.shared.setLogLevel(
      OSLogLevel.verbose,
      OSLogLevel.none
    );

    await OneSignal.shared.setRequiresUserPrivacyConsent(true);

    var settings = {
      OSiOSSettings.autoPrompt: true,
      OSiOSSettings.promptBeforeOpeningPushUrl: true
    };

    // NOTE: Replace with your own app ID from https://www.onesignal.com
    await OneSignal.shared.init(
      "<app-id>",
      iOSSettings: settings
    );

    await OneSignal.shared.consentGranted(true);

    OneSignal.shared.setInFocusDisplayType(OSNotificationDisplayType.notification);

Above is how my flutter part looks like.

And below is my Podfile

target 'OneSignalNotificationServiceExtension' do
  pod 'OneSignal', '>= 2.11.2', '< 3.0'
end

I'm testing on an iPhone (13.3.1). The device does not get registered/subscribed as I can see in the One Signal dashboard (All Users).
I'm not sure how to get the full log from the device, if that is required.

Note - In some scenario which I haven't properly understood yet, the device got registered and I could send a test notification to confirm the certificates etc are alright.
Now I deleted the device from One Signal to continue testing my actual scenario.