Revenuecat products are null while testing and trying to design paywall - flutter

Trying to design the paywall following the example flutter app provided by RevenueCat and when I configure the offering are always null.
Running version purchases_flutter: ^1.1.1
Offerings.current = NULL <- this is my problem.
In Google console the app ids are: com.sampleapp.moments.1month, com.sampleapp.moments.yearly and are both active.
How can I go about testing and designing a paywall page if the offerings are null? How can I get this to work?
Error code, following the example: https://github.com/RevenueCat/purchases-flutter/blob/develop/example/lib/main.dart
[ ] D/[Purchases] - DEBUG(14481): Requesting products with identifiers: com.sampleapp.moments.1month, com.appname.moments.yearly
[ +82 ms] D/[Purchases] - DEBUG(14481): Products request finished for com.sampleapp.moments.1month, com.sampleapp.moments.yearly
[ ] D/[Purchases] - DEBUG(14481): Retrieved skuDetailsList:
[ ] D/[Purchases] - DEBUG(14481): Requesting products with identifiers: com.sampleapp.moments.1month, com.sampleapp.moments.yearly
[ ] D/[Purchases] - DEBUG(14481): Products request finished for com.sampleapp.moments.1month, com.sampleapp.moments.yearly
[ ] D/[Purchases] - DEBUG(14481): Retrieved skuDetailsList:
[+3804 ms] D/[Purchases] - DEBUG(14481): Vending purchaserInfo from cache
[ +99 ms] D/[Purchases] - DEBUG(14481): Vending offerings from cache

If your products, offerings, or packages are empty it's most likely related to a configuration or setup issue in Apple/Google.
On Android, you need to publish your app to a closed track before you can fetch any products or test purchases - that could be what's going on here.
There is a a handy guide here that outlines the common reasons for this here: https://support.revenuecat.com/hc/en-us/articles/360041793174-Why-are-my-products-offerings-or-available-packages-empty-

Related

how to configure the bundle extension in Firebase on Flutter project

I am currently trying to build the pipeline for serving a bundle of data in my project and I can't make it work even by reading the step by step documentation that firebase gives us.
I have followed the documentation and was able to create a bundle through this documentation:
https://firebase.google.com/docs/extensions/official/firestore-bundle-builder
But when I get to the documentation on building and serving the bundle, things start to falling apart since I cannot find complete resources explaining how to implement it
So that is how I implemented it:
{
"functions": [
{
something
"ignore": [
something
],
something
]
}
],
"hosting": {
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "/bundles/*",
"function": "ext-firestore-bundle-builder-serve"
}
]
}
}
Is it in the right level or not ? No idea... but that's what I did and I deployed it successfully.
Now, in the client integration part:
import { loadBundle } from "firebase/firestore";
// Download the bundle from the Firebase Hosting CDN:
const bundle = await fetch("/bundles/:bundleId");
// If not using a CDN, download the bundle directly:
// const bundle = await fetch('https://<location>-<project-id>.cloudfunctions.net/ext-firestore-bundle-builder-serve/:bundleId');
await loadBundle(bundle);
I do not know again how to implement it since the import give me an error, and every functions too.
I'd appreciate your help.
I am not new with firebase and I am not that bad at finding the documentation in order to understand but I don't know if the SEO is not good or the documentation not complete and will be completed but I failed to find it..
Thanks for your time

Artifactory X-ray Database sync got stuck at "calculating"

My artifactory, x-ray, and database services are up and running
while i am doing online database sync it got stuck at 99% and not moving forward.
And I have restarted the database sync again. Still database sync is stuck at calculating state.
please see the attached screenshot
getting below error in the logs
2022-01-24T14:14:21.715Z [33m[jfxan][0m [1m[31m[ERROR][0m [90b51099218cab1d] [grpc_utils:32 ] [main ] (--wrapper--)Refreshing [permissions cache invalidation Internal] gRPC stream - got an error (status code: %!s(MISSING)) - resubscribe expected
2022-01-24T14:39:21.742Z [33m[jfxan][0m [1m[31m[ERROR][0m [90b51099218cab1d] [grpc_utils:32 ] [main ] (--wrapper--)Refreshing [permissions cache invalidation Internal] gRPC stream - got an error (status code: %!s(MISSING)) - resubscribe expected
2022-01-24T14:49:21.762Z [33m[jfxan][0m [1m[31m[ERROR][0m [90b51099218cab1d] [grpc_utils:32 ] [main ] (--wrapper--)Refreshing [permissions cache invalidation Internal] gRPC stream - got an error (status code: %!s(MISSING)) - resubscribe expected
2022-01-24T14:54:21.782Z [33m[jfxan][0m [1m[31m[ERROR][0m [90b51099218cab1d] [grpc_utils:32 ] [main ] (--wrapper--)Refreshing [permissions cache invalidation Internal] gRPC stream - got an error (status code: %!s(MISSING)) - resubscribe expected
2022-01-24T15:04:21.806Z [33m[jfxan][0m [1m[31m[ERROR][0m [90b51099218cab1d] [grpc_utils:32 ] [main ] (--wrapper--)Refreshing [permissions cache invalidation Internal] gRPC stream - got an error (status code: %!s(MISSING)) - resubscribe expected
Please make sure that you are meeting the system requirements for Xray installation as listed here:
https://www.jfrog.com/confluence/display/JFROG/System+Requirements
For Global Database Online Synchronizing, If you are using a firewall, to allow the database sync to complete successfully, you need to add the following URLs to your firewall's whitelist:
https://releases.jfrog.io/
https://releases-cdn.jfrog.io
https://dl.bintray.com/
https://akamai.bintray.com
https://jxray.jfrog.io
To test the ability to sync, run the following REST API endpoint:
https://jxray.jfrog.io/api/v1/system/ping

Error when uploading a large number of files to FireBase Hosting

I'm trying to upload 19,941 files weighing 222 MB to FireBase Hosting. I log in as usual with firebase login, then initialize firebase init and deploy firebase deploy. But when deploying, an error occurs:
=== Deploying to 'wowonder-b514c'...
i deploying hosting
i hosting[wowonder-b514c]: beginning deploy...
i hosting[wowonder-b514c]: found 19760 files in public
⠹ hosting: adding files to version [16000/19760] (80%)
Error: Task index 10 failed: retries exhausted after 4 attempts, with error: Failed to make request to https://firebasehosting.googleapis.com/v1beta1/sites/wowonder-b514c/versions/9b27e5663b5d8853:populateFiles
Error: Task index 10 failed: retries exhausted after 4 attempts, with error: Failed to make request to https://firebasehosting.googleapis.com/v1beta1/sites/wowonder-b514c/versions/9b27e5663b5d8853:populateFiles
firebase.json:
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}

Signin failure for Huawei IAP via Unity Distribution Portal, in logs it says error code 907135001

We are trying to connect Huawei IAP via Unity Distribution Portal, but having an issue on “sign-in” stage w/ logs below. It says sign in failed w/ status 907135001. I tried to search on Huawei develop website but no any information for this error code. Any one can help?
2020-12-02 12:35:47.626 6980-6988/? I/UnityDistPlatform: [ HUAWEI] sign in failed , status : 997135001
2020-12-02 12:35:47.626 6980-6980/? I/UnityDistPlatform: [ HUAWEI] Setup finished.
2020-12-02 12:35:47.714 6982-6980/? I/UnityDistPlatform: [ HUAWEI] Init Fail: sign in failed
2020-12-02 12:35:47.721 6982-6980/? I/UnityDistPlatform: [ HUAWEI] UDP Version : v2.0.0
2020-12-02 12:35:47.722 6980-6980/? D/UnityDistPlatform: [ HUAWEI] DeviceId (android):c716ce5df161065a , Clientid : h2T5 - guv9QtkF095vyL5eQ
Old HMS core will have the issue. Please use the latest HMS Core version, which should resolve this issue. Please let me know if you still experience this issue with latest HMS Core.

No data in the PurchaserInfo object

Here are my logs when after initilizing I print(purchaserInfo.toString())
I think this might be why I am unable to see any products when I try to display them
D/[Purchases] - DEBUG(12538): Debug logging enabled.
D/[Purchases] - DEBUG(12538): SDK Version - 3.2.0
D/[Purchases] - DEBUG(12538): Initial App User ID - null
D/[Purchases] - DEBUG(12538): Identifying App User ID: aswq4Sdfaewradfgasfw
D/[Purchases] - DEBUG(12538): Deleting old synced subscriber attributes that don't belong to aswq4Sdfaewradfgasfw.
D/[Purchases] - DEBUG(12538): App foregrounded
D/[Purchases] - DEBUG(12538): PurchaserInfo cache is stale, updating caches
D/[Purchases] - DEBUG(12538): Offerings cache is stale, updating caches
D/[Purchases] - DEBUG(12538): [QueryPurchases] Skipping updating pending purchase queue since BillingClient is not connected yet
D/[Purchases] - DEBUG(12538): No subscriber attributes to synchronize.
D/[Purchases] - DEBUG(12538): Listener set
D/[Purchases] - DEBUG(12538): Sending latest purchaser info to listener
D/[Purchases] - DEBUG(12538): Starting connection for com.android.billingclient.api.BillingClientImpl#f8168e4
D/[Purchases] - DEBUG(12538): Vending purchaserInfo from cache
D/[Purchases] - DEBUG(12538): Vending purchaserInfo from cache
D/NetworkSecurityConfig(12538): No Network Security Config specified, using platform default
D/[Purchases] - DEBUG(12538): Billing Service Setup finished for com.android.billingclient.api.BillingClientImpl#f8168e4.
D/[Purchases] - DEBUG(12538): [QueryPurchases] Updating pending purchase queue
I/flutter (12538): PurchaserInfo{entitlements: EntitlementInfos{all: {}, active: {}}, latestExpirationDate: null, allExpirationDates: {}, allPurchaseDates: {}, activeSubscriptions: [], allPurchasedProductIdentifiers: [], firstSeen: 2020-07-06T03:12:21.000Z, originalAppUserId: aswq4Sdfaewradfgasfw, requestDate: 2020-07-07T00:29:14.000Z, originalApplicationVersion: null, originalPurchaseDate: null, managementURL: null}
This is running on Android using: purchases_flutter: ^1.1.1