Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Sending Device Identifiers to Google.
Started by usmanmughal.uog May 14 2018 02:58 AM

5 replies to this topic
device identifiers imei mac address build serial remote network outdated avertising sdk google play policies violation
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

usmanmughal.uog

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

  • 51 posts
  • Corona SDK

Sending Device Identifiers
Detected in APK 384, 383, 382, 381, 380, 379, 378, 377, 376, 375 ...

Your app is using device identifiers (IMEI, MAC address, Build Serial, etc.) and sending identifier data to a remote network address.

This issue is commonly (but not only) found in apps using an outdated Advertising SDK.

To stop receiving this warning, try updating or changing any SDKs or code in your app that may be using device identifiers.

Sending device identifiers is not a best practice for most use-cases and if you're using this identifier for advertising purposes, this may be a violation of Google Play policies and can affect your app’s visibility on the Play Store. To get recommendations on how your app can use identifiers, learn about unique identifier best practices.


Anyone knows why google is complaining about this?

Regards,
Usman Mughal



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Contributor

  • 549 posts
  • Corona SDK

What does your build settings look like? Can you paste them here?



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 23,753 posts
  • Corona Staff

Also what version of Corona are you using?

 

Rob



[TOPIC: post.html]
#4

usmanmughal.uog

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

  • 51 posts
  • Corona SDK

-- 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={""}
            },
            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"
        },
        ["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" },
    },
}

Here is build.settings.



[TOPIC: post.html]
#5

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Contributor

  • 549 posts
  • Corona SDK

My only guess is to try to disable OneSignal and see it goes away. Also try the latest build of corona.



[TOPIC: post.html]
#6

wilsonwansun

[GLOBAL: userInfoPane.html]
wilsonwansun
  • Enthusiast

  • 61 posts
  • Corona SDK

Hi Usman, how is the status of your problem? I got the same problem of my App.

Have you ever tried to remove

"android.permission.READ_PHONE_STATE",

in your build.settings file?




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: device identifiers, imei, mac address, build serial, remote network, outdated avertising sdk, google play policies, violation