Skip to main content
Inspiring
November 14, 2016
Answered

getting black screen in sdk 24b on ios trying to use camera as texture

  • November 14, 2016
  • 1 reply
  • 575 views

posting here as well to maybe catch AIR team attention? first thought the app crashed, but it does not close so I guess not, it just does not render itself. something you have done in sdk 24b is at fault, since it works with 23.

bug: 4197717

This topic has been closed for replies.
Correct answer deesharm

Hi Maksym,

Thanks for pointing, we have updated the release notes accordingly. Kindly refer to it using below link:

http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air24_flashplayer24_releasenotes.pdf

So, If you are using AIRSDK 24, You need to use request permissions API for classes like Camera, Microphone, Geolocation, CameraRoll, CameraUI, File, and FileReference.

Thanks,

Adobe AIR Team

1 reply

deesharm
Adobe Employee
Adobe Employee
November 17, 2016

Hi,

We have investigated the problem at our side and found that screen was going blank because of Permission API introduced in AIRSDK 24. Now, If you are using AIRSDK 24 you need to request permission from the user for objects like Camera, Microphone and other dangerous permissions.

Please go through the release notes of AIR 24 and refer to the section of "Permissions on Android and iOS"

http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air24_flashplayer24_releasenotes.pdf

I have modified your project attached in bug to adapt the changes for camera permission and its working fine now. Kindly refer to the attached project in the bug.

Thanks,

Adobe AIR Team

makc3dAuthor
Inspiring
November 17, 2016

Hello, the release notes say "For iOS, the APIs listed below are optional if you do not want to handle permissions explicitly in ActionScript", what about that part? Also, iOS did store permissions I gave last time I ran the app, are they no longer respected?

deesharm
Adobe Employee
deesharmCorrect answer
Adobe Employee
November 18, 2016

Hi Maksym,

Thanks for pointing, we have updated the release notes accordingly. Kindly refer to it using below link:

http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air24_flashplayer24_releasenotes.pdf

So, If you are using AIRSDK 24, You need to use request permissions API for classes like Camera, Microphone, Geolocation, CameraRoll, CameraUI, File, and FileReference.

Thanks,

Adobe AIR Team