Reputation: 61
I have a React Native (Expo) app published on Google Play Store with
The app works correctly when installed directly via APK, and it is installable via Google Play for a lot of users.
Issue:
Two devices I tried it on cannot find the app on Google Play, and when accessed directly through a link, they receive a "Your device isn't compatible with this version" message. However:
Affected Devices:
Technical Details:
uses-feature
, no required:true
)Relevant AndroidManifest.xml permissions:
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
Relevant part of app.config.ts:
const config: ExpoConfig = {
// ... other config
android: {
package: "com.acme.app",
userInterfaceStyle: "light",
permissions: ["com.google.android.gms.permission.AD_ID"],
blockedPermissions: [],
googleServicesFile: "./google-services.json",
adaptiveIcon: {
foregroundImage: "./assets/adaptive-icon/adaptive_icon_fg.png",
backgroundColor: "#ffe3a5",
},
},
plugins: [
["expo-apple-authentication"],
[
"expo-location",
{
locationAlwaysAndWhenInUsePermission: `...`,
locationWhenInUsePermission: `...`,
isAndroidForegroundServiceEnabled: true,
},
],
["expo-secure-store"],
["expo-localization"],
[
"@react-native-google-signin/google-signin",
{
iosUrlScheme: "com.googleusercontent.apps.[redacted]",
},
],
[
"expo-build-properties",
{
android: {
kotlinVersion: "1.7.22",
},
},
],
],
};
What could be causing this discrepancy between Play Store compatibility and actual device compatibility? How can I resolve this issue?
Upvotes: 0
Views: 40