Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Background running Apps (Request?)

Author
Message
Chmava
11
Years of Service
User Offline
Joined: 20th Jun 2013
Location:
Posted: 27th Jun 2017 08:54 Edited at: 27th Jun 2017 08:55
Is AppGameKit capable of being set to run in Background as a BG Process?
Is it fine even if it is 1 FPS or every x seconds or minutes.
Allowing this engine to send push notification, we tested, it did not work when in BG.


IF NOT, can a developer put in this request as a first priority?

Without this function, game like match-3, network multiplayer, etc., is practically useless on this engine...
Markus
Valued Member
21
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 27th Jun 2017 10:56
Quote: "Without this function, game like match-3, network multiplayer, etc., is practically useless on this engine..."


i think your plan is to awake a paused app from other phones app?
so the not paused app will send a push notification, the push notification arrived, after click the paused app opens and continue.

AGK (Steam) V2017.05.15 : Windows 10 Pro 64 Bit : AMD (17.4.4) Radeon R7 265 : Mac mini OS Sierra (10.12.2)
Chmava
11
Years of Service
User Offline
Joined: 20th Jun 2013
Location:
Posted: 27th Jun 2017 15:44
No...
I mean like local push notification.

such like: We miss you! Come back and play!

On that note, how do we set service?
It is nice we could calculate time and send from PHP web server, but a local one where user has minimized the apps would be useful too.
JohnnyMeek
12
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 27th Jun 2017 16:02
You don't need to have the app running in the background.

Check the documentation for setting local push notifications. It's an OS driven feature.
Chmava
11
Years of Service
User Offline
Joined: 20th Jun 2013
Location:
Posted: 27th Jun 2017 16:27 Edited at: 27th Jun 2017 16:28
Well, i am looking through the help and... i cannot find it, not even when searching through all command function list...

Any link or example?

Also, it is tier 1 right?
Kevin Cross
21
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 27th Jun 2017 16:35 Edited at: 27th Jun 2017 16:36
Look at LocalNotifications on this page: https://www.appgamekit.com/documentation/Reference/Extras.htm

There's also an example program in the Projects folder that comes with AGK.
Chmava
11
Years of Service
User Offline
Joined: 20th Jun 2013
Location:
Posted: 27th Jun 2017 16:39
Still, does the application run in the background?
Markus
Valued Member
21
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 27th Jun 2017 17:15
If this LocalNotifications works in agk, you set a time stamp when the Notification shall pop up. then your app can goto pause.
AGK (Steam) V2017.05.15 : Windows 10 Pro 64 Bit : AMD (17.4.4) Radeon R7 265 : Mac mini OS Sierra (10.12.2)
JohnnyMeek
12
Years of Service
User Offline
Joined: 23rd Apr 2013
Location: Slovenia
Posted: 27th Jun 2017 18:09
Also, if you're app is n focus it will not display the notification.
Markus
Valued Member
21
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 27th Jun 2017 18:44
Quote: "Also, if you're app is n focus it will not display the notification. "

if the app is open i think GetLocalNotificationExists can help.
AGK (Steam) V2017.05.15 : Windows 10 Pro 64 Bit : AMD (17.4.4) Radeon R7 265 : Mac mini OS Sierra (10.12.2)

Login to post a reply

Server time is: 2025-06-01 23:03:18
Your offset time is: 2025-06-01 23:03:18