GKTurnBasedMatch Invite is declined by game center - game-center

I am developing 2 player Turn based game using game center. I have create a match by inviting my friend using game center view controller. I have played my turn after few seconds i got response the invite was declined (checked on log). I thought the reason behind was my friend didn't have my game on his devices, So he didn't get invite notification.
But I have tested letterpress Game as same above my friend, He got invite notification while clicks on notification its navigated to app store letterpress game page on device to force to download the letterpress app. From my side the match status showing awaiting for my frinds turn. If player doesn't have letterpress game, he is getting notification and the match notification didn't decline by game center. Does letterpress game integrated with iOS Game center. How is letterpress game getting invite notification?
Can anyone please Guide me on this issues?

You say you're developing a game, but I'm not clear if you have publicly released it yet? If not, then I'm not surprised that invitee's gamecenter would issue an auto-decline since there's no app on the appstore for it to download.
For pre-release testing, I've had really good results distributing my apps using Testflight. It's reasonably easy to add builds to Testflight, it's reasonably easy to manage the list of recipients, and it's quite easy to notify your testers when new builds are available. On their end, it's easy to open the Testflight app and install the new build.

Related

Action permission Intent not working for alpha testers

I am trying to save user information on google assistant bot with the help of dialogflow using actionpermission intent in my webhook to store user previous details which he/she had filled for the first time. Saving like this works perfectly on my developer account and when i add alpha testers for testing my bot and saving their name and type on google assistant bot it works fine for some testers and parallel its not saving information for some other alpha testers. I don't know why its happening. If anyone can help regarding this issue it would be great. Thank you.
I believe the issue is not related to the alpha test but rather to the voice match.
On smart speakers, which are in a multi-user environment, it cannot be assumed by default that the user speaking is always the same. To get around this, smart speakers have a "voice match" feature which needs to be enabled in the device settings.
Until that is enabled, interaction data is not saved between sessions.

How to send new message-based invites without GKMatchmakerViewController

For some reasons we do not want to use the GKMatchmakerViewController. Currently we are offering the user of our App the possibility to invite their Game Center friends via a friends list displayed in our UI.
While this is still possible in iOS 10, the user will no longer have the possibility to add the GC friends. Therefore we want to use the new message-based invites introduced in iOS 10.
How can this be archived without using the GKMatchmakerViewController? I just want to display a button invite friends which opens the view to send message-based invites to anybody exactly as the button in the GKMatchmakerViewController does.
It is currently (iOS 10.2) not possible to display the iMessage view without the GKMatchmakerViewController.
In my app, I'm going to still provide fully custom views for the matchmaking. Only if a player on a device with iOS 10 wants to invite a friend, I'll display the GKMatchmakerViewController. This is not a great solution but currently, it seems like the most feasible workaround.
I'll also file an issue for that in Apple's bug reporter.
See GKGameSession. This class can send invite link. May be ios10 only

Push notifications-Android Studio

I am planning to do small project which involves notification's widely but I have no idea where to start from, I need a particular type of notification's which is used in news paper app's.
In this process the app will not be updated but still notify a user of new messages or events and I want to make the message appear in the status bar.
You'll need to learn about Google Cloud Messaging GCM tutorial
And you'll have to learn about Android NotificationManager Notification Manager tutorial. Good luck 👍

native notification Samsung Gear 2 Watch

I want to integrate with the native Samsung Gear 2 Notifications such that when my consumer app in the Samsgung Gear 2 Watch receives a certain data from my host provider, the User will get a Notification in the Native notifications app. How can I accomplish this?
I've spent 50+ hours googling, looking up docs, etc but there doesn't seem to be an answer. The best resource I could find are the links below, but even these seem outdated and don't work at all.
Help please!
So I've been following these Guides but neither of them work for me :
https://developer.tizen.org/fr/documentation/articles/how-use-tizen-notification-api?langswitch=fr
also
https://developer.tizen.org/fr/documentation/articles/notifications?langredirect=1
The error I receive when running the sample code they provided:
TypeError:'undefined' is not a constructor (evaluating 'new tizen.StatusNotification("SIMPLE", "Simplenotification",notificationDict)')
I figured it out. The answer is there is NO SUCH THING as native notifications for the Samsung Gear 2. That library is a private library owned by samsung only and only special people can have access to that. For the lay men the closest we can get is to enable notification via Gear Manager and have our paired phone relay notifications to the watch.

iOS 4.x/5.0 - push notifications for background/multitasking apps?

Is there a way to get an app to receive the remote push notification while it is in the background?
I don't want to see the regular (close,view ) notification on my device. i want to go silently into the app - and the app will do it's magic from their...showing it's own AlertView (with custom buttons, and playing the alert sound (even when the device is on mute)
Is that possible?? How can i convince apple to support such scenario?
Update: What about in iOS 5.0? is there going to be a change regarding the push notification mechanism now that it uses the notification center?
Sorry, you probably out of luck. The only idea I have is that you can try to push notifications that only set different badge number (without view and sound) and when you are inside you app download rest of the data. However, I'm not sure how good this idea is.

Resources