You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lib is stating that the written was successful, however, the downloaded image file is corrupted.
Here are the original and the corrupted one.
It only happens in Windows (I only have windows 10 to test).
In Mac catalina the image is ok.
Our app takes a picture and saves it at this path: Documents\fotos\6fda137520191106100346.png.
Then I execute the exe and send the below command to download it:
Activity
Fatme commentedon Nov 6, 2019
Hey @jodinathan,
Can you give us more information how to reproduce the issue? What are the exact steps that we need to execute?
jodinathan commentedon Nov 6, 2019
Our app takes a picture and saves it at this path: Documents\fotos\6fda137520191106100346.png.
Then I execute the exe and send the below command to download it:
C:\path\node\node_modules\ios-device-lib\bin\win32\ia32>ios-device-lib.exe
��{"deviceClass":"iPad","deviceColor":"1","deviceId":"xxx","deviceName":"iPad","event":"deviceFound","isUSBConnected":1,"isWiFiConnected":0,"productType":"iPad7,11","productVersion":"13.1","status":"Connected"}{ "methods": [ { "id": "8", "name": "download", "args": [ { "appId": "br.com.app", "deviceId": "xxx", "source": "Documents\fotos\6fda137520191106100346.png", "destination": "C:\path\img.png" } ] } ] }
h{"deviceId":"xxx","id":"8","response":"File written successfully!"}^C
The "C:\path\img.png" is corrupted while when the lib is executed within a macos using the same command, it downloads the image correctly.