[
https://issues.apache.org/jira/browse/CB-3302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644882#comment-13644882
]
Ben N commented on CB-3302:
---------------------------
_blank works to open inappbrowser, but I'm trying to push to safari because it
has the 'share' button, and I need the print functionality. Not being an obj. C
developer, this was the easiest way to implement a method to print a PDF that
is generated in the app.
The SO link says that this should be possible, but is this a limitation in
apple's API?
> window.open('_system') does not work with data:application/pdf;base64
> ---------------------------------------------------------------------
>
> Key: CB-3302
> URL: https://issues.apache.org/jira/browse/CB-3302
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.6.0
> Environment: iOS simulator / device
> Reporter: Ben N
> Assignee: Shazron Abdullah
> Priority: Minor
>
> generate a data URI:
> var url = data:application/pdf;base64,JVBERi0xLjMKMyAwIG9iago8PC9Ue.......
> window.open(url, "_system");
> - nothing happens. the URL is not opened in the system browser, and nothing
> seems to happen in this instance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira