Skip to content

Commit 8fde8c2

Browse files
authored
chore(android): minor CameraX, Recyclerview library update (#13926)
1 parent e35d753 commit 8fde8c2

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,25 @@ After you've made the changes and compiled the SDK make sure to run the test sui
269269

270270
Some modules like ti.map or ti.facebook are included with the SDK. To update to the latest versions you have to edit the links in `support/module/packaged/modules.json` and run `node build/scons-modules-integrity.js`. This will download the files and update the integrity values.
271271

272+
### Update Android libraries
273+
The `/android/titanium/build.gradle` file contains various Android libraries that are used in the SDK. If you want to update them check the corresponding release pages:
274+
* https://developer.android.com/jetpack/androidx/releases/recyclerview
275+
* https://developer.android.com/jetpack/androidx/releases/swiperefreshlayout
276+
* https://developer.android.com/jetpack/androidx/releases/camera
277+
* https://developer.android.com/jetpack/androidx/releases/transition
278+
* https://developer.android.com/jetpack/androidx/releases/vectordrawable
279+
* https://developer.android.com/jetpack/androidx/releases/viewpager
280+
* https://developer.android.com/jetpack/androidx/releases/cardview
281+
* https://developer.android.com/jetpack/androidx/releases/drawerlayout
282+
* https://developer.android.com/jetpack/androidx/releases/exifinterface
283+
* https://developer.android.com/jetpack/androidx/releases/media
284+
for a new version and change the number in the build.gradle file. Some version numbers are managed inside `/android/templates/build/ti.constants.gradle`. After that build the SDK and run `npm run test` to see if everything is still running. Building Kitchensink, Hyperloop-examples and a custom app is also helpful.
285+
286+
### Documentation
287+
288+
If you want to help updating and improving the documentation you can checkout the repository and edit the files in `/apidoc/`. Those files are shown in the API documentation at https://titaniumsdk.com/api/ and include all methods, properties, examples and so on. After you made changes run `npm run lint:docs` to see if your changes produce a valid documentation. The PR commit title you create should start with `docs: ` and a proper title like: `docs: updated textfield examples`.
289+
All other documentation files (e.g. the guides) are located in the https://github.com/tidev/titanium-docs repository. In case you want to update guides, tutorials or spelling mistakes you clone that repo and follow the README file inside the main folder.
290+
272291
## Contributing
273292

274293
Interested in contributing? There are several ways you can help contribute to this project.

android/titanium/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ dependencies {
254254
implementation 'androidx.exifinterface:exifinterface:1.3.6'
255255
implementation "androidx.fragment:fragment:${project.ext.tiAndroidXFragmentLibVersion}"
256256
implementation 'androidx.media:media:1.6.0'
257-
implementation 'androidx.recyclerview:recyclerview:1.3.0'
257+
implementation 'androidx.recyclerview:recyclerview:1.3.1'
258258
implementation 'androidx.recyclerview:recyclerview-selection:1.1.0'
259259
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
260260
implementation 'androidx.transition:transition:1.4.1'
@@ -281,7 +281,7 @@ dependencies {
281281
implementation fileTree(dir: 'lib', include: ['*.jar'])
282282

283283
// CameraX
284-
def camerax_version = '1.2.2'
284+
def camerax_version = '1.2.3'
285285
implementation "androidx.camera:camera-core:$camerax_version"
286286
implementation "androidx.camera:camera-camera2:$camerax_version"
287287
implementation "androidx.camera:camera-video:$camerax_version"

0 commit comments

Comments
 (0)