PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
[WM23] Local notification
[WM23] Local notification
Started by ARV, Aug., 27 2018 7:23 PM - No answer
Connect yourself…
ARV
#1
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on August, 27 2018 - 7:23 PM
Hi
I'm trying to use a local notification on android and iPhone
I use a firebase and Apple respecting service.
I have a function on the start of the app that recieve the push notification from those plataforms
in there I create a local push to show the user it have something new while the global procedure it's executing.
the thing is:
Android:
I cant create a notifiction but this only show the name of the app it doesn't put the title and message I want and I put on my code:
NotifDelete
(
NotifLocal
)
NotifLocal
..
Title
=
"new message"
NotifLocal
..
Message
=
"new message."
NotifLocal
..
Deletable
=
True
NotifLocal
..
Content
=
"new message."
NotifAdd
(
Notif
)
I put the notifdelete to delete the previous one but it doesn't delete it I put the NofiLocal variable global just to see if it could work but nope.
iOS:
I have the exact same code on android to iOS but this one doesn't show anything, it execute the code of the global procedure of notifpushprocedure but it doesn't add the notification. I search on pcsoft help but it say that the only way to put a local notification it's with the event background of the app, but if my user it's using the app I want to show him he has some new info without using toastdisplay while my app it's running on foreground.
is it a way to add a notification with iPhone?
Thanks
--
Best Regards
Jose
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text