Hey there,
I have the same problem here, but I double checked, my Bundle ID is set in Xcode, and is the same in Revenue Cat & Apple Store Connect. I’m using my phone to test via VSCode Capacitor plugin. I’m using Capacitor 6 (I forced the npm install).
I’m using:
const products = await Purchases.getProducts(
b"ID1", "ID2"],
"inapp"
);
And I always get result : Error: Must provide productIdentifiers parameter
I have set the app with Capacitor & Ionic Vue.
I’m stuck here, I tried a couple of thing in the forum, but nothing seem to work.
Thanks in advance for an help.
Resolved! I needed to correctly update the Bundle ID in XCode to match that in App Store Connect.
Hi! Could you share the debug logs that reproduce this? You can enable debug logs by following this guide.
My debug logs look like this:
0 {logLevel: "DEBUG", message: " No cached Offerings, fetching from network"}
1 {message: " Network operation 'GetOfferingsOperation' found…e cache key 'GetOfferingsOpe…'. Skipping request.", logLevel: "DEBUG"}
2 {logLevel: "DEBUG", message: " There are no requests currently running, starti……/offerings"}
3 {message: " API request started: GET '/v1/subscribers/…/offerings'", logLevel: "DEBUG"}
4 {logLevel: "DEBUG", message: " API request completed: GET '/v1/subscribers/…/offerings' (304)"}
5 {logLevel: "DEBUG", message: " No existing products cached, starting store products request for: ,\"sub365\"]"}
6 {message: " Found an existing request for products: \”sub365\"], appending to completion", logLevel: "DEBUG"}
7 {logLevel: "DEBUG", message: " GetOfferingsOperation: Finished"}
8 {message: " Serial request done: GET /v1/subscribers/…/offerings, 0 requests left in the queue", logLevel: "DEBUG"}
9 {logLevel: "DEBUG", message: " GetCustomerInfoOperation: Started"}
10 {logLevel: "DEBUG", message: " There are no requests currently running, starti…"}
11 {logLevel: "DEBUG", message: " API request started: GET '/v1/subscribers/…”}
12 {logLevel: "DEBUG", message: " Store products request received response"}
13 {message: " Store products request finished", logLevel: "DEBUG"}
14 {message: " Error fetching offerings - The operation coul…ormation: https://rev.cat/why-are-offerings-empty", logLevel: "ERROR"}
15 {message: " Error fetching offerings - The operation coul…ormation: https://rev.cat/why-are-offerings-empty", logLevel: "ERROR"}
16 {logLevel: "ERROR", message: " There is an issue with your configuration. Ch…ormation: https://rev.cat/why-are-offerings-empty"}
17 {logLevel: "DEBUG", message: " API request completed: GET '/v1/subscribers/…’ (304)"}
18 {message: " CustomerInfo updated from network.", logLevel: "DEBUG"}
19 {message: " GetCustomerInfoOperation: Finished", logLevel: "DEBUG"}
20 {logLevel: "DEBUG", message: " Serial request done: GET /v1/subscribers/… 0 requests left in the queue"}
Thanks for any help you can offer!
Hi! Could you share the debug logs that reproduce this? You can enable debug logs by following this guide.