IOS Push Notification Fails With Error "Exception in sending APNS request" In Logs
(Doc ID 2660131.1)
Last updated on JUNE 16, 2021
Applies to:
Oracle Banking Digital Experience - Version 19.1.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
iOS Push notification failing while sending
ERROR
-----------------------
[2019-12-15T13:01:22.627+02:00] [obdxuatobpm1] [ERROR] [] [AMA.com.ofss.digx.domain.ep.service.dispatch.APNSDispatcher] [tid: pool-43-thread-2] [userId: 011177774] [ecid: 005aRk36fvfF4EG6yz7i6G0004vs0007lF,0:1:250] [APP: obdx.app.rest.idm] [partition-name: DOMAIN] [tenant-name: GLOBAL] [< 3841-3641-8499-8045-0385 >] Exception in sending APNS request. regId: {length=32,bytes=0x2efb9af3e0126cb3d11d03b7b8ca9039...c3992ce220802b74}[[
java.lang.RuntimeException: Invalid hex character: {
at com.ofss.digx.helper.applepush.Utilities.charVal(Utilities.java:77)
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Step 1: Create iOS project in firebase with the same application package name.
Step 2 : download GoogleService-Info.plist file from firebase and copied in iOs workspace
Step 3 : With the Push certificate (.cer) generated .p12 file and uploaded in firebase and configured the password of .p12 file in firebase
Step 4 : Same as been configured in OBDX following below document
https://docs.oracle.com/cd/F18558_01/tech_docs/Oracle Banking Digital Experience Mobile Application Builder Guide-iOS.pdf (2.5 Generating Certificates for Development, Production and Push Notifications)
After registering the Push notification for the user entry got inserted in the Digx_mb_pushnotification table for iOS device with device token.
Log in with a user who is registered for Push Notification.
Do a transaction which generates push notification.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |