Skip to content

Commit 98b744a

Browse files
authored
Declare firebase-common dependency as api in firebase-appcheck (#5405)
Additionally, we are explicitly marking firebase-appcheck/test-app activity as exported, and removing direct dependencies it has with common and components.
1 parent 5241ce7 commit 98b744a

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

appcheck/firebase-appcheck/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Unreleased
2+
* [fixed] Fixed a bug causing internal tests to depend directly on `firebase-common`.
3+
24
* [changed] Added Kotlin extensions (KTX) APIs from `com.google.firebase:firebase-appcheck-ktx`
35
to `com.google.firebase:firebase-appcheck` under the `com.google.firebase.appcheck` package.
46
For details, see the
@@ -105,4 +107,3 @@ additional updates:
105107
# 16.0.0-beta01
106108
* [feature] Initial beta release of the [app_check] SDK with abuse reduction
107109
features.
108-

appcheck/firebase-appcheck/firebase-appcheck.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ dependencies {
6565
implementation 'com.google.firebase:firebase-annotations:16.2.0'
6666
implementation project(':appcheck:firebase-appcheck-interop')
6767
implementation project(path: ':appcheck:firebase-appcheck-interop')
68-
implementation("com.google.firebase:firebase-common:20.4.1")
68+
api("com.google.firebase:firebase-common:20.4.1")
6969
implementation("com.google.firebase:firebase-common-ktx:20.4.1")
7070
implementation("com.google.firebase:firebase-components:17.1.4")
7171
javadocClasspath 'com.google.auto.value:auto-value-annotations:1.6.6'

appcheck/firebase-appcheck/test-app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<application
2020
android:label="@string/app_name"
2121
android:theme="@style/AppTheme">
22-
<activity android:name=".MainActivity">
22+
<activity android:name=".MainActivity" android:exported="true">
2323
<intent-filter>
2424
<action android:name="android.intent.action.MAIN" />
2525

appcheck/firebase-appcheck/test-app/test-app.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ dependencies {
4040
implementation 'com.google.android.gms:play-services-tasks:18.0.1'
4141

4242
// Firebase dependencies
43-
implementation project(':firebase-common')
44-
implementation project(':firebase-components')
4543
implementation project(":appcheck:firebase-appcheck")
4644
implementation project(":appcheck:firebase-appcheck-debug")
4745
implementation project(":appcheck:firebase-appcheck-interop")

0 commit comments

Comments
 (0)