gdagitrep / native_screenshot_ext

Other
1 stars 4 forks source link

IOS not working #1

Closed vinodlee closed 1 year ago

vinodlee commented 1 year ago

I have tried to take a screenshot on the ios device, But int the IOS Platform return an empty path only. Is there any solution please help me with this.

gdagitrep commented 1 year ago

Yeah. I need to fix the iOS functionality. Feel free to create pull request if you figure it out. Thanks

On Mon, Mar 20, 2023 at 7:13 PM Vinoth M @.***> wrote:

I have tried to take a screenshot on the ios device, But int the IOS Platform return an empty path only. Is there any solution please help me with this.

— Reply to this email directly, view it on GitHub https://github.com/gdagitrep/native_screenshot_ext/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDGI4WNZDRG25CF4QEI2MTW5EFEFANCNFSM6AAAAAAWB262MU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

gdagitrep commented 1 year ago

Fixed with https://github.com/gdagitrep/native_screenshot_ext/commit/62803d27b6b844b99b427c3465ca110d031fb238 . Get version 1.2.5. The quality argument is still not being used though; the jpeg compression using imageData = optionalImage.jpegData(compressionQuality: CGFloat(quality)/100.0) is sometimes leading to higher size images. Consider that a work in future.