We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1faa9c5 commit 1a1ac07Copy full SHA for 1a1ac07
admob/admob_resources/build.gradle
@@ -36,7 +36,9 @@ android {
36
37
sourceSets {
38
main {
39
- manifest.srcFile '../../android_build_files/AndroidManifest.xml'
+ // Use the manifest that gives access to the internet, as some of the
40
+ // AdMob classes have linter problems without it.
41
+ manifest.srcFile '../../android_build_files/AndroidManifest-internet.xml'
42
java {
43
srcDirs = ['../src_java/com/google/firebase/admob/internal/cpp']
44
}
android_build_files/AndroidManifest-internet.xml
@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
+ package="com.google.FirebaseCppSdkBuild">
4
+ <uses-permission android:name="android.permission.INTERNET"/>
5
+</manifest>
0 commit comments