Hi all,
We used to launch our app in background by a silent FCM push and the app will display a local notification or does other jobs. It works in general.
However, in one case, a iphone SE2 at iOS15.0.1, the app does not launch when a push is got. Checking out the console log, we have:
16:12:40.559604+0800 dasd Submitted Activity: com.apple.pushLaunch.com.hkt-starhomecall.ios.app:92F900 at priority 5 <private>
16:12:40.559921+0800 runningboardd [daemon<com.apple.dasd>:100] handle lookup could not find a matching process
16:12:40.560240+0800 dasd Error obtaining RBS process handle: Error Domain=RBSRequestErrorDomain Code=3 UserInfo={NSLocalizedFailureReason=<private>}
16:12:40.561398+0800 dasd Adding a launch request (<private>) for application <private> by activity <private>
16:12:40.561577+0800 dasd Launch requests for <private>: <private>
16:12:40.561706+0800 dasd Daemon Canceling Activities: {(
com.apple.pushLaunch.com.hkt-starhomecall.ios.app:58E563
)}
16:12:40.561836+0800 dasd CANCELED: com.apple.pushLaunch.com.hkt-starhomecall.ios.app:58E563 at priority 5 <private>!
16:12:40.561950+0800 dasd Removing a launch request for application <private> by activity <private>
16:12:40.565382+0800 SpringBoard cancelActivities: 1 activities were not found: <private>
16:12:40.568732+0800 runningboardd [daemon<com.apple.dasd>:100] handle lookup could not find a matching process
16:12:40.569402+0800 dasd Error obtaining RBS process handle: Error Domain=RBSRequestErrorDomain Code=3 UserInfo={NSLocalizedFailureReason=<private>}
16:12:40.571141+0800 dasd com.apple.pushLaunch.com.hkt-starhomecall.ios.app:92F900:[
{name: ApplicationPolicy, policyWeight: 50.000, response: {Decision: Absolutely Must Not Proceed, Score: 0.00, Rationale: [{[pushDisallowed]: Required:1.00, Observed:0.00},]}}
], FinalDecision: Absolutely Must Not Proceed}
The dasd seems refused to launch our app somehow with a
Rationale: [{[pushDisallowed]
. What does that mean? And what can we do?
P.S. my FCM payload would be something like
didReceiveRemoteNotification: userInfo {
aps = {
"content-available" = 1;
};
"gcm.message_id" = 1633942901629592;
"google.c.fid" = ddjGQwTik02Fh6agnjGhWm;
"google.c.sender.id" = 1056180720554;
notificationRequest = "home.link.update.block.history.list";
payload = "{\"logCalls\":[{\"duration\":0,\"blockedCategory\":\"2\",\"otherSideNumber\":\"24268975\",\"blockedName\":\"\U96fb\U8a0a\U5ee3\U64ad\",\"callOrigninationDateTime\":1633942901605,\"recordedDuration\":0,\"callResult\":\"B\",\"callOriginationDateTime\":1633942901605}],\"notificationDeviceUuids\":[\"9ba61840-c573-46b7-af31-9f51d7f9ed41\",\"ef8a7828-4c07-4187-bd47-ef1cfb440dee\"]}";
}
Regards,
Charles Chan