android.hardware.camera.autofocus

2 posts, 1 answers
  1. dobiczek
    dobiczek avatar
    6 posts
    Member since:
    Jul 2013

    Posted 31 Jan 2014 Link to this post

    Hello,

    we build an app for ios and android and now we have several issues with the filtering of the play store for the android app.(Which works fine if you install the apk manually)
    Now the playstore is setting the app as incompatible for a lot of devices, i.e. almost all variants of the Galaxy Tab 3.
    We asked the support why and the answer was: "You are using the following permission/feature: android.hardware.camera.autofocus"

    As we want to use the camera we have the permission for camera turned on, but how the hack can we solve this?
    Any ideas?

    We also have the problem that the playstore has filtered it for phones only, but I will probably ask a few questions about this in another thread ;)


    BR

    Holger
  2. Answer
    Steve
    Admin
    Steve avatar
    10941 posts

    Posted 04 Feb 2014 Link to this post

    Hello Holger,

    Quite frankly Google Play support should provide you with info what you need to do and not only point what causes this effect in their store. Same holds true for filtering out tablets and other store related issues.

    You need to edit the AndroidManifest.xml of your app and specify "android:required="false"
    for android.hardware.camera.autofocus. More information is available in the Android documentation about
    uses-feature.

    Regards,
    Steve
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Back to Top