How to restrict android app for tablet/handset ?

I have separate APKs for the same app. For tablets and for handsets. Also I’m using expo in my project. Due to android documentation I should declare <supports-screens> in <manifest> like this for tablet support only:

<manifest ... >
    <supports-screens android:smallScreens="false"

But it’s not good solution, because eject is necessary. How can solve my problem without expo eject ?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Hi @gsmobiletest123

In case you’re still interested, or if anyone else finds this old question, the following Config Plugin should do the job. It is no longer necessary to eject:

Just build with EAS Build. You can use a Development Build instead of Expo Go.