@@ -28,9 +28,12 @@ Add the extension id to your application descriptor:
2828```
2929
3030
31-
3231#### Android
3332
33+ If there is an ` assets ` directory alongside the extension in the repository that contains required assets for the installed extensions.
34+ You must add the files in the ` assets/android ` folder to the root of your Android application package.
35+
36+
3437##### Manifest Additions
3538
3639Add the following to your manifest additions in your application descriptor.
@@ -48,153 +51,11 @@ Also we suggest you enable hardware acceleration so videos are displayed correct
4851<manifest android : installLocation =" auto" >
4952
5053 <uses-sdk android : minSdkVersion =" 21" android : targetSdkVersion =" 34" />
51-
52- <permission android : name =" APPLICATION_PACKAGE.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION"
53- android : protectionLevel =" signature" />
54- <uses-permission android : name =" APPLICATION_PACKAGE.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" />
55- <!-- Include required permissions for Google Mobile Ads to run -->
56- <uses-permission android : name =" android.permission.INTERNET" />
57- <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
58- <uses-permission android : name =" com.google.android.gms.permission.AD_ID" />
59- <uses-permission android : name =" android.permission.ACCESS_ADSERVICES_AD_ID" />
60- <uses-permission android : name =" android.permission.ACCESS_ADSERVICES_ATTRIBUTION" />
61- <uses-permission android : name =" android.permission.ACCESS_ADSERVICES_TOPICS" />
62- <!-- Android package visibility setting -->
63- <queries >
64- <!-- For browser content -->
65- <intent >
66- <action android : name =" android.intent.action.VIEW" />
67- <category android : name =" android.intent.category.BROWSABLE" />
68- <data android : scheme =" https" />
69- </intent >
70- <!-- End of browser content -->
71- <!-- For CustomTabsService -->
72- <intent >
73- <action android : name =" android.support.customtabs.action.CustomTabsService" />
74- </intent >
75- <!-- End of CustomTabsService -->
76- </queries >
77- <uses-permission android : name =" android.permission.WAKE_LOCK" />
78- <uses-permission
79- android : name =" com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" />
80- <!-- Required by older versions of Google Play services to create IID tokens -->
81- <uses-permission android : name =" com.google.android.c2dm.permission.RECEIVE" />
82- <uses-permission android : name =" android.permission.FOREGROUND_SERVICE" />
83- <application android : appComponentFactory =" androidx.core.app.CoreComponentFactory"
84- android : hardwareAccelerated =" true" >
54+ <application >
8555
8656 <meta-data android : name =" com.google.android.gms.ads.APPLICATION_ID"
8757 android : value =" APPLICATION_ID" />
88-
89- <service android : name =" androidx.room.MultiInstanceInvalidationService"
90- android : directBootAware =" true" android : exported =" false" />
91- <provider android : name =" androidx.startup.InitializationProvider"
92- android : authorities =" APPLICATION_PACKAGE.androidx-startup" android : exported =" false" >
93- <meta-data android : name =" androidx.lifecycle.ProcessLifecycleInitializer"
94- android : value =" androidx.startup" />
95- <meta-data android : name =" androidx.work.WorkManagerInitializer"
96- android : value =" androidx.startup" />
97- </provider >
98- <!-- Include the AdActivity and InAppPurchaseActivity configChanges and themes. -->
99- <activity android : name =" com.google.android.gms.ads.AdActivity"
100- android : configChanges =" keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
101- android : exported =" false" android : theme =" @android:style/Theme.Translucent" />
102- <provider android : name =" com.google.android.gms.ads.MobileAdsInitProvider"
103- android : authorities =" APPLICATION_PACKAGE.mobileadsinitprovider" android : exported =" false"
104- android : initOrder =" 100" />
105- <service android : name =" com.google.android.gms.ads.AdService" android : enabled =" true"
106- android : exported =" false" />
107- <activity android : name =" com.google.android.gms.ads.OutOfContextTestingActivity"
108- android : configChanges =" keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
109- android : exported =" false" />
110- <activity android : name =" com.google.android.gms.ads.NotificationHandlerActivity"
111- android : excludeFromRecents =" true" android : exported =" false"
112- android : launchMode =" singleTask" android : taskAffinity =" "
113- android : theme =" @android:style/Theme.Translucent.NoTitleBar" />
114- <receiver android : name =" com.google.android.gms.measurement.AppMeasurementReceiver"
115- android : enabled =" true" android : exported =" false" />
116- <service android : name =" com.google.android.gms.measurement.AppMeasurementService"
117- android : enabled =" true" android : exported =" false" />
118- <service android : name =" com.google.android.gms.measurement.AppMeasurementJobService"
119- android : enabled =" true" android : exported =" false"
120- android : permission =" android.permission.BIND_JOB_SERVICE" />
121- <meta-data android : name =" com.google.android.gms.version"
122- android : value =" @integer/google_play_services_version" />
123- <activity android : name =" com.google.android.gms.common.api.GoogleApiActivity"
124- android : exported =" false" android : theme =" @android:style/Theme.Translucent.NoTitleBar" />
125- <service android : name =" com.google.firebase.components.ComponentDiscoveryService"
126- android : exported =" false" >
127- <meta-data
128- android : name =" com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar"
129- android : value =" com.google.firebase.components.ComponentRegistrar" />
130- </service >
131- <service android : name =" androidx.work.impl.background.systemalarm.SystemAlarmService"
132- android : directBootAware =" false"
133- android : enabled =" @bool/enable_system_alarm_service_default" android : exported =" false" />
134- <service android : name =" androidx.work.impl.background.systemjob.SystemJobService"
135- android : directBootAware =" false"
136- android : enabled =" @bool/enable_system_job_service_default" android : exported =" true"
137- android : permission =" android.permission.BIND_JOB_SERVICE" />
138- <service android : name =" androidx.work.impl.foreground.SystemForegroundService"
139- android : directBootAware =" false"
140- android : enabled =" @bool/enable_system_foreground_service_default"
141- android : exported =" false" />
142- <receiver android : name =" androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver"
143- android : directBootAware =" false" android : enabled =" true" android : exported =" false" />
144- <receiver
145- android : name =" androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy"
146- android : directBootAware =" false" android : enabled =" false" android : exported =" false" >
147- <intent-filter >
148- <action android : name =" android.intent.action.ACTION_POWER_CONNECTED" />
149- <action android : name =" android.intent.action.ACTION_POWER_DISCONNECTED" />
150- </intent-filter >
151- </receiver >
152- <receiver
153- android : name =" androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy"
154- android : directBootAware =" false" android : enabled =" false" android : exported =" false" >
155- <intent-filter >
156- <action android : name =" android.intent.action.BATTERY_OKAY" />
157- <action android : name =" android.intent.action.BATTERY_LOW" />
158- </intent-filter >
159- </receiver >
160- <receiver
161- android : name =" androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy"
162- android : directBootAware =" false" android : enabled =" false" android : exported =" false" >
163- <intent-filter >
164- <action android : name =" android.intent.action.DEVICE_STORAGE_LOW" />
165- <action android : name =" android.intent.action.DEVICE_STORAGE_OK" />
166- </intent-filter >
167- </receiver >
168- <receiver
169- android : name =" androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy"
170- android : directBootAware =" false" android : enabled =" false" android : exported =" false" >
171- <intent-filter >
172- <action android : name =" android.net.conn.CONNECTIVITY_CHANGE" />
173- </intent-filter >
174- </receiver >
175- <receiver android : name =" androidx.work.impl.background.systemalarm.RescheduleReceiver"
176- android : directBootAware =" false" android : enabled =" false" android : exported =" false" >
177- <intent-filter >
178- <action android : name =" android.intent.action.BOOT_COMPLETED" />
179- <action android : name =" android.intent.action.TIME_SET" />
180- <action android : name =" android.intent.action.TIMEZONE_CHANGED" />
181- </intent-filter >
182- </receiver >
183- <receiver
184- android : name =" androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver"
185- android : directBootAware =" false"
186- android : enabled =" @bool/enable_system_alarm_service_default" android : exported =" false" >
187- <intent-filter >
188- <action android : name =" androidx.work.impl.background.systemalarm.UpdateProxies" />
189- </intent-filter >
190- </receiver >
191- <receiver android : name =" androidx.work.impl.diagnostics.DiagnosticsReceiver"
192- android : directBootAware =" false" android : enabled =" true" android : exported =" true"
193- android : permission =" android.permission.DUMP" >
194- <intent-filter >
195- <action android : name =" androidx.work.diagnostics.REQUEST_DIAGNOSTICS" />
196- </intent-filter >
197- </receiver >
58+ <meta-data android : name =" com.google.android.gms.ads.flag.OPTIMIZE_AD_LOADING" android : value =" true" />
19859 </application >
19960
20061</manifest >
@@ -204,6 +65,9 @@ Also we suggest you enable hardware acceleration so videos are displayed correct
20465
20566#### iOS
20667
68+ If there is an ` assets ` directory alongside the extension in the repository that contains required assets for the installed extensions.
69+ You must add the files in the ` assets/ios ` folder to the root of your iOS application package.
70+
20771##### Info Additions
20872
20973Add the following to your ` InfoAdditions ` node updating the usage description strings as required for your application:
0 commit comments