Question about system.vibrate() and google play

I just got done making a simple game and im about ready to publish. My game uses system.vibrate() when desroying enemys and i included a option for users to disable the vibrate feature in settings on the game. My question is because i ask for permission in my build settings to use the vibrate feature will my game be automatically hidden in google play from devices that do not support vibrate or will i need to code a check function to see what device the person is using and allow the vibrate feature to work only if the device supports it?

Reason im asking is cause i assume if the device does not support vibrate it will cause the app to crash.

Thanks.

I’m not an expert in this, but maybe help you go on the right track. This is what I did for camera permissions in the build file so that devices that do not have it can also download the app.

[lua]

android = {

        permissions = {

            { name = “.permission.C2D_MESSAGE”, protectionLevel = “signature” },

        },

        usesFeatures =

        {

            { name = “android.hardware.camera”, required = false },

            { name = “android.hardware.camera.autofocus”, required = false },

        },

        usesPermissions = {

            “android.permission.INTERNET”,

            “android.permission.GET_ACCOUNTS”,

            “android.permission.RECEIVE_BOOT_COMPLETED”,

            “com.google.android.c2dm.permission.RECEIVE”,

            “.permission.C2D_MESSAGE”,

            “com.android.vending.BILLING”,

        },

[/lua]

As you can see I moved them to “usesFeatures” and put required = “false” and in doing that many more devices where added to the supported list on Google play. 

I don’t really plan on targeting devices without vibrate. I just want to know if google will handle hiding the app from the play store for devices that do not support the vibrate feature. I have tested my app on many devices that do support vibrate. My concern is the app crashing on devices that do not support vibrate but if google auto hinds the app then its no longer a concern.

I’m not an expert in this, but maybe help you go on the right track. This is what I did for camera permissions in the build file so that devices that do not have it can also download the app.

[lua]

android = {

        permissions = {

            { name = “.permission.C2D_MESSAGE”, protectionLevel = “signature” },

        },

        usesFeatures =

        {

            { name = “android.hardware.camera”, required = false },

            { name = “android.hardware.camera.autofocus”, required = false },

        },

        usesPermissions = {

            “android.permission.INTERNET”,

            “android.permission.GET_ACCOUNTS”,

            “android.permission.RECEIVE_BOOT_COMPLETED”,

            “com.google.android.c2dm.permission.RECEIVE”,

            “.permission.C2D_MESSAGE”,

            “com.android.vending.BILLING”,

        },

[/lua]

As you can see I moved them to “usesFeatures” and put required = “false” and in doing that many more devices where added to the supported list on Google play. 

I don’t really plan on targeting devices without vibrate. I just want to know if google will handle hiding the app from the play store for devices that do not support the vibrate feature. I have tested my app on many devices that do support vibrate. My concern is the app crashing on devices that do not support vibrate but if google auto hinds the app then its no longer a concern.