SDK SupportUIGetScreenImage - Has RedLaser SDK been updated to remove this?

  • RedLaser -

    As you may or may not know, Apple this month changed their policy regarding a private API that has been in use by RedLaser and many others called UIGetScreenImage(). It allows devs to be able to access the camera overlay on devices as far back as iPhone 2G with OS 3.x on it.

    Now, Apple says we can't use this API anymore. Devs are now forced to use AVCaptureVideoPreviewLayer (or others in the AV library) to get camera data, but this only works on iOS 4.x devices, which the iPhone 2G cannot use.

    My question for you is, does the SDK now use AVCaptureVideoPreviewLayer on all iPhones with 4.x (iPhone 3G, 3GS, and 4) and do they completely remove UIGetScreenImage()? If not, when is the update coming out?

    I will not be able to upload my apps to the App Store until this is changed otherwise my apps will be rejected.

    Thanks,

    Ethan

  • Our app just got rejected for precisely that API call in RedLaser.

  • Is it possible to make a version that uses the previously-allowed API for pre-4.0 iOS devices, and the new API call for 4.0? We want to be able to target 3.1 and up.

  • Hi all,

    We've become aware that Apple has started rejecting apps that are using UIGetScreenImage.

    We are working on switching the RedLaser code to work with AV Foundation instead of UIGetScreenImage. So we'll be able to send RedLaser customers a version of the SDK very soon with that fix. (and update the public SDK)

    Please be aware that this SDK is not compatible with pre-iOS 4.0 operating systems. Further, there is no supported alternative for screen capture on those pre-iOS 4.0 systems, so there is no workaround we can supply. I understand many of you would like to support OS versions prior to 4.0 - it does not appear that this will be possible (and it should not be possible with any other barcode reading technology for the iPhone). We recommend that you encourage your users to upgrade to iOS4 to ensure compatibility.

    I'll keep you updated on the situation as I have more information.

  • We submitted an update to our app some days ago and got the message back from Apple that they no longer allow UIGetScreenImage. But they also state in their email "We ask that you move to these new APIs in your next update." Does that mean this update will pass but the next one will not?

  • It has passed a week to get reject notice from Apple. When will the fix be available? Any estimate would be helpful for planning purposes.

  • Hi all,

    I have been communicating with all RedLaser customers about this issue over the past week. The fixed public SDK will be posted on the website today and I will be sending new licensed SDKs to all customers today.

Want to take part in this discussion? Click one of these: Sign In Register For Membership

Howdy, Stranger!

It looks like you're new here. If you want to take part in the discussions, click one of these buttons!

Sign In Register For Membership

Categories

In this Discussion