question

bdjake avatar image
bdjake asked

Strange WidthDp-Values for non-Amazon devices

We have an app which has set "android:requiresSmallestWidthDp" to 533 for amazon devices. This app is not installable on several non amazon devices (the app store does not show the app). An example is the Nexus 7 which should have at least a DP width of 600. The dashboard shows in the device support section for this app that this device is not supported. In the details it says: Your APK manifest requires capabilities not present on this device. android:requiresSmallestWidthDp = '533'; device requires '[b]527[/b]' This is the message for the "Nexus 7 (2013) — deb". Funnily it shows for the same device without LTE (Nexus 7 (2013) — flo): "Your APK manifest requires capabilities not present on this device. android:requiresSmallestWidthDp = '533'; device requires '[b]455[/b]' So it seems that the dp values for these devices (and others) are wrong Additional it shows for all amazon devices: "Your APK manifest requires capabilities not present on this device. android:requiresSmallestWidthDp" But this does not seem to be a problem at the moment, but I guess it will be a problem when the manifest filtering for amazon devices start in the end of november.
amazon appstore
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justin avatar image
justin answered
Hi bdjake, Device filtering in Amazon’s Developer Portal uses values reported by the actual devices at runtime. The "deb" and "flo" devices report 527 as the smallest width they support (using DisplayMetrics.getMetrics()). Therefore, a manifest needs to use 527 (or a lower value) for requiresSmallestWidthDp to be compatible with these devices. As you pointed out, our data for the "flo" device was faulty, and we’ve corrected that. Thanks for helping us there.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justin avatar image
justin answered
Hi Jake, Thanks for bringing this up. We are escalating this issue to the appropriate teams, and we will reply to this thread once we have more information. Thanks again, Justin
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bdjake avatar image
bdjake answered
Hi Justin, anything new on this issue? Jake
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justin avatar image
justin answered
Hi bdjake, We are continuing to look into this issue. In the mean time, if the app is only showing this as a warning, rather than stating it as an incompatible device, you should be fine to submit the app with it marked as compatible. Thanks for your patience, and apologies for any inconvenience this may have caused you.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bdjake avatar image
bdjake answered
Still no real response to my question for nearly two months... Are there any other support channel from Amazon where I can ask my question? The problem is an already existent one, because on the Amazon out application is not available on several none Kindle-devices, whereas in the Google Playstore there is no problem...
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justin avatar image
justin answered
Hi bdjake, Could you please share all relevant parts of your manifest? I've been testing this and it does not appear to be an issue with the requiresSmallestWidthDP being set to the value you've stated. Are you certain you are not also filtering out medium/large devices as well? Thanks, Justin
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bdjake avatar image
bdjake answered
As written in the first post, there are some strange infos in the amazon interface regarding the requiresSmallestWidthDP. So I don't think that the problem comes from our manifest. These is the manifest change for the amazon version: The manifest for the android playstore we use: ... On the playstore this works for the given devices. So the problem must be on your site!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.