IOS TNotification problem

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

IOS TNotification problem

Postby Lena » Sun Aug 12, 2018 12:29 am

Hi.
I can not receive notification on iOS, neither when the application is minimized, nor when it is activated - under any circumstances. FMLocalNotificationPermission is set to true (Project -> Options -> Version Info). Breakpoints indicate that the try block executes, however I do not see notifications. The application was given permission to receive notifications. Tell me, please, what's missing?
Code: Select all
if (NotificationCenter1->Supported())
   {
   TNotification *myNotification = NotificationCenter1->CreateNotification();
    __try {
         myNotification->Number = 1;
         myNotification->AlertBody = L"Hello.";
         myNotification->Name = "MyNotificationStart";
            myNotification->FireDate = System::Dateutils::IncSecond(Now(), 600);
            NotificationCenter1->ScheduleNotification(myNotification);
        }
      __finally
         {
         myNotification->DisposeOf();
         }
   }
Lena
BCBJ Master
BCBJ Master
 
Posts: 603
Joined: Sun Feb 06, 2011 1:28 pm

Re: IOS TNotification problem

Postby watsson » Mon May 27, 2019 1:46 am

This is one of the most common errors that we all more or less face while using iOS, and if you want to get it fixed, I will suggest you consult with epson error code 0xf3 for further information.
watsson
 
Posts: 1
Joined: Mon May 27, 2019 1:40 am


Return to Technical

Who is online

Users browsing this forum: Google [Bot] and 31 guests