Sending Device Identifiers to Google.

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

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

Also what version of Corona are you using?

Rob

-- 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.

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

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?

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

Also what version of Corona are you using?

Rob

-- 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.

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

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?