Flutter: How to fix ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs

后端 未结 5 2140
生来不讨喜
生来不讨喜 2021-02-06 22:35

When submitting my latest build, Apple suddenly returned a message saying that there was an issue, specifically:

ITMS-90809: Deprecated API Usage - Apple

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-06 23:08

    In my case the problem was the version of the Facebook plugin for Flutter that I was using in debug

    I had to change the version from:

    flutter_facebook_login: ^2.0.1
    

    to:

    flutter_facebook_login: ^3.0.0
    

    Also had to change the pod file from:

    pod 'FBSDKCoreKit', '~> 4.39.1'
    pod 'FBSDKLoginKit', '~> 4.39.1'
    

    to:

    pod 'FBSDKCoreKit', '~> 5.5'
    pod 'FBSDKLoginKit', '~> 5.5'
    

    Then another problem became with the call of this function

    fbLogin.logInWithReadPermissions(['email']);
    

    just replaced with

    fbLogin.logIn(['email']);
    

    then rebuild everything, and upload again.

提交回复
热议问题