RevenueCat / purchases-flutter

Flutter plugin for in-app purchases and subscriptions. Supports iOS, macOS and Android.
https://www.revenuecat.com/
MIT License
595 stars 162 forks source link

Image is not showing up in paywall #1089

Open becjit opened 1 month ago

becjit commented 1 month ago

‼️ Required data ‼️

Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.

There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!

Environment

Describe the bug

The image is not getting loaded while showing paywall

Additional context

Add any other context about the problem here. adding implementation 'com.squareup.okio:okio:3.9.0' in build.gradle did not solve

RCGitBot commented 1 month ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

Jethro87 commented 1 month ago

@becjit Thanks for logging this. Can you let me know which paywall template you're using? Also, have you tested this on iOS, and if so, do you see the same issue?

becjit commented 1 month ago

I did I think this because of firebase using a okhttp2.x . Purchases ui flutter looks like incompatible .

On Mon, 3 Jun 2024 at 11:22 PM, Jeffrey Bunn @.***> wrote:

@becjit https://github.com/becjit Thanks for logging this. Can you let me know which paywall template you're using? Also, have you tested this on iOS, and if so, do you see the same issue?

— Reply to this email directly, view it on GitHub https://github.com/RevenueCat/purchases-flutter/issues/1089#issuecomment-2145796007, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQ4MLW4JHHBOMPSSXQ7BHTZFSUM7AVCNFSM6AAAAABIRHCSXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVG44TMMBQG4 . You are receiving this because you were mentioned.Message ID: @.***>

Jethro87 commented 1 month ago

@becjit Sorry, would you mind expanding on the firebase / okhttp2 dependency conflict issue? A couple other questions as well:

becjit commented 1 month ago

@Jethro87 sure. Apologies for not being clear. I am using "Bengal" paywall template . Yes even in ios this happens because it seems to me the issue is tied to following line in the build.gradle

configurations.all { resolutionStrategy { force 'com.squareup.okhttp:okhttp:2.7.5' force 'com.squareup.okio:okio:1.17.5' } }

becjit commented 1 month ago

HI @Jethro87 did you get a chance?This is a dependency from firestore

Jethro87 commented 1 month ago

@becjit Apologies for the delay - our team is digging into this. You initially attached the Android debug logs, but would you mind attaching the debug logs from iOS as well?

Also, can you share the versions of the Firebase packages you're using? Is the okhttp2.x dependency only in the firebase/cloud-firestore package, or in other packages in your app as well? Thanks.

raskolnikov7 commented 2 weeks ago

Is there any update on this issue? In my android app developed with flutter, the paywall is not showing the icon. I am using the Sphynx template.