File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
src/Packages/Passport/Runtime/Scripts Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 33using UnityEngine . UI ;
44using Immutable . Passport . Core . Logging ;
55
6- #if UNITY_IOS && ! UNITY_EDITOR
6+ #if UNITY_IOS || UNITY_EDITOR_OSX
77using Immutable . Browser . Gree ;
88#endif
99
1010namespace Immutable . Passport
1111{
12- #if UNITY_IOS && ! UNITY_EDITOR
12+ #if UNITY_IOS || UNITY_EDITOR_OSX
1313 /// <summary>
1414 /// iOS implementation of IPassportWebView using Gree WebView (WKWebView)
1515 /// Wraps Gree WebViewObject in a clean, platform-agnostic interface
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ private async UniTask Initialise(
237237#elif ( UNITY_ANDROID && ! UNITY_EDITOR_WIN ) || ( UNITY_IPHONE && ! UNITY_EDITOR_WIN ) || UNITY_STANDALONE_OSX || UNITY_WEBGL
238238 // Initialise default browser client for Android, iOS, and macOS
239239 _webBrowserClient = new GreeBrowserClient ( ) ;
240+ await UniTask . CompletedTask ;
240241#else
241242 throw new PassportException ( "Platform not supported" ) ;
242243#endif
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ public class PassportUI : MonoBehaviour
8383 private RawImage rawImage ;
8484 // Login completion source removed - OAuth handled by external browser
8585 private bool isInitialized = false ;
86- private bool pointerEnterTriggered = false ;
8786 private GameObject bridgeWebViewGameObject ;
8887
8988 // Input management
@@ -459,8 +458,6 @@ public void HideLoginUI(bool logMessage = true)
459458 bridgeWebViewGameObject = null ; // Clear reference
460459 }
461460
462- // Reset pointer enter flag for next login
463- pointerEnterTriggered = false ;
464461 }
465462
466463 /// <summary>
You can’t perform that action at this time.
0 commit comments