CrossGeeks / FacebookClientPlugin

Facebook Client Plugin for Xamarin iOS and Android
MIT License
106 stars 32 forks source link

App Store Deprecated API Usage #69

Closed LeonardoPatti closed 4 years ago

LeonardoPatti commented 4 years ago

Hello I have found one issue, after I submitted the app on applestore I received an email with this informations:

ITMS-90809: Deprecated API Usage - Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Bug Information

Version Number of Plugin: 2.2.1 Device Tested On: iPhone 8 Simulator Tested On: iPhone 8 Version of VS: 8.5.2 (build 13) Version of Xamarin: 13.16.0.13 Versions of other things you are using:

=== Visual Studio Community 2019 for Mac ===

Version 8.5.2 (build 13) Installation UUID: c0d4e237-8159-4e2d-83d2-4d5d4b53171e GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 6.14.1.39 (d16-5 / 30e8706b4)

Package version: 608000123

=== Mono Framework MDK ===

Runtime: Mono 6.8.0.123 (2019-10/1d0d939dc30) (64-bit) Package version: 608000123

=== Xamarin Designer ===

Version: 16.5.0.471 Hash: 35aa4889d Branch: remotes/origin/d16-5 Build date: 2020-02-25 00:52:08 UTC

=== Roslyn (Language Service) ===

3.5.0-beta4-20125-04+1baa0b3063238ed752ad1f0368b1df6b6901373e

=== NuGet ===

Version: 5.4.0.6315

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/3.1.200/Sdks SDK Versions: 3.1.200 3.1.102 3.1.101 3.1.100 3.1.100-preview2-014569 3.0.100 3.0.100-rc1-014190 3.0.100-preview9-014004 3.0.100-preview8-013656 2.2.300 2.2.107 2.2.102 2.1.505 2.1.302 MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.8.0/lib/mono/msbuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 3.1.2 3.1.1 3.1.0 3.1.0-preview2.19525.6 3.0.0 3.0.0-rc1-19456-20 3.0.0-preview9-19423-09 2.2.5 2.2.1 2.1.16 2.1.15 2.1.14 2.1.13 2.1.9 2.1.2

=== Xamarin.Profiler ===

'/Applications/Xamarin Profiler.app' not found

=== Updater ===

Version: 11

=== Apple Developer Tools ===

Xcode 11.4 (16134) Build 11E146

=== Xamarin.Mac ===

Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.

=== Xamarin.iOS ===

Version: 13.16.0.13 (Visual Studio Community) Hash: b75deaf82 Branch: d16-5-xcode11.4 Build date: 2020-04-01 21:33:19-0400

=== Xamarin.Android ===

Version: 10.2.0.100 (Visual Studio Community) Commit: xamarin-android/d16-5/988c811 Android SDK: /Users/leonardo/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 8.1 (API level 27)

SDK Tools Version: 26.1.1 SDK Platform Tools Version: 29.0.6 SDK Build Tools Version: 29.0.2

Build Information: Mono: c0c5c78 Java.Interop: xamarin/java.interop/d16-5@fc18c54 ProGuard: xamarin/proguard/master@905836d SQLite: xamarin/sqlite/3.28.0@46204c4 Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-5@9f4ed4b

=== Microsoft Mobile OpenJDK ===

Java SDK: /Users/leonardo/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25 1.8.0-25 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL

=== Android SDK Manager ===

Version: 16.5.0.39 Hash: 6fb4c79 Branch: remotes/origin/d16-5 Build date: 2020-04-02 00:16:12 UTC

=== Android Device Manager ===

Version: 16.5.0.71 Hash: 49194e8 Branch: remotes/origin/d16-5~1 Build date: 2020-04-02 00:16:32 UTC

=== Xamarin Inspector ===

Version: 1.4.3 Hash: db27525 Branch: 1.4-release Build date: Mon, 09 Jul 2018 21:20:18 GMT Client compatibility: 1

=== Build Information ===

Release ID: 805020013 Git revision: 90b766333e562018f979de04293c097898dafdf4 Build date: 2020-04-02 10:35:07-04 Build branch: release-8.5 Xamarin extensions: 90b766333e562018f979de04293c097898dafdf4

=== Operating System ===

Mac OS X 10.15.3 Darwin 19.3.0 Darwin Kernel Version 19.3.0 Thu Jan 9 20:58:23 PST 2020 root:xnu-6153.81.5~1/RELEASE_X86_64 x86_64

=== Enabled user installed extensions ===

MvvmCross Template pack 2.1.0

rdelrosario commented 4 years ago

Are you using Xamarin Forms? If so please check:

https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/

LeonardoPatti commented 4 years ago

Yes, I'm using XF I already followed this guide but this solve only the dependency in Xamarin.Foms.iOS (mono), after installed FacebookClientPlugin I'm getting this 3 libraries with dependency with UIWeb FBSDKCoreKit FBSDKLoginKit FBSDKShareKit

rdelrosario commented 4 years ago

This plugin is using the latest Facebook SDK NuGet version released by Xamarin which doesn't use the UIWebView anymore. I just released an application using this and didn't got the warning. Might be other library you are using

MobilyteApps commented 4 years ago

Hi rdelrosario ,

No, i have used same for google and facebook login with using Plugin.GoogleClient; -- Version 2.2.1 using Plugin.FacebookClient; -- Version 1.1.1

I have faced same problem

TMS-90809: Deprecated API Usage - Apple will no longer accept submissions of new apps that use UIWebView as of April 30, 2020 and app updates that use UIWebView as of December 2020. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

MobilyteApps commented 4 years ago

Hi LeonardoPatti ,

Is there any solution for removing the Deprecated API message.

LeonardoPatti commented 4 years ago

Hello @MobilyteApps try to remove bin/obj folder and update your solution with the latest version of XF (4.6) after that setup using https://devblogs.microsoft.com/xamarin/uiwebview-deprecation-xamarin-forms/ and submit the app again to apple

MobilyteApps commented 4 years ago

Hi LeonardoPatti, Actually i am using Xamrin forms 4.6.0.726 its latest now. Can you please update me which version of Plugin.FacebookClient and Plugin.GoogleClient have you used.. Thanks

LeonardoPatti commented 4 years ago

@MobilyteApps I'm using only: using Plugin.FacebookClient; -- Version 2.2.1

MobilyteApps commented 4 years ago

@LeonardoPatti:- Same I have used.

MobilyteApps commented 4 years ago

@LeonardoPatti :- Have you used plugin.facebook ? and yes which version did yo used. Actually i am having same issue..

LeonardoPatti commented 4 years ago

Yes I used plugin.FacebookClient v 2.2.1 also I update all the rest of my nuget packages to the latest version

MobilyteApps commented 4 years ago

did you use only plugin.facebook ?

LeonardoPatti commented 4 years ago

also XF 4.6.0.726

MobilyteApps commented 4 years ago

Thanks it workes for facebook will let you know if google workes..