There is no decrease in the number of devices when I add the following code.
(I modified the AndroidManifest downloaded from Github Google Mobile Ads
Unity Plugin v3.0.1 I add the following.)
<Supports-screens android: smallScreens = "false"
android: normalScreens = "false"
android: largeScreens = "true"
android: xlargeScreens = "false"
android: requiresSmallestWidthDp = "600" />
<Supports-screens>
<! - All large size screens ->
<Screen android: screenSize = "large" android: screenDensity = "mdpi" />
<Screen android: screenSize = "large" android: screenDensity = "hdpi" />
<Screen android: screenSize = "large" android: screenDensity = "xhdpi"
/>
</ Supports-screens>
I do not know if this code is for unity c # script
My full AndroidManifest is:
<? Xml version = "1.0" encoding = "utf-8"?>
<! -
Google Mobile Ads This plugin library manifest will get merged With Your
application's manifest, adding the Necessary activity and permissions
required for displaying ads.
->
<Manifest xmlns: android = "http://schemas.android.com/apk/res/android"
package = "cl.MedicalApp.AnatomiaRadiologica"
android: versionName = "1.0"
android: versionCode = "1">
<Uses-sdk android: minSdkVersion = "14"
android: targetSdkVersion = "19" />
<Supports-screens android: smallScreens = "false"
android: normalScreens = "false"
android: largeScreens = "true"
android: xlargeScreens = "false"
android: requiresSmallestWidthDp = "600" />
<Supports-screens>
<! - All large size screens ->
<Screen android: screenSize = "large" android: screenDensity = "mdpi" />
<Screen android: screenSize = "large" android: screenDensity = "hdpi" />
<Screen android: screenSize = "large" android: screenDensity = "xhdpi"
/>
</ Supports-screens>
<! - Google Mobile Ads Permissions ->
<Uses-permission android: name = "android.permission.INTERNET" />
<Uses-permission android: name =
"android.permission.ACCESS_NETWORK_STATE" />
<Application>
<! - Denote the referenced Google Play services version ->
<Meta-data android: name = "com.google.android.gms.version"
android: value = "@ integer / google_play_services_version" />
<! - Google Mobile Ads Activity ->
<Activity android: name = "com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
<Activity android: name =
"com.unity3d.player.UnityPlayerNativeActivity"
android: label = "@ string / app_name">
<Intent-filter>
<Action android: name = "android.intent.action.MAIN" />
<Category android: name = "android.intent.category.LAUNCHER" />
</ Intent-filter>
<Meta-data android: name = "unityplayer.UnityActivity" android: value =
"true" />
<Meta-data android: name = "unityplayer.ForwardNativeEventsToDalvik"
android: value = "true" />
</ Activity>
</ Application>
</ Manifest>
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/9de3482a-ab78-42fb-bc2f-5d7432441a45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.