From 06a10ffeb34af3d8d4407d300bf1a539fac6c96d Mon Sep 17 00:00:00 2001 From: Georgios Papadakis Date: Wed, 10 Sep 2025 15:08:55 +0300 Subject: [PATCH 1/2] Update README with expo-build-properties usage Added instructions for using expo-build-properties plugin. --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index aac55fa..28a1a78 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,28 @@ Follow these steps to add the library to your Android project: url 'https://mvn.jwplayer.com/content/repositories/releases/' } ``` +Alternative to the above, so that you don't have to re-add it to android/build.grade every time you do a prebuild --clean with EXPO, + install expo-build-properties plugin: +``npx expo install expo-build-properties``` + +and then add to app.json +``` + "plugins": [ + ... (your other plugins go here) + [ + "expo-build-properties", + { + "android": { + "extraMavenRepos": [ + { + "url": "https://mvn.jwplayer.com/content/repositories/releases/" + } + ] + } + } + ] + ], +``` For more details and guidance regarding configuration and requirements, see the [JWP Android SDK documentation](https://docs.jwplayer.com/players/docs/android-overview#requirements). From 34490131a71f17dd9de0a5cce69332b11bfac398 Mon Sep 17 00:00:00 2001 From: Georgios Papadakis Date: Thu, 11 Sep 2025 10:13:41 +0300 Subject: [PATCH 2/2] Update README with better explanation about expo-build-properties --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 28a1a78..66bcea1 100644 --- a/README.md +++ b/README.md @@ -48,9 +48,12 @@ Follow these steps to add the library to your Android project: url 'https://mvn.jwplayer.com/content/repositories/releases/' } ``` -Alternative to the above, so that you don't have to re-add it to android/build.grade every time you do a prebuild --clean with EXPO, - install expo-build-properties plugin: -``npx expo install expo-build-properties``` +If you are using EXPO, then an alternative way to the above +so that you don't have to re-add it to android/build.grade every time you do: +```npx expo prebuild --clean`` + +Install expo-build-properties plugin: +```npx expo install expo-build-properties``` and then add to app.json ```