eggheadgames / android-in-app-payments

Support Android Google Play and Amazon in-app billing (IAP) payments with one API
MIT License
58 stars 14 forks source link

Fix Google Families Ads Program rejection because "use of Amazon SDK" #30

Closed mikemee closed 4 years ago

mikemee commented 4 years ago

Google contacted us (Egghead Games) warning that our "family friendly" app status is in jeopardy because:

We have detected the use of Amazon SDK

This turns out to be because this library is being used, and it always includes the Amazon file libs/in-app-purchasing-2.0.76 regardless of whether it is an APK built for Google Play or Amazon app stores.

The solution adopted is to use the Android flavor mechanism to build this aar so that the app can choose the correct flavor at build time. Details are in the README.md file.

This is (will be) fixed in version 3.0.0 of the library.


FYI, here is the full version of the Google notification email (after querying them for details):

During review, we found that your app (removed name of app) violates the policy: Families Ads Program

We have detected that your app includes non-certified ad SDKs and/or SDKs that are not approved for use in child-directed services. Any SDKs used in the app must be appropriate for use in child-directed services. Additionally, apps that solely target children must not contain any SDKs that are not approved for use in child-directed services, including ads SDKs. Apps in the Designed for Families program must only use ad SDKs that have certified their compliance with the Families Ads Program.

You can read through the Families Policy Requirements, Designed for Families Requirements, and Ads and Monetization policy for more information.

We have detected the use of Amazon SDK, which is not allowed in apps that are in the Families program. An ad SDK is not allowed if it has not self-certified its compliance with Play’s Families Ads Program (certified ad SDKs), or it is non-COPPA compliant per its own public documentation. Please note, the status of SDKs often changes and it is your responsibility to review documentation of all SDKs used in your app to ensure compliance with Families policies