Using jsPDF with JavaScriptCore in Swift

Imefungwa Ilichapishwa Miaka 4 iliyopita Kulipwa wakati wa kujifungua
Imefungwa Kulipwa wakati wa kujifungua

I need help for using the jsPDF library in my Swift app using JavaScriptCore.

When I try to load the jsPDF library I am getting the following error: "ReferenceError: Can't find variable: window". This is no surprise as don't have a window variable here. But surprisingly the creation of my pdf document works without problems.

Is there any way to load the library without this error?

Is it safe to use the library even though there is this error? Or will it break in certain circumstances?

JavaScript Swift iPhone Mobile App Development

Kitambulisho cha Mradi: #24550271

Kuhusu mradi

2 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

2 wafanyakazi huru wanazabuni wastani wa €28 kwa kazi hii

iotait

Hello, We read your project description & Learn what you need. We are professionals Mobile Application developer who are able to develop any kind of Mobile Application. Please share your details to understand what we Zaidi

€25 EUR kwa siku 7
(Maoni 102)
6.4