Package version: 5.0.0
Flutter version: 3.35.3
Platform: iOS
Errors:
loadAchievements()
PlatformException(
failed_to_load_achievements,
A server with the specified hostname could not be found.,
...
)
unlock() / achievement report
PlatformException(
failed_to_send_achievement,
A server with the specified hostname could not be found.,
...
)
Where they throw:
failed_to_load_achievements → Achievements.loadAchievements() in darwin/Classes/Achievements.swift when GKAchievement.loadAchievements() fails
failed_to_send_achievement → Achievements.report() in darwin/Classes/Achievements.swift when GKAchievement.report() fails
Steps to reproduce:
- Sign in to Game Center on device
- Call GamesServices.loadAchievements() and/or GamesServices.unlock()
- Error occurs when Apple Game Center servers cannot be reached
Expected: Achievements load and/or report successfully
Actual: PlatformException with hostname/DNS error
Notes: Not affecting all users, but failing for a significant number of users
Package version: 5.0.0
Flutter version: 3.35.3
Platform: iOS
Errors:
loadAchievements()
unlock() / achievement report
Where they throw:
failed_to_load_achievements → Achievements.loadAchievements() in darwin/Classes/Achievements.swift when GKAchievement.loadAchievements() fails
failed_to_send_achievement → Achievements.report() in darwin/Classes/Achievements.swift when GKAchievement.report() fails
Steps to reproduce:
Expected: Achievements load and/or report successfully
Actual: PlatformException with hostname/DNS error
Notes: Not affecting all users, but failing for a significant number of users