hippogamesunity / SimpleSignIn

A set of assets for Unity to authenticate users on different platforms with OAuth 2.0
4 stars 0 forks source link

Telegram Login Issue on iOS #14

Open shubham-or opened 2 months ago

shubham-or commented 2 months ago

Hi I have been using your plugin and it works perfectly on Android. However, it is not working on iOS device running iOS 18.

This is the message printed on the console: BUG IN CLIENT OF UIKIT: The caller of UIApplication.openURL(:) needs to migrate to the non-deprecated UIApplication.open(:options:completionHandler:). Force returning false (NO).

This happens when I call TelegramAuth.SignIn(OnSignIn);

Please let me know what needs to be done here. Thanks in advanced.

hippogamesunity commented 2 months ago

Thanks for reporting! Does the error relate to SafariViewController.mm?

shubham-or commented 2 months ago

Thanks for the quick reply. This comes both when I Enable or Disable the Use Safari View Controller in the TelegramAuthSettings.

NOTE: It works perfectly on iOS 17. Screenshot 2024-08-01 at 12 27 24 PM