privacy-tech-lab / gpc-android

Code and dynamic analysis scripts for GPC on Android
https://privacytechlab.org/
MIT License
4 stars 1 forks source link

Determine minimum SDK version of the app #60

Closed n-aggarwal closed 1 year ago

n-aggarwal commented 1 year ago

Find the minimum sdk version that our app would be compatible with to maximize the percentage of audience that we can reach.

n-aggarwal commented 1 year ago

The minimum SDK version of the app could be API 21; this is Android 5.0. Theoretically, we could go down to API 14 (android 4.0), but unfortunately I couldn't test a lower API since Android Studio only has ARM images for emulators for down to API 21.

API 21 is in my opinion sufficient enough since if we have that as our minimum SDK version, then we would successfully reach 99.3% of the Android users. We would have to be a little careful though with development making sure that we don't use any of the features introduced after API 21.

One potential problem is that when I run the app on API 21, and opt out of ad-personalization even though the isLimitAdTracking is true, I can still see the value of the AdId, but I think that shouldn't be a huge problem, because using the AdId if isLimitAdTracking is enabled would be a violation of the google policies.

SebastianZimmeck commented 1 year ago

The minimum SDK version of the app could be API 21; this is Android 5.0.

This sounds good to me.

SebastianZimmeck commented 1 year ago

I think we settled on Android 5 (API 21). So feel free to close if there is nothing more to do, @n-aggarwal.

n-aggarwal commented 1 year ago

I will create a new branch and change the minimum SDK version of the app. Then I will open a PR and once that is merged we can close this issue.

wesley-tan commented 1 year ago

Believe that this can be closed; min sdk version API 21

SebastianZimmeck commented 1 year ago

I reopened this issue because there is still a linked PR open. Once that is merged, please feel free to close again @wesley-tan.