Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

We found ad SDKs in your application
Started by usmanmughal.uog Mar 08 2018 11:38 AM

7 replies to this topic
admob sdk active apk google policy misrepresent
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 64 posts
  • Corona SDK

Hi Guys,

I don't using any of ad network but google detected AdMob SDK in APK. What is wrong? Here is google message shown where we set we don't using ads.
"No, it has no ads".

We found ad SDKs in your application

We found ad SDKs in your active APK(s):

Version: XXX, SDK: AdMob
If your app includes ad SDKs but doesn't serve ads, keep your current "No" declaration. If your app serves ads, change your declaration to "Yes".

If you misrepresent the presence of ads in your app, it's considered a violation of Google Play policies. Learn more


Is it Corona bug or can I solve it by doing something?



[TOPIC: post.html]
#2

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,111 posts
  • Corona SDK

If you are not serving ads then simply answer no



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,935 posts
  • Enterprise

Can you post your build.settings please?

 

Thanks

Rob



[TOPIC: post.html]
#4

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 64 posts
  • Corona SDK

Here is build.settings

-- Supported values for orientation:
-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight

settings = {
    -- Mac/Win specific
    window = {
        titleText = {
            default = "Apper",
        }
    },
    orientation = {
        default = "portrait",
        supported = { "portrait", }
    },

    osx = {
        plist = {
            NSAppTransportSecurity =
             {
                NSAllowsArbitraryLoads = true
             },
        }
    },

    splashScreen = 
    {
        enable = false
    },
    
    iphone = {
        xcassets = "Images.xcassets",
        plist = {
            UIBackgroundModes = {"remote-notification"},
            NSAppTransportSecurity =
             {
                NSAllowsArbitraryLoads = true
             },
            ITSAppUsesNonExemptEncryption=false,
            CFBundleURLTypes={
                CFBundleURLSchemes={"com.apper.builder"}
            },
            UIStatusBarHidden = true,
            UIPrerenderedIcon = true, -- set to false for "shine" overlay
            -- Launch image files table
            UILaunchImages = {
                {  -- iPhone 4 Portrait
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{320, 480}"
                },
                {  -- iPhone 5 Portrait
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default-568h",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{320, 568}"
                },
                {  -- iPad Portrait
                    ["UILaunchImageMinimumOSVersion"] = "7.0",
                    ["UILaunchImageName"] = "Default-Portrait",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{768, 1024}"
                },
                {  -- iPhone 6 Portrait
                    ["UILaunchImageMinimumOSVersion"] = "8.0",
                    ["UILaunchImageName"] = "Default-667h",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{375, 667}"
                },
                {  -- iPhone 6 Plus Portrait
                    ["UILaunchImageMinimumOSVersion"] = "8.0",
                    ["UILaunchImageName"] = "Default-736h",
                    ["UILaunchImageOrientation"] = "Portrait",
                    ["UILaunchImageSize"] = "{414, 736}"
                },
            },

            UIApplicationExitsOnSuspend = false, -- this must be false to make app alive when facebook native app will be opened

            FacebookAppID = "XXXXXXXXXX",  -- Replace XXXXXXXXXX with your Facebook App ID
            CFBundleURLTypes =
            {
                { CFBundleURLSchemes = { "fbXXXXXXXXXX", } }  -- Replace XXXXXXXXXX with your Facebook App ID
            },
            -- Whitelist Facebook apps
            LSApplicationQueriesSchemes =
            {
                "fb",  -- Needed for the facebook-v4.isFacebookAppEnabled() API
                "fbapi",
                "fbauth2",
                "fb-messenger-api",
                "fbshareextension"
            },
        }
    },
	plugins =
    {
        ["plugin.OneSignal"] =
        {
            publisherId = "com.onesignal",
        },
        ["plugin.notifications.v2"] =
        {
            publisherId = "com.coronalabs"
        },
        -- Omit if you're using 'plugin.googleAnalytics'
        ["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android=true, ["android-kindle"]=true },
        },
        ["plugin.google.iap.v3"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms={ android=true }
        },
        ["CoronaProvider.native.popup.social"] =
        {
            publisherId = "com.coronalabs"
        },
        ["plugin.zip"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true, android=true, osx=true, win32=true }
        },
        ["CoronaProvider.native.popup.activity"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true, },
        },
        ["plugin.reviewPopUp"] =
        {
            publisherId = "tech.scotth",
        },
        --[[
        ["plugin.facebook.v4"] =
        {
            publisherId = "com.coronalabs"
        },
        --]]
        ["plugin.facebookAnalytics"] =
        {
            publisherId = "tech.scotth",
            supportedPlatforms = { iphone=true, android=true, ["android-kindle"]=true }
        },
    },
    android =
    {
        minSdkVersion = "19",
        largeHeap = true,
        permissions = 
        {
            {name=".permisssion.C2D_MESSAGE", protectionLevel="signature"}
        },
        usesPermissions =
        {
            "android.permission.INTERNET",
            "android.permission.CAMERA",
            "android.permission.WRITE_EXTERNAL_STORAGE",
            "android.permission.READ_EXTERNAL_STORAGE",
    		"android.permission.READ_PHONE_STATE",
            "com.android.vending.BILLING",
            "com.android.vending.CHECK_LICENSE",   
            "android.permission.GET_ACCOUNTS",
            "android.permission.RECEIVE_BOOT_COMPLETED",
            "com.google.android.c2dm.permission.RECEIVE",
            ".permission.C2D_MESSAGE",
        },
        facebookAppId = "XXXXXXXXXX",  -- Replace XXXXXXXXXX with your Facebook App ID
    },

    excludeFiles =
    {
        -- Exclude all files at paths which end with "secret.txt"
        all = { "*secret.txt" },

        -- Exclude all Android icon files
        iphone = { "Icon-*dpi.png" },

        -- Exclude iOS "retina" image files
        android = { "Icon.png", "*@2x.png", "*@3x.png", "Default*.png" },

        -- Exclude unnecessary assets from OS X desktop apps
        osx = { "Default*.png", "Icon*.png", "Icon*.ico" },

        -- Exclude unnecessary assets from Win32 desktop apps
        win32 = { "Default*.png", "Icon*.png", "Icon*.ico", "Icon*.icns" },
    },
}




[TOPIC: post.html]
#5

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 64 posts
  • Corona SDK

Hi Sphere,

I don't using ads and I selected "No, it has no ads". That is the reason google said we detected an ad SDK and "If you misrepresent the presence of ads in your app, it's considered a violation of Google Play policies".

 

[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,935 posts
  • Enterprise

You need to remove this:

        -- Omit if you're using 'plugin.googleAnalytics'
        ["plugin.google.play.services"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android=true, ["android-kindle"]=true },
        },

That is the legacy AdMob plugin. It used to be a dependency for several other Ad and Analytics plugins, but we have not supported that plugin for well over a year now and have a new dependency system that doesn't require it.

 

That's the source of your error.

 

Rob



[TOPIC: post.html]
#7

usmanmughal.uog

[GLOBAL: userInfoPane.html]
usmanmughal.uog
  • Enthusiast

  • 64 posts
  • Corona SDK

Thanks Rob, I will remove it.

So my any of google services would not be effect?



[TOPIC: post.html]
#8

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,935 posts
  • Enterprise

It should not.

 

Rob




[topic_controls]
[/topic_controls]