I have a strange issue with Appeon Mobile when taking photos on iOS.
The photo is taken and saved however just after taking the photo the image is cropped to a square image.
I cannot see why it is doing this and can't see any options for the "of_takefile" or "eon_mobile_str_cameraoption" (Documentation Link)
See screenshots attached. Any ideas?
Powerserver 2017 R3 1858 with matching workspace.
Issue on iPad and iPad mini. iOS 10 and 12.
Sample PB Code:
Boolean lb_allowedit integer li_filetype = 1 // 0 = video int li_rc eon_mobile_cameraex uo_camera Exception l_exception eon_mobile_str_cameraoption lstr_option uo_camera = CREATE eon_mobile_cameraex lb_allowedit = true /* li_rc 1 - Take a photo successfully 2 - Record a video successfully 0 - Cancel taking photo or video -1 - It is called in PowerBuilder or Appeon Web, or there is an error (as_filepath will return the filepath, returns empty string if cancelled/error) */ li_rc = uo_camera.of_takefile(li_filetype, lb_allowedit, as_filepath) if li_rc < 0 then l_exception = create Exception l_exception.SetMessage('Error in function of_take_photo of class n_camera') throw l_exception end if DESTROY uo_camera return li_rc