Cordova InAppBrowser Plugin Weird Error September 2015


#1

Just recently I have been unable to view any PDFs in my app using the InAppBrowser plugin for my iOS devices.

Error message is this:

Assertion failed: (stream != NULL), function cb_spdylay_on_stream_close, file /SourceCache/CFNetwork/CFNetwork-711.4.6/SPDY/SPDYConnection.cpp, line 1778.

And then the app freezes.

Here is my code for the link:

  <ion-list>

      <ion-item class="item" type="item-text-wrap" href="#" onclick="window.open('http://docs.google.com/viewer?url=My_URL_HERE.pdf', '_blank', 'location=yes'); return false;">
                    <h2>UBA Boot Camp - Complaince</h2>
                </ion-item>
...
</ion-list>

I went back to an older version of my app to see if any of my updates may have caused this issue, but I am getting this error there as well. Anyone else having this problem?


#2

ISSUE FIXED

It looks like http://docs.google.com/viewer?url= is no longer needed to view PDFs on an iOS device. Once that was removed, my app ran smoothly. :smiley: