Hi,
Here are the packages I have in my pubspec.yaml file.
Purchases] - DEBUG: Debug logging enabled
gPurchases] - DEBUG: SDK Version - 3.12.3
Purchases] - DEBUG: Initial App User ID - (null)
APurchases] - DEBUG: Sending latest PurchaserInfo to delegate.
rPurchases] - DEBUG: Delegate set
.Purchases] - DEBUG: There are no requests currently running, starting request GET /subscribers/1634905166007
tPurchases] - DEBUG: API request started: GET /v1/subscribers/1634905166
rPurchases] - DEBUG: API request started: GET /v1/subscribers/1634905166/offerings
GPurchases] - DEBUG: API request completed with status: GET /v1/subscribers/1634905166/offerings 304
cPurchases] - DEBUG: Requesting products from the store with identifiers: {(
"product_1",
"product_2",
"product_3",
"product_4",
"product_5",
"product_6"
)}
oPurchases] - DEBUG: API request completed with status: GET /v1/subscribers/1634905166007 304
IPurchases] - DEBUG: Serial request done: GET /subscribers/1634905166007, 0 requests left in the queue
flutter:
Init Platform State RevenueCat - DONE!
flutter:
Get offerings - RevenueCat
otcp] tcp_output CC4.1:3] flags=/R.] seq=2740821213, ack=1928912997, win=4095 state=CLOSED rcv_nxt=1928912997, snd_una=2740821136
kBackgroundTask] Background Task 12 ("SKProductsRequest"), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
flutter:
CALLING RevenueCat getRcOfferings() function now...
iPurchases] - DEBUG: API request started: GET /v1/subscribers/1634905166/offerings
/Purchases] - DEBUG: API request completed with status: GET /v1/subscribers/1634905166/offerings 304
2tcp] tcp_output tC5.1:3] flags=hR.] seq=2802284821, ack=658575777, win=4103 state=CLOSED rcv_nxt=658575777, snd_una=2802284744
As seen above, it lists the products in the beginning (and I do not really understand in which step it does that).
The line saying “CALLING RevenueCat getRcOfferings() function now...” is the place where getOfferings() function is called and the app hangs there while waiting… When I say hangs, it keeps waiting for this async call to complete.
Hoping that this additional information will help to get some help...