How to connect to play store expo IAP with InAppPurchases.connectAsync()?

I am using expo bare to IAP. My InAppPurchases.connectAsync() doesn't connect to anything.

I am using expo --tunel and the connectAsync do IAP is undefined. It doesn't connect to anything and i can't console log what is happening. I had follow expo instructions about create a subscription and android permissions successfully at playstore dev console.

    export const getProductList = async () => {
      try {
        const history = await connectAsync()
        if (history.responseCode === IAPResponseCode.OK) {
          history.results.forEach(result => {
            console.log(result)
          })
        }
        const product = InAppPurchases.getProductsAsync(['SKU_1'])
        await disconnectAsync()
        return product
      } catch (e) {
        return e
      }
    }

I am receiving at catch this:

[TypeError: undefined is not an object (evaluating '_ExpoInAppPurchases.default.connectAsync')]

For some reason, the connection is not happening.

PS: Also it says that history doesn't have responseCode inside it.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum