PaywallBuilder is not showing products in-app
complete
M
Mike
I am building a Flutter app and using the PaywallBuilder to create a Paywall. The paywall placement renders correctly in my app (although it is incredibly slow), but it is not displaying any of my products that I configured within the Google Developer console. I verified that the product IDs and base plan matches what I set in app. I have also run through instructions to setup the Android SDK and I believe that I ran through everything correctly. Some additional context is that I am running this via an emulator. Could that affect anything? I am not seeing any errors get raised in my debug logs so I am having trouble getting to the root cause of the problem.
A
Amina M, Adapty
Hello there! Thank you for reaching out to us.
Could you please confirm whether you followed all the steps outlined in this documentation: https://docs.adapty.io/docs/testing-on-android?
We find that following these steps meticulously from the start greatly improves testing success rates.
Additionally, it's important to note that testing on an emulator is not recommended as it may lead to unexpected errors. To ensure accurate testing, please use a real device for purchase testing.
Please let me know if that helped you, otherwise, I would assume that tax information might have caused the error.
Adapty Support
complete
M
Mike
Thanks for the reply, I will go through those instructions in detail and report back.
A
Amina M, Adapty
Hello there! Thank you for reaching out to us.
Could you please confirm whether you followed all the steps outlined in this documentation: https://docs.adapty.io/docs/testing-on-android?
We find that following these steps meticulously from the start greatly improves testing success rates.
Additionally, it's important to note that testing on an emulator is not recommended as it may lead to unexpected errors. To ensure accurate testing, please use a real device for purchase testing.
Please let me know if that helped you, otherwise, I would assume that tax information might have caused the error.
M
Mike
Update:
I migrated to an emulator that had access to Google Play Services (the only ones that have this are Nexus 5 and Nexus 5X). After signing in I tried again, but it still didn't work. I checked the debug logs and I received the following error message:
E/Adapty_v2.10.4(20283): ERROR: No In-App Purchase product identifiers were found.
E/Adapty_v2.10.4(20283): ERROR: UI v2.1.3 error: #25911694# loadProducts error: No In-App Purchase product identifiers were found.
I/flutter (20283): [AdaptyFlutter v2.10.1] - VERBOSE: [UI v2.1.2] handleIncomingCall paywall_view_did_fail_loading_products
I found the following Adapty help docs related to this specific error, but I believe that everything I have is set correctly. The only thing that I was not able to do was step 4:
Confirm that the app paid status is active in your Google tax settings. Ensure that your tax information is up-to-date and your certificates are valid.
My app is marked as free and has optional paid subscriptions and as such there are no options to access the paid app tax settings section. Is this possibly the source of the problem?
M
Mike
I did a bit more digging by enabling debug level logging and discovered the following errors:
E/Adapty_v2.10.4(18691): ERROR: Play Market request failed: Billing service unavailable on device.
I/flutter (18691): [AdaptyFlutter v2.10.1] - VERBOSE: [UI v2.1.2] handleIncomingCall paywall_view_did_fail_loading_products
E/Adapty_v2.10.4(18691): ERROR: UI v2.1.3 error: #189315498# loadProducts error: Play Market request failed: Billing service unavailable on device.
It seems related to being run via an emulator; however, I tried building a release .apk and installing it directly on my real device and it still failed, though I was unable to inspect the logs on my physical device so I am unsure if the error message changed.