sdk-android icon indicating copy to clipboard operation
sdk-android copied to clipboard

android.permission.FOREGROUND_SERVICE_DATA_SYNC declaration and video for Google Play Store

Open skorolk opened this issue 1 year ago • 4 comments

We have got into the issue with Google Play Store that requires us to provide detailed description and video of how android.permission.FOREGROUND_SERVICE_DATA_SYNC is being used.

I can see that this permission is requested in com.zettle.sdk.feature.cardreader.readers

<uses-sdk android:minSdkVersion="21" />

<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.REQUEST_COMPANION_USE_DATA_IN_BACKGROUND" />

<application>
    <uses-library
        android:name="com.android.pinpad"
        android:required="false" />

    <activity
        android:name="com.zettle.sdk.feature.cardreader.readers.update.UpdateNotificationActivity"
        android:launchMode="singleTask"
        android:theme="@style/IZettle.Theme.Transparent" />

    <service
        android:name="androidx.work.impl.foreground.SystemForegroundService"
        android:foregroundServiceType="dataSync" />
</application>

I assume it is needed for pinpads updates. I am wondering if I can manually initiate that so I can record the video for Google Play Store or could you provide a short video for it?

Please confirm that my assumption is correct and advise what can be done with it.

skorolk avatar Feb 26 '25 19:02 skorolk

This permission is required for the foreground service need to update the reader PA (Payment Application).

Image

mfareed-gh avatar Feb 27 '25 09:02 mfareed-gh

Please provide the short video of the update process as Google still rejects the explanations as insufficient

skorolk avatar May 22 '25 14:05 skorolk

Attached is a video for the reader-software update process and the foreground service needed. https://github.com/user-attachments/assets/df2559ca-9482-40c2-9d30-8bf7aa98574c

mfareed-gh avatar May 27 '25 11:05 mfareed-gh

It is still not enough for Google Play Store, would it be possible to have reasonable description why the foreground service is needed and can the update be done without it?

skorolk avatar Jun 17 '25 21:06 skorolk