podverse-rn icon indicating copy to clipboard operation
podverse-rn copied to clipboard

Enable Chapter Art GIFs in the Android Version of Podverse

Open linkinparkrulz opened this issue 1 year ago • 11 comments

Is your feature request related to a problem? Please describe.

On desktop and iOS, Chapter Art GIFs show up great and do as intended. But, on the Android version, these images don't function.

Describe the solution you'd like

Emulate the performance of the desktop and iOS products on the android side.

linkinparkrulz avatar Mar 02 '24 10:03 linkinparkrulz

probably just need this: https://github.com/lovegaoshi/azusa-player-mobile/blob/9345b33f61b2576b9923bbec76533579e9cf3b79/android/app/build.gradle#L143

lovegaoshi avatar Mar 04 '24 20:03 lovegaoshi

Wow, that would be solid if that's all that's needed.

Sent from Proton Mail mobile

-------- Original Message -------- On Mar 4, 2024, 2:52 p.m., lovegaoshi wrote:

probably just need this: https://github.com/lovegaoshi/azusa-player-mobile/blob/9345b33f61b2576b9923bbec76533579e9cf3b79/android/app/build.gradle#L143

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

linkinparkrulz avatar Mar 04 '24 21:03 linkinparkrulz

probably just need this: https://github.com/lovegaoshi/azusa-player-mobile/blob/9345b33f61b2576b9923bbec76533579e9cf3b79/android/app/build.gradle#L143

So if you make the plugin calls and just insert:

dependencies {

// For animated GIF support
implementation 'com.facebook.fresco:animated-gif:2.5.0'

// For WebP support, including animated WebP
implementation 'com.facebook.fresco:animated-webp:2.5.0'
implementation 'com.facebook.fresco:webpsupport:2.5.0'

implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:support-annotations:28.0.0'
implementation 'com.android.support:design:28.0.0'

// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")

implementation("com.facebook.react:flipper-integration")
if (hermesEnabled.toBoolean()) {
    implementation("com.facebook.react:hermes-android")
} else {
    implementation jscFlavor
}

}

in the build.gradle it should be good to go?

linkinparkrulz avatar Mar 07 '24 11:03 linkinparkrulz

just thr animated gif one should do the trick. otherwide let me know the episode name

On Thu, Mar 7, 2024, 3:36 AM Linkinparkrulz @.***> wrote:

probably just need this: https://github.com/lovegaoshi/azusa-player-mobile/blob/9345b33f61b2576b9923bbec76533579e9cf3b79/android/app/build.gradle#L143

So if you make the plugin calls and just insert:

dependencies {

// For animated GIF support implementation 'com.facebook.fresco:animated-gif:2.5.0'

// For WebP support, including animated WebP implementation 'com.facebook.fresco:animated-webp:2.5.0' implementation 'com.facebook.fresco:webpsupport:2.5.0'

implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:support-annotations:28.0.0' implementation 'com.android.support:design:28.0.0'

// The version of react-native is set by the React Native Gradle Plugin implementation("com.facebook.react:react-android")

implementation("com.facebook.react:flipper-integration") if (hermesEnabled.toBoolean()) { implementation("com.facebook.react:hermes-android") } else { implementation jscFlavor }

}

in the build.gradle it should be good to go?

— Reply to this email directly, view it on GitHub https://github.com/podverse/podverse-rn/issues/2146#issuecomment-1983323636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZMOVVRLZGMWRT7CAFJVWSTYXBGL3AVCNFSM6AAAAABEDAFNSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBTGMZDGNRTGY . You are receiving this because you commented.Message ID: @.***>

lovegaoshi avatar Mar 08 '24 15:03 lovegaoshi

Yeah, i convert everything to gifs, so you're right with excluding the other stuff.

an example you could go see on desktop or iOS would be here:

https://podverse.fm/episode/gkpNDt8zG

linkinparkrulz avatar Mar 08 '24 22:03 linkinparkrulz

Also @lovegaoshi is there a spot i can reach you more frequently?

linkinparkrulz avatar Mar 08 '24 22:03 linkinparkrulz

did u try building it? with the dependency gif now works on my end. care to submit a PR? image and im on PV's discord. though the other devs are at

our primary dev channel is on Matrix and we recommend moving discussion there for the largest dev community participation https://matrix.to/#/#podverse-space:matrix.org

lovegaoshi avatar Mar 12 '24 14:03 lovegaoshi

I have not tried building it, but that's probably more so because I haven't touched android app development just websites/PWA's is my threshold atm. BUT this is awesome!!

Would you like me to submit the PR? I would but i'm just not familiar with the github process at the moment. Happy to learn though.

linkinparkrulz avatar Mar 13 '24 11:03 linkinparkrulz

I went ahead and did it, still would be great if you'd like to learn the process:D PV is an OSS and benefits a lot from contributors

lovegaoshi avatar Mar 13 '24 16:03 lovegaoshi

Nice work! Yeah I'm gonna try it out, I think I have a pull request that would work well and be an easy task to learn with.

linkinparkrulz avatar Mar 14 '24 12:03 linkinparkrulz

this should be in v4.16.0

mitchdowney avatar Apr 04 '24 00:04 mitchdowney