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 2020/09/04 09:03:25 UTC

[GitHub] [cordova-ios] perlasivakrishna opened a new issue #983: Getting Empty white Screen when page loaded

perlasivakrishna opened a new issue #983:
URL: https://github.com/apache/cordova-ios/issues/983


   Page was loading fine in Cordova 5.1.1 with wkwebview Engine, As per docs removed Wkwebview engine from podfile.  
   
   But when i Update pods, the page was showing empty screen.
   
   Cordova 6.1.1 (installed using pods)
   xcode 11.5
   No console warnings. 
   
   Here is my wwwFolderName passed "file:///Users/sivakrishna/Library/Developer/CoreSimulator/Devices/F2FE6906-6DBD-4092-89E6-9887702AB86D/data/Containers/Data/Application/FDAAB79B-4107-40A5-85B4-99FDB7AC71D2/Documents/Books/81002753033019/B366975EC40985B2889EF6FC6CCA5444/content/7984fbad-3258-43e1-aa3e-b606f8c347ee" which has all content to load 
    here is my [`config`](https://gist.github.com/perlasivakrishna/bbdfb43dcf04beb82ab88ca63fa623b4)
   
   Please help me, 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.

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-ios] JayzeeHuang edited a comment on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
JayzeeHuang edited a comment on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-698298393


   Finally found somthings same as me now, my ios build got an empty page after splash screen and without any errors. I was stuck for few days, hope someone can fix this issue.
   
   
   Ionic:
   
      Ionic CLI                     : 6.11.8 (/usr/local/lib/node_modules/@ionic/cli)
      Ionic Framework               : @ionic/angular 5.3.1
      @angular-devkit/build-angular : 0.901.8
      @angular-devkit/schematics    : 9.1.8
      @angular/cli                  : 9.1.8
      @ionic/angular-toolkit        : 2.2.0
   
   Cordova:
   
      Cordova CLI       : 10.0.0
      Cordova Platforms : android 9.0.0, ios 6.1.1
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 18 other plugins)
   
   Utility:
   
      cordova-res                          : 0.15.1
      native-run (update available: 1.1.0) : 1.0.0
   
   System:
   
      ios-deploy : 1.10.0
      ios-sim    : 8.0.2
      NodeJS     : v12.16.2 (/usr/local/bin/node)
      npm        : 6.14.8
      OS         : macOS Catalina
      Xcode      : Xcode 12.0 Build version 12A7209


----------------------------------------------------------------
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.

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-ios] dpogue commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
dpogue commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-687204919


   The empty view is probably for the splashscreen. You might be running into https://github.com/apache/cordova-ios/issues/929


----------------------------------------------------------------
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.

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-ios] perlasivakrishna edited a comment on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
perlasivakrishna edited a comment on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-687113090


   @breautek please find the Xcode logs. 
   [cordovaLogs.txt](https://github.com/apache/cordova-ios/files/5174664/cordova.logs.1.txt)
   
   I have a View Controller which is superclass of "CDVViewController", Presenting controller by specifying the www folder path.
   
   Also I observed none of the Wkwebview delgates called in CDVViewController.m. 


----------------------------------------------------------------
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.

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-ios] JayzeeHuang commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
JayzeeHuang commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-745617838


   @21pg update all to latest version, use fresh build to compare your current project, remove and readd each plugin will solve this issue.


----------------------------------------------------------------
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.

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-ios] perlasivakrishna commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
perlasivakrishna commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-687195815


   I have the found the work around. Wkwebview delegates Overrided in my class.
   
   ```
   - (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation {
       [webView setHidden:NO];
       [self.view bringSubviewToFront:webView];
   }
   ```
   so I managed to do like this. Not sure is there any better way.  I have seen this piece of code where the webview is  getting hided. 
   
   ```
   - (void)createGapView
   {
       CGRect webViewBounds = self.view.bounds;
       webViewBounds.origin = self.view.bounds.origin;
   
       UIView* view = [self newCordovaViewWithFrame:webViewBounds];
       view.hidden = YES;
       view.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
   
       [self.view addSubview:view];
       [self.view sendSubviewToBack:view];
   }
   ```
   Also there is one more Empty view getting added to view hierarchy, not sure why it was getting added. 
   
   ![Screenshot 2020-09-04 at 8 00 27 PM](https://user-images.githubusercontent.com/6779941/92252413-d4045380-eeeb-11ea-822e-3aa1c41dfa6f.png)
   
   If i need to change anything the way I'm handling webview, please suggest me.
    Thanks.
   


----------------------------------------------------------------
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.

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-ios] JayzeeHuang edited a comment on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
JayzeeHuang edited a comment on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-698298393






----------------------------------------------------------------
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.

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-ios] bluemaschine commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
bluemaschine commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-804766939


   @JayzeeHuang I'm using Monaca and have the same problem.
   
   Here is a screenshot : https://ibb.co/h7FVNTZ
   
   One week with no solution, its a bit frustring 


-- 
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.

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-ios] JayzeeHuang edited a comment on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
JayzeeHuang edited a comment on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-698298393


   Finally found somthings same as me now, my ios build got an empty page after splash screen and without any errors. I was stuck for few days, hope someone can fix this issue.
   
   `Ionic:
   
      Ionic CLI                     : 6.11.8 (/usr/local/lib/node_modules/@ionic/cli)
      Ionic Framework               : @ionic/angular 5.3.1
      @angular-devkit/build-angular : 0.901.8
      @angular-devkit/schematics    : 9.1.8
      @angular/cli                  : 9.1.8
      @ionic/angular-toolkit        : 2.2.0
   
   Cordova:
   
      Cordova CLI       : 10.0.0
      Cordova Platforms : android 9.0.0, ios 6.1.1
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 18 other plugins)
   
   Utility:
   
      cordova-res                          : 0.15.1
      native-run (update available: 1.1.0) : 1.0.0
   
   System:
   
      ios-deploy : 1.10.0
      ios-sim    : 8.0.2
      NodeJS     : v12.16.2 (/usr/local/bin/node)
      npm        : 6.14.8
      OS         : macOS Catalina
      Xcode      : Xcode 12.0 Build version 12A7209`


----------------------------------------------------------------
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.

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-ios] perlasivakrishna commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
perlasivakrishna commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-687113090


   @breautek please find the Xcode logs. 
   [cordovaLogs.txt](https://github.com/apache/cordova-ios/files/5174664/cordova.logs.1.txt)
   
   I have a View Controller which is superclass of "CDVViewController", Presenting controller by specifying the www folder path.
   
   


----------------------------------------------------------------
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.

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-ios] perlasivakrishna edited a comment on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
perlasivakrishna edited a comment on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-687195815


   I have found the work around. Wkwebview delegates Overrided in my class.
   
   ```
   - (void)webView:(WKWebView *)webView didFinishNavigation:(WKNavigation *)navigation {
       [webView setHidden:NO];
       [self.view bringSubviewToFront:webView];
   }
   ```
   so I managed to do like this. Not sure is there any better way.  I have seen this piece of code where the webview is  getting hided. 
   
   ```
   - (void)createGapView
   {
       CGRect webViewBounds = self.view.bounds;
       webViewBounds.origin = self.view.bounds.origin;
   
       UIView* view = [self newCordovaViewWithFrame:webViewBounds];
       view.hidden = YES;
       view.autoresizingMask = (UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight);
   
       [self.view addSubview:view];
       [self.view sendSubviewToBack:view];
   }
   ```
   Also there is one more Empty view getting added to view hierarchy, not sure why it was getting added. 
   
   ![Screenshot 2020-09-04 at 8 00 27 PM](https://user-images.githubusercontent.com/6779941/92252413-d4045380-eeeb-11ea-822e-3aa1c41dfa6f.png)
   
   If i need to change anything the way I'm handling webview, please suggest me.
    Thanks.
   


----------------------------------------------------------------
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.

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-ios] JayzeeHuang commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
JayzeeHuang commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-698298393


   Finally found somthings same as me now, my ios build got an empty page after splash screen and without any errors. I was stuck for few days, hope someone can fix this issue.


----------------------------------------------------------------
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.

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-ios] timbru31 closed issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #983:
URL: https://github.com/apache/cordova-ios/issues/983


   


----------------------------------------------------------------
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.

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-ios] JayzeeHuang edited a comment on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
JayzeeHuang edited a comment on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-698298393


   Finally found somthings same as me now, my ios build got an empty page after splash screen and without any errors. I was stuck for few days, hope someone can fix this issue.
   
   > Ionic:
   
      Ionic CLI                     : 6.11.8 (/usr/local/lib/node_modules/@ionic/cli)
      Ionic Framework               : @ionic/angular 5.3.1
      @angular-devkit/build-angular : 0.901.8
      @angular-devkit/schematics    : 9.1.8
      @angular/cli                  : 9.1.8
      @ionic/angular-toolkit        : 2.2.0
   
   Cordova:
   
      Cordova CLI       : 10.0.0
      Cordova Platforms : android 9.0.0, ios 6.1.1
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 18 other plugins)
   
   Utility:
   
      cordova-res                          : 0.15.1
      native-run (update available: 1.1.0) : 1.0.0
   
   System:
   
      ios-deploy : 1.10.0
      ios-sim    : 8.0.2
      NodeJS     : v12.16.2 (/usr/local/bin/node)
      npm        : 6.14.8
      OS         : macOS Catalina
      Xcode      : Xcode 12.0 Build version 12A7209


----------------------------------------------------------------
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.

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-ios] JayzeeHuang commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
JayzeeHuang commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-698298393


   Finally found somthings same as me now, my ios build got an empty page after splash screen and without any errors. I was stuck for few days, hope someone can fix this issue.


----------------------------------------------------------------
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.

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-ios] breautek commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-687083817


   I'll go ahead and reopen this issue.
   
   It looks like you're using a platform-centric workflow which is a workflow I'm not very familiar with. It may help if you share some code and xcode logs.


----------------------------------------------------------------
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.

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-ios] 21pg commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
21pg commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-745373167


   @JayzeeHuang Did you find any solution on this. 


----------------------------------------------------------------
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.

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-ios] timbru31 commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-687057692


   Thanks a lot for your issue, however the issue template exists for a reason. 😊   
   It helps us to debug the issue further and to provide a solution much faster. With important information missing, we unfortunately can't help you.
   
   Therefore, please edit this issue accordingly or close and create a new one and make sure to provide all the required information.


----------------------------------------------------------------
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.

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-ios] 21pg edited a comment on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
21pg edited a comment on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-745373167


   @JayzeeHuang @perlasivakrishna Did you find any solution on this. 


----------------------------------------------------------------
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.

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-ios] perlasivakrishna commented on issue #983: Getting Empty white Screen when page loaded

Posted by GitBox <gi...@apache.org>.
perlasivakrishna commented on issue #983:
URL: https://github.com/apache/cordova-ios/issues/983#issuecomment-687080450


   @timbru31 Thanks for the reply, sorry for partial information,  I have edited my issue, so please look into it, I'm new to Cordova so please let me know the procedure for further information incase if needed. 
   
   Thanks.


----------------------------------------------------------------
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.

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