christopherdro / react-native-html-to-pdf

Convert html strings to PDF documents using React Native
MIT License
434 stars 264 forks source link

Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security #183

Closed gajjartejas closed 3 years ago

gajjartejas commented 4 years ago

Dear Developer,

We identified one or more issues with a recent delivery for your app, 0.1 (1). Please correct the following issues, then upload again.

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Best Regards,

The App Store Team

recepaltas commented 4 years ago

Same Here

gajjartejas commented 4 years ago

For now, remove the existing package. npm uninstall react-native-html-to-pdf

Download latest repo. Create a folder local-npm-packages inside the project root folder. Add repo inside local-npm-packages

in package.json add "react-native-html-to-pdf": "./local-npm-packages/react-native-html-to-pdf-master"

then do

npm install
npm link
bruxalldev commented 4 years ago

RN > 0.6 &&& yarn

yarn remove react-native-html-to-pdf

Download latest repo. Create a folder local-npm-packages inside the project root folder. Add repo inside local-npm-packages

in package.json add "react-native-html-to-pdf": "./local-npm-packages/react-native-html-to-pdf-master"

yarn

cd ios

pod install
quangcanh2975 commented 4 years ago

RN > 0.6 &&& yarn

yarn remove react-native-html-to-pdf

Download latest repo. Create a folder local-npm-packages inside the project root folder. Add repo inside local-npm-packages

in package.json add "react-native-html-to-pdf": "./local-npm-packages/react-native-html-to-pdf-master"

yarn

cd ios

pod install

Thank you. It works

nipunravisara commented 4 years ago

I have used this package locally but some components are not aligned properly. any solutions around this?

givanthak commented 4 years ago

in package.json add "react-native-html-to-pdf": "./local-npm-packages/react-native-html-to-pdf-master" using in the package json didn't generate the pdf with proper styles

uttampawar commented 4 years ago

Question: Why the name "react-native-html-to-pdf-master" has "master" suffix?

givanthak commented 4 years ago

I have try to install local with master in package.json add "react-native-html-to-pdf": "./local-npm-packages/react-native-html-to-pdf-master" this way

chartlync commented 3 years ago

I have try to install local with master in package.json add "react-native-html-to-pdf": "./local-npm-packages/react-native-html-to-pdf-master" this way

Thanks.

ttkien commented 3 years ago

I think the easier way is set the GitHub link in package.json

    "react-native-html-to-pdf": "https://github.com/christopherdro/react-native-html-to-pdf.git

Or be safer, you can set the specific commit

    "react-native-html-to-pdf": "https://github.com/christopherdro/react-native-html-to-pdf.git#4bc1a3d249ede0329d4de3aaa72bd3b6db7d2ef1",
paveltar commented 3 years ago

Is there any reason why the fix isn't published yet?

givanthak commented 3 years ago

I’m don’t know i’m also waiting for it

On Sun, 6 Dec 2020 at 5:19 PM, Pavel T. notifications@github.com wrote:

Is there any reason why the fix isn't published yet?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/christopherdro/react-native-html-to-pdf/issues/183#issuecomment-739491530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACKNASZH72UXINR5GMSL3LSTNVUBANCNFSM4NOEPFRA .

-- Best Regards, Givantha Kalansuriya.

christopherdro commented 3 years ago

Update released in v0.9.0