File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Packages/Passport/Runtime/Scripts Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33using UnityEngine . UI ;
44using Immutable . Passport . Core . Logging ;
55
6- #if UNITY_ANDROID && ! UNITY_EDITOR
6+ #if UNITY_ANDROID
77using Immutable . Browser . Gree ;
88#endif
99
1010namespace Immutable . Passport
1111{
12- #if UNITY_ANDROID && ! UNITY_EDITOR
12+ #if UNITY_ANDROID
1313 /// <summary>
1414 /// Android implementation of IPassportWebView using Gree WebView (Android WebView)
1515 /// Wraps Gree WebViewObject in a clean, platform-agnostic interface
Original file line number Diff line number Diff line change @@ -197,10 +197,10 @@ private IPassportWebView CreatePlatformWebView()
197197#if ! IMMUTABLE_CUSTOM_BROWSER && ( UNITY_STANDALONE_WIN || ( UNITY_EDITOR && UNITY_EDITOR_WIN ) )
198198 PassportLogger . Info ( $ "{ TAG } Creating Windows WebView (UWB)") ;
199199 return new WindowsPassportWebView ( rawImage , this ) ;
200- #elif UNITY_IOS && ! UNITY_EDITOR
200+ #elif UNITY_IOS || UNITY_EDITOR_OSX
201201 PassportLogger . Info ( $ "{ TAG } Creating iOS WebView (WKWebView)") ;
202202 return new iOSPassportWebView ( rawImage , this ) ;
203- #elif UNITY_ANDROID && ! UNITY_EDITOR
203+ #elif UNITY_ANDROID
204204 PassportLogger . Info ( $ "{ TAG } Creating Android WebView") ;
205205 return new AndroidPassportWebView ( rawImage , this ) ;
206206#elif UNITY_STANDALONE_OSX
You can’t perform that action at this time.
0 commit comments