Forum Discussion
nat_ieyoub
6 years agoHonored Guest
Issues with accepting room invites
I'm working on implementing rooms for a multiplayer experience following the Oculus documentation:
https://developer.oculus.com/documentation/platform/latest/concepts/dg-rooms/
I'm able to send invites using Rooms.LaunchInvitableUserFlow. The invited user gets a notification to join the game, as expected. The app launches when the user clicks accept on the notification. RoomInviteAcceptedNotificationCallback should trigger when the user launches the app through a notification, but it's not being called. It looks like the Notification_Room_InviteAccepted message that should trigger the callback is never being sent.
I've also tried checking the LaunchType on startup using:
https://developer.oculus.com/documentation/platform/latest/concepts/dg-rooms/
I'm able to send invites using Rooms.LaunchInvitableUserFlow. The invited user gets a notification to join the game, as expected. The app launches when the user clicks accept on the notification. RoomInviteAcceptedNotificationCallback should trigger when the user launches the app through a notification, but it's not being called. It looks like the Notification_Room_InviteAccepted message that should trigger the callback is never being sent.
I've also tried checking the LaunchType on startup using:
LaunchDetails launchDetails = new LaunchDetails(CAPI.ovr_ApplicationLifecycle_GetLaunchDetails());
if (launchDetails.LaunchType == LaunchType.Invite)
{
...
}
But the LaunchType is always Normal instead of Invite.
Does anyone have any ideas or pointers? Thanks!
...
}
But the LaunchType is always Normal instead of Invite.
Does anyone have any ideas or pointers? Thanks!
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 18 days ago
- 11 months ago
- 1 year ago