Description

I received a report that there is a situation in UE 4.21 that it is not possible to acquire push notification device token on iOS

And they seem to have solved the problem by fixing the following part of the engine code.

// Engine\Source\Runtime\Core\Private\IOS\IOSPlatformMisc.cpp Near 1013 line 
int32 types = (int32)granted; 
// add start 
if (granted) 
{ 
   UIApplication* application = [UIApplication sharedApplication];
   [application registerForRemoteNotifications]; 
} 
// add end 
FFunctionGraphTask::CreateAndDispatchWhenReady([types]()

 

Steps to Reproduce

see UDN

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-67087 in the post.

5
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.21
Target Fix4.26
Fix Commit14522327
CreatedDec 3, 2018
ResolvedOct 20, 2020
UpdatedApr 28, 2021
View Jira Issue