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 / [iOS] Local Notification and Facebook Notifications Crash.

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 16th Apr 2013 06:55
Hi TGC,
i tried to use the agk notifications, but it never show up.
So i done it in Obj C and work fine only if i change the core.m file where there is the Facebook Notification did happen....

What notifications Facebook use?
How to use notifications in agk????
They never appear.

This don't work:
agk::NotificationCreate(agk::GetCurrentTime(), (char*)"Hello", (char*)"");

This only sometimes:
agk::NotificationCreate((char*)time(NULL) + 5, (char*)"Hello", (char*)"");

Long life to Steve!
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 17th Apr 2013 03:44
Ok i looked at notifications better, and i understood that i'm wrong.
I supposed that the rotation banner was a standard notification.
I discovered is an animation created by Apple.
So, when we receive a notification, we need to create our private banner.
So the AppGameKit work perfectly with notifications.

Anyway we need more clear help on Extra commands.
With some example.
I really don't understand how the szDate have tol be!!!
I know is char but how??
Unix timestamp?

Long life to Steve!
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 17th Apr 2013 05:10
Errata corrige!!!!
AGK Notifications don't work with obj c mixed.
So in this moment i have to shutdown the delegate by agk and do one by myself!
This is what i mean when i suggest to divide the LIB.

Long life to Steve!

Login to post a reply

Server time is: 2024-05-01 11:45:21
Your offset time is: 2024-05-01 11:45:21