You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/05/31 13:51:14 UTC

[GitHub] [cordova-plugin-inappbrowser] a51095 opened a new issue, #950: Can support scenedelegate?

a51095 opened a new issue, #950:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/950

   I have a project generated using the Cordova template. I added the IOS platform. I tried to change the appdelegate to scenedelegate. I succeeded. I have used scenedelegate to manage the window and successfully started the app, but it seems to have a problem,there is only the loading... text on the startup page, and the sap loading  page is not displayed. [error](https://blogs.sap.com/wp-content/uploads/2016/10/error-5.png) When I remove SceneDelegate and change to use AppDelegate, it works normally. You can see the login page displayed after loading [success](https://blogs.sap.com/wp-content/uploads/2016/10/login-1.png)
   
    
   
   - I changed the didfinishlaunchingwithoptions proxy method in AppDelegate.m to this [AppDelegate.m](https://user-images.githubusercontent.com/29021369/170716539-fdf45c1f-ad1d-4c2d-a99d-b1951ee7d6f7.png)
   - I changed the didfinishlaunchingwithoptions proxy method in CDVAppDelegate.m to this [CDVAppDelegate.m](https://user-images.githubusercontent.com/29021369/170718454-63d21564-67c1-46ae-9355-896ce3920cbf.png)
   - I changed the willconnecttosession proxy method in SceneDelegate.m to this [SceneDelegate.m](https://user-images.githubusercontent.com/29021369/170718870-3f455c81-fc67-46e4-91a4-1e37989c9eea.png)
   Is it feasible for me to do this? Will it affect the logic of CDVAppDelegate? Can you help me


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] a51095 closed issue #950: Can Support SceneDelegate?

Posted by GitBox <gi...@apache.org>.
a51095 closed issue #950: Can Support SceneDelegate?
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/950


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] a51095 commented on issue #950: Can support scenedelegate?

Posted by GitBox <gi...@apache.org>.
a51095 commented on issue #950:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/950#issuecomment-1142271162

   When I use `SceneDelegate` to manage window, on Line 348 in `CDVWKInAppBrowser.m`, 
   ```
   strongSelf->tmpWindow = [[UIWindow alloc] initWithFrame:frame];
   ```
   `tmpwindow = nil`, does not work, please review and fix, thank you!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org