AdaptyError (code 1001) No In-App Purchases were found.
complete
Activity Feed
Sort by

Adapty Support
complete
R
Richard Nettleship
Hi, I am running this on a physical device but still getting the same error. I am using the following code: await Adapty.getPaywalls(forceUpdate: true); which produces the error. Apologies but I am new to this so not sure why its not getting the products
A
Adapty Support
Hi Richard! Can see the product configured so I'd expect that there is something about the SDK configuration. Is there a chance that you are testing it in an emulator?
OR you just using cached paywalls without needed synced info, so instead of
getPaywalls { (paywalls, products, state, error) in
self.paywalls = paywalls
}
you should use
getPaywalls { (paywalls, products, state, error) in
if state == .synced {
self.paywalls = paywalls
}
}
Hope it helps!