File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
demo/app/App_Resources/iOS Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1818 <string >1.0 </string >
1919 <key >CFBundleSignature </key >
2020 <string >???? </string >
21+ <key >CFBundleURLTypes </key >
22+ <array >
23+ <dict >
24+ <key >CFBundleTypeRole </key >
25+ <string >Editor </string >
26+ <key >CFBundleURLName </key >
27+ <string >my-demo </string >
28+ <key >CFBundleURLSchemes </key >
29+ <array >
30+ <string >my-demo </string >
31+ </array >
32+ </dict >
33+ </array >
2134 <key >CFBundleVersion </key >
2235 <string >1.0 </string >
2336 <key >LSRequiresIPhoneOS </key >
Original file line number Diff line number Diff line change @@ -135,6 +135,8 @@ class InAppBrowserModule extends NSObject {
135135 }
136136 if ( ios . MajorVersion >= 13 ) {
137137 safariHackVC . modalInPresentation = true ;
138+ if ( safariHackVC [ 'setModalInPresentation' ] )
139+ safariHackVC [ 'setModalInPresentation' ] ( true ) ;
138140 }
139141 safariHackVC . presentationController . delegate = this ;
140142
@@ -186,7 +188,7 @@ class InAppBrowserModule extends NSObject {
186188 }
187189 ) ;
188190 if ( ios . MajorVersion >= 13 ) {
189- this . authSession [ ' presentationContextProvider' ] = this ;
191+ ( this . authSession as ASWebAuthenticationSession ) . presentationContextProvider = this ;
190192 }
191193 this . authSession . start ( ) ;
192194 } ) ;
You can’t perform that action at this time.
0 commit comments