Skip to main content
Solved

flutter platform exception 16 - UNKNOWN_BACKEND_ERROR (apple only)


Forum|alt.badge.img+1

HI, trying to implement renewable subscription. followed the guide to the tee, I’m pretty sure. good news, android works 100%. tried on apple devices, doesnt work. using the sandbox account I set up on apple connect, it goes through, gives me the success blue checkmark, says your all set, and then a second later I get this black debug screen of death for about 3 seconds and disappears.

 

any help woould be appreciated,

 

thanks

 

 

Best answer by cody

Hello @Developer Dev,

As mentioned in the support ticket, you are sending a Google app API key for your iOS app during SDK configuration. You should be using an iOS app API key when building for iOS as shown in the sample code of our Configuring SDK docs: https://docs.revenuecat.com/docs/configuring-sdk

View original
Did this post help you find an answer to your question?
This post has been closed for comments

3 replies

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 501 replies
  • Answer
  • May 27, 2022

Hello @Developer Dev,

As mentioned in the support ticket, you are sending a Google app API key for your iOS app during SDK configuration. You should be using an iOS app API key when building for iOS as shown in the sample code of our Configuring SDK docs: https://docs.revenuecat.com/docs/configuring-sdk


Forum|alt.badge.img+1

@cody thank you! life saver! I had copied my google api key twice for both ios and android variablees.

Thank you!


Forum|alt.badge.img+2
  • New Member
  • 1 reply
  • June 20, 2022
cody wrote:

Hello @Developer Dev,

As mentioned in the support ticket, you are sending a Google app API key for your iOS app during SDK configuration. You should be using an iOS app API key when building for iOS as shown in the sample code of our Configuring SDK docs: https://docs.revenuecat.com/docs/configuring-sdk

You saved my day too, I’ve declined by Apple multiple times and never thought that API key was the problem 🤣


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings