wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.58k stars 540 forks source link

Infinite wait with Detox #703

Open talha-arshad-temedica opened 1 year ago

talha-arshad-temedica commented 1 year ago

What react-native version are you using? 0.69.2 What react-native-pdf version are you using? 6.6.2 What platform does your issue occur on? (android/ios/both) ios Describe your issue as precisely as possible : 1) Steps to reproduce the issue or to explain in which case you get the issue Run e2e tests, when pdf is loaded, you will see that detox is busy with some native timer. 2) Interesting logs

This is the log which I get: The app is busy with the following tasks: • 1 enqueued native timers:

Join a screenshot or video of the problem on the simulator or device?

Show us the code you are using?

it('Load base64 PDF file', async () => { await element(by.text('PdfScreen')).tap(); waitFor(element(by.text('PDF file'))); });

Jackyang-SS commented 1 year ago

@talha-arshad-temedica have you solved it? I am having the same problem, tried many ways, none of them works