Open becjit opened 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!
@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?
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: @.***>
@becjit Sorry, would you mind expanding on the firebase / okhttp2 dependency conflict issue? A couple other questions as well:
@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' } }
HI @Jethro87 did you get a chance?This is a dependency from firestore
@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.
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.
‼️ 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
[x] Output of
flutter doctor
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.4.1 23E224 darwin-arm64, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) [✓] Xcode - develop for iOS and macOS (Xcode 15.3) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.3) [✓] VS Code (version 1.89.1) [✓] Connected device (3 available) [✓] Network resources[x] Version of
purchases-flutter
purchases_flutter: ^6.29.2 purchases_ui_flutter: ^6.29.2[x] Testing device version e.g.: iOS 15.5, Android API 30, etc. sdk_gphone64_arm64 emulator android version 13
[x] How often the issue occurs- every one of your customers is impacted? Only in dev? everytime
[x] Debug logs that reproduce the issue E/RevenueCatUI( 6655): at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) E/RevenueCatUI( 6655): at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) E/RevenueCatUI( 6655): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) E/RevenueCatUI( 6655): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) E/RevenueCatUI( 6655): at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) E/RevenueCatUI( 6655): Caused by: java.lang.ClassNotFoundException: Didn't find class "okio.FileSystem" on path: DexPathList[[zip file "/data/app/
ny4NNlUtYUSLcwAYuzqVcQ==/in.shopifine.mynotes-9Pm7h7hnmZu3tMEOUPDvWg==/base.apk"],nativeLibraryDirectories=[/data/app/ny4NNlUtYUSLcwAYuzqVcQ==/in.shopifine.mynotes-9Pm7h7hnmZu3tMEOUPDvWg==/lib/arm64, /data/app/~~ny4NNlUtYUSLcwAYuzqVcQ==/in.shopifine.mynotes-9Pm7h7hnmZu3tMEOUPDvWg==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]] E/RevenueCatUI( 6655): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259) E/RevenueCatUI( 6655): at java.lang.ClassLoader.loadClass(ClassLoader.java:379) E/RevenueCatUI( 6655): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) E/RevenueCatUI( 6655): ... 18 more W/RevenueCatUI( 6655): Image failed to load. Will try again disabling cache[ ] Steps to reproduce, with a description of expected vs. actual behavior Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
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