<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cybersource iFrame in Cordova iOS App in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83557#M236</link>
    <description>&lt;P&gt;&lt;SPAN&gt;When trying to open an iframe, the code tries to get the original window.open clobber using modulemapper.getOriginalSymbol(window, 'open');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the clobber you registered in plugin.xml is 'window.open'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This causes an infinite loop resulting in stack overflow.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one:&amp;nbsp;&lt;A href="https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md" target="_blank"&gt;https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md&lt;/A&gt;&amp;nbsp;&lt;A href="https://omegle.love" target="_blank" rel="noopener"&gt;/ome&lt;/A&gt;&lt;A href="https://omglz.com" target="_blank" rel="noopener"&gt;glz&lt;/A&gt; Then we maintainers don't have to try to code it, but can rely on something that you say recreates the problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2022 05:54:06 GMT</pubDate>
    <dc:creator>MurbiesWalto</dc:creator>
    <dc:date>2022-07-29T05:54:06Z</dc:date>
    <item>
      <title>Cybersource iFrame in Cordova iOS App</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83542#M228</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to implement the Cybersource iFrame in our Cordova iOS application, however the WKwebview that hosts the application does not allow the http or https scheme, and I cannot use another scheme to access the iFrame with localhost.&amp;nbsp; Is there an alternative way of allowing Cybersource to work with our application given these limitations?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 17:33:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83542#M228</guid>
      <dc:creator>robslifeonline</dc:creator>
      <dc:date>2022-07-27T17:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cybersource iFrame in Cordova iOS App</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83551#M234</link>
      <description>&lt;P&gt;You can install&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/globules-io/cordova-plugin-ios-xhr" target="_blank" rel="nofollow noopener noreferrer"&gt;cordova-plugin-ios-xhr&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;preference&lt;/SPAN&gt; &lt;SPAN class=""&gt;name&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"allowFileAccessFromFileURLs"&lt;/SPAN&gt; &lt;SPAN class=""&gt;value&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"true"&lt;/SPAN&gt; /&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;preference&lt;/SPAN&gt; &lt;SPAN class=""&gt;name&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"allowUniversalAccessFromFileURLs"&lt;/SPAN&gt; &lt;SPAN class=""&gt;value&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"true"&lt;/SPAN&gt; /&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;for files to work with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file://&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 06:31:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83551#M234</guid>
      <dc:creator>FlanZarianick</dc:creator>
      <dc:date>2022-07-28T06:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cybersource iFrame in Cordova iOS App</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83557#M236</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When trying to open an iframe, the code tries to get the original window.open clobber using modulemapper.getOriginalSymbol(window, 'open');&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the clobber you registered in plugin.xml is 'window.open'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This causes an infinite loop resulting in stack overflow.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A minimal reproduction repository would really help to debug and later fix this issue. More information on how to create one:&amp;nbsp;&lt;A href="https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md" target="_blank"&gt;https://github.com/apache/cordova-contribute/blob/master/create-reproduction.md&lt;/A&gt;&amp;nbsp;&lt;A href="https://omegle.love" target="_blank" rel="noopener"&gt;/ome&lt;/A&gt;&lt;A href="https://omglz.com" target="_blank" rel="noopener"&gt;glz&lt;/A&gt; Then we maintainers don't have to try to code it, but can rely on something that you say recreates the problem.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 05:54:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83557#M236</guid>
      <dc:creator>MurbiesWalto</dc:creator>
      <dc:date>2022-07-29T05:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cybersource iFrame in Cordova iOS App</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83950#M339</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/regevbr/cordova-plugin-inappbrowser-bug" target="_blank" rel="noopener"&gt;https://github.com/regevbr/cordova-plugin-inappbrowser-bug&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://echat.date" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatrandom.download/omegle/" target="_blank" rel="noopener"&gt;andom&lt;/A&gt; reproduces the bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you start it on android you can see&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;1&lt;/SPAN&gt; &lt;SPAN class=""&gt;Uncaught&lt;/SPAN&gt; RangeError: &lt;SPAN class=""&gt;Maximum&lt;/SPAN&gt; &lt;SPAN class=""&gt;call&lt;/SPAN&gt; &lt;SPAN class=""&gt;stack&lt;/SPAN&gt; &lt;SPAN class=""&gt;size&lt;/SPAN&gt; &lt;SPAN class=""&gt;exceeded&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;at&lt;/SPAN&gt; &lt;SPAN class=""&gt;module&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;exports&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inappbrowser&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;js&lt;/SPAN&gt;:&lt;SPAN class=""&gt;96&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;When you inspect it.&lt;/P&gt;&lt;P&gt;Basically we have a named iframe which is empty at the beginning&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;iframe&lt;/SPAN&gt; &lt;SPAN class=""&gt;src&lt;/SPAN&gt;="" &lt;SPAN class=""&gt;name&lt;/SPAN&gt;="&lt;SPAN class=""&gt;test_iframe&lt;/SPAN&gt;"&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;iframe&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Then we perfrom open on it when the device is ready&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;    &lt;SPAN class=""&gt;onDeviceReady&lt;/SPAN&gt;: &lt;SPAN class=""&gt;function&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;
        &lt;SPAN class=""&gt;this&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;receivedEvent&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;'deviceready'&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;
        &lt;SPAN class=""&gt;window&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;open&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;'https://api6.ipify.org/'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;'test_iframe'&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Could you check if the&amp;nbsp;&lt;/SPAN&gt;delete window.open&lt;SPAN&gt;&amp;nbsp;thing described here&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/apache/cordova-plugin-inappbrowser#windowopen" target="_blank" rel="noopener"&gt;https://github.com/apache/cordova-plugin-inappbrowser#windowopen&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://e-chats.com/omegle" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatspin.download" target="_blank" rel="noopener"&gt;spin&lt;/A&gt; if it fixes it?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 07:05:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/83950#M339</guid>
      <dc:creator>SharphSonirak</dc:creator>
      <dc:date>2022-08-29T07:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cybersource iFrame in Cordova iOS App</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/84735#M539</link>
      <description>&lt;P&gt;Hello&lt;A title="," href="https://bbqbuck.com/" target="_blank" rel="noopener"&gt;,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If the content is served in an iframe from a whitelisted domain, that domain will have access to the native Cordova bridge.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 18:45:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/84735#M539</guid>
      <dc:creator>joseemily</dc:creator>
      <dc:date>2022-10-31T18:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cybersource iFrame in Cordova iOS App</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/84976#M602</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You can install &lt;/SPAN&gt;&lt;A href="https://babyapk.com/" target="_self" rel="nofollow noreferrer"&gt;cordova-plugin-ios-xhr&lt;/A&gt;&lt;SPAN&gt; and set&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;preference name="allowFileAccessFromFileURLs" value="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;preference name="allowUniversalAccessFromFileURLs" value="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;for files to work with &lt;FONT face="Menlo, Monaco, Consolas, Courier New, monospace" color="#c7254e"&gt;&lt;SPAN&gt;file://&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 11:54:55 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-iFrame-in-Cordova-iOS-App/m-p/84976#M602</guid>
      <dc:creator>kellyoua</dc:creator>
      <dc:date>2022-11-21T11:54:55Z</dc:date>
    </item>
  </channel>
</rss>

