vppavlov
vppavlov

Reputation: 33

How to fire notification in delphi XE10 seattle without vibration

In Android app, code fires silent notification when app goes in background. In Delphi XE8 it works fine - no sound, no vibration, but it behaves differently in Delphi XE10 - no sound, but there is vibration [vibration is off in user permissions]. How I can remove vibration?

begin
 MyNotification := NotificationCtr.CreateNotification;
try
 MyNotification.Name := ' Name';
 MyNotification.AlertBody := 'AlertBody';
 MyNotification.Number := 0;
 MyNotification.EnableSound := false;
 MyNotification.FireDate := Now;
 NotificationCtr.ScheduleNotification(MyNotification);
finally
 MyNotification.DisposeOf;
end; 
end;

Upvotes: 1

Views: 627

Answers (1)

Ken White
Ken White

Reputation: 125749

This is reported as bug RSP-12396. It was fixed in Seattle 10 Update 1 released this week.

Upvotes: 1

Related Questions