Skip to main content
Answer

flutter platform exception 16 - UNKNOWN_BACKEND_ERROR (apple only)

  • May 27, 2022
  • 3 replies
  • 151 views

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

This post has been closed for comments

3 replies

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 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
  • Author
  • New Member
  • May 27, 2022

@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+3
  • New Member
  • June 20, 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

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