[GitHub] skrawn commented on issue #285: InAppBrowser unable to handle nested content?

2018-10-08 Thread GitBox
skrawn commented on issue #285: InAppBrowser unable to handle nested content?
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/285#issuecomment-427909217
 
 
   > Hello skrawn
   > I am working on integrating MadCap flare help into an ionic-cordova 
project for both Android and Windows. I have the same issues.
   > 
   > Do you have a resolution?
   > 
   > Here is what I found so far:
   > Android:
   > target=_blank
   > url=help/Default.htm
   > Default.htm does not work, shows a bank page. The page doesn't redirect to 
Contents/Home.htm. If you open Contents/Home.htm directly then the help page is 
displayed but menu from hamburger menu don't navigate. This is some path issue, 
but I have not found the solution yet.
   > I am able to get the help page to display and navigate using iframe in a 
webview. It's a solution but I would like to use inappbrowser for both 
platforms.
   > 
   > Windows:
   > target=_blank
   > url=help/Default.htm
   > Default.htm and Contents/Home.htm open the help page and hamburger menu 
links work. The issue is in MadCap flare. You will need to unminify 
MadCapAll.js to make the mods. If you have MadCap software your modifying 
Xhr.prototype.Load function in MadCapXhr.js to evaluate 
document.location.prototype values equal to ms-appx: and ms-appx- web:.
   > prototype == 'ms-appx:' || prototype == 'ms- appx-web:'
   > 
   > Hope this helps.
   
   Stop working today Bryon :) 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org



[GitHub] skrawn commented on issue #285: InAppBrowser unable to handle nested content?

2018-08-21 Thread GitBox
skrawn commented on issue #285: InAppBrowser unable to handle nested content?
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/285#issuecomment-414839592
 
 
   Alright, so I tried just placing a link to the home page from default and it 
was unable to navigate to the page. The path looks correct though:
   
   [Android Debug](https://i.imgur.com/VDMtVG5.png)
   
   I also made a bare bones example program: 
https://github.com/skrawn/MadCapTest This should be build-able in Visual Studio 
and on the command line.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org



[GitHub] skrawn commented on issue #285: InAppBrowser unable to handle nested content?

2018-08-21 Thread GitBox
skrawn commented on issue #285: InAppBrowser unable to handle nested content?
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/285#issuecomment-414787802
 
 
   Interesting...would you mind sharing your Cordova project?


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org



[GitHub] skrawn commented on issue #285: InAppBrowser unable to handle nested content?

2018-08-21 Thread GitBox
skrawn commented on issue #285: InAppBrowser unable to handle nested content?
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/285#issuecomment-414785833
 
 
   It's a local URL. I have the files at www/assets/.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org



[GitHub] skrawn commented on issue #285: InAppBrowser unable to handle nested content?

2018-08-21 Thread GitBox
skrawn commented on issue #285: InAppBrowser unable to handle nested content?
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/285#issuecomment-414780026
 
 
   I know it can load external URLs like I can open wikipedia or apache.org in 
the IAB and they seem to work fine. Debugging is tricky though. When I run on 
an Android device, I can use Chrome to inspect the app as it is running, but 
since I launch the IAB with the _blank target, it opens in a new window and I 
then I can't use the Chrome performance tools to see what happens when the IAB 
initially opens. When I run my app as a Windows app, I run into a similar 
problem where the IAB opens but there is no way to inspect the content in the 
IAB from within the debugger (Visual Studio) nor anyway to see what, if any, 
output is being generated by IAB.
   
   It may also be worth nothing that some things work differently depending on 
the target. For example, as a Windows app, the _system target does not work for 
me (likely due to an IT policy), the _blank target lets the hamburger menu open 
but there is nothing in it, and the _self target doesn't let the hamburger menu 
open at all.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org



[GitHub] skrawn commented on issue #285: InAppBrowser unable to handle nested content?

2018-08-21 Thread GitBox
skrawn commented on issue #285: InAppBrowser unable to handle nested content?
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/285#issuecomment-414771787
 
 
   If I tell IAB to load Default.htm, the page is blank. I'm not totally 
familiar with what MadCap does with their scripts, but when you open 
Default.htm in a normal browser, the JS in the head loads and it goes to the 
Home.htm page. When you direct the IAB to load Home.htm, it goes to home page 
but none of the dynamic elements in the page or links to other pages are 
working.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org