Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications #15

Closed
alpires opened this issue Oct 31, 2020 · 3 comments
Closed

Notifications #15

alpires opened this issue Oct 31, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@alpires
Copy link

alpires commented Oct 31, 2020

Hi, there is a demo that uses DW.Notifications.pas?
How send a notification with Kastri?

@DelphiWorlds
Copy link
Owner

There is a demo in the old Kastri Free repo, here: https://github.com/DelphiWorlds/KastriFree/tree/master/Demos/Notifications. This is related to local notifications, and was used as a workaround for issues in older versions of Delphi. If you want an implementation for push notifications, please go to: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/FirebaseCloudMessaging

@DelphiWorlds DelphiWorlds self-assigned this Nov 6, 2020
@DelphiWorlds DelphiWorlds added the question Further information is requested label Nov 6, 2020
@DelphiWorlds
Copy link
Owner

Closed due to inactivity

@alpires
Copy link
Author

alpires commented Nov 18, 2020

Hi, but if I use DW.Notifications of kastri, i get the error in:

function TPlatformNotificationChannel.GetSound: string;
begin
  Result := JURIToStr(FChannel.getSound);
end;

[DCC Error] DW.Notifications.Android.pas(186): E2003 Undeclared identifier: 'getSound'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants