Solved

flutter platform exception 16 - UNKNOWN_BACKEND_ERROR (apple only)

  • 27 May 2022
  • 3 replies
  • 24 views

Badge

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

 

 

icon

Best answer by cody 27 May 2022, 14:59

View original

3 replies

Userlevel 5
Badge +8

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

Badge

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

Thank you!

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 🤣

Reply