Skip to content

Commit a5a12c8

Browse files
committed
Minor changes to Flix Sample documentation to improve clarity of the requirements
1 parent f196b19 commit a5a12c8

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- https://github.com/ndtp/android-testify/pull/251 - A collection of updates to allow the tests to run on modern Apple hardware.
66
- https://github.com/ndtp/android-testify/pull/249 - Fix for #243, `expected to be of type static` errors related to TestStorage API changes
77
- https://github.com/ndtp/android-testify/pull/252 - Fix for #250: Correct error in GMD documentation
8+
- Minor changes to Flix Sample documentation to improve clarity of the requirements
89

910
## 3.2.1
1011

Samples/Flix/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ The information and images displayed are provided by themoviedb.org.
99
There are two types of API keys. This app makes use of the V4 style key that has the format:
1010
"Bearer keymaterial".
1111
2. Create or edit `local.properties`
12-
3. Add `TMDB_API_KEY=<<your-api-key>>`
12+
3. Update the `defaultPropertiesFileName` value in the `build.gradle` to point to your `local.properties` file
13+
3. Add `TMDB_API_READ_ACCESS_BEARER_TOKEN=Bearer <<your-api-read-access-token>>`
1314

1415
## Building
1516

Samples/Flix/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ android {
6767
excludes += '/META-INF/{AL2.0,LGPL2.1}'
6868
}
6969
}
70+
71+
lintOptions {
72+
disable 'UseTomlInstead'
73+
}
7074
}
7175

7276
// Allow references to generated code
@@ -80,7 +84,7 @@ dependencies {
8084

8185
// Core Android
8286
implementation 'androidx.core:core-ktx:1.10.1'
83-
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.8.1"
87+
implementation "androidx.lifecycle:lifecycle-runtime-compose:2.8.7"
8488
implementation "androidx.appcompat:appcompat:1.7.0"
8589

8690
// UI Layer

Samples/Flix/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<!-- TMDB_API_KEY must be specified in local.properties -->
2020
<!-- TMDB_API_KEY = "Bearer ..." -->
21-
<meta-data android:name="com.flix.tmdb.api.key" android:value="${TMDB_API_KEY}" />
21+
<meta-data android:name="com.flix.tmdb.api.key" android:value="${TMDB_API_READ_ACCESS_BEARER_TOKEN}" />
2222

2323
<activity
2424
android:name=".main.MainActivity"

local.defaults.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
TMDB_API_KEY=https://developer.themoviedb.org/reference/intro/getting-started
1+
# See https://developer.themoviedb.org/reference/intro/getting-started
2+
TMDB_API_READ_ACCESS_BEARER_TOKEN=Bearer eXampl3.9JrFE73Ol1xQG96BwKhfoKROqhQEpVjA.1ymPtlhkrHVW1daFU6RCcBhQz8xqSFum.48e31jRwikwHDdyD0JYYnFlCpBQ93jAW

0 commit comments

Comments
 (0)