Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecation warnings #75

Open
laurent-humbert opened this issue Apr 2, 2019 · 0 comments
Open

deprecation warnings #75

laurent-humbert opened this issue Apr 2, 2019 · 0 comments

Comments

@laurent-humbert
Copy link

I have updated my Flutter app to use AndroidX, and I switched to flutter_inappbrowser 1.1.1

It builds, it runs, but I do get a lot of deprecation warnings, like the ones below. Is this normal ?

Thanks;

/Users/lh/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappbrowser-1.1.1/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebViewClient.java:11: warning: [deprecation] CookieSyncManager in android.webkit has been deprecated
import android.webkit.CookieSyncManager;
^
/Users/lh/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappbrowser-1.1.1/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/MyCookieManager.java:6: warning: [deprecation] CookieSyncManager in android.webkit has been deprecated
import android.webkit.CookieSyncManager;
^
/Users/lh/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappbrowser-1.1.1/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppBrowserActivity.java:349: warning: [deprecation] capturePicture() in WebView has been deprecated
Picture picture = webView.capturePicture();
^
/Users/lh/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappbrowser-1.1.1/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebView.java:176: warning: [deprecation] removeSessionCookie() in CookieManager has been deprecated
CookieManager.getInstance().removeSessionCookie();
^
/Users/lh/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappbrowser-1.1.1/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebView.java:276: warning: [deprecation] removeAllCookie() in CookieManager has been deprecated
CookieManager.getInstance().removeAllCookie();
^
/Users/lh/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappbrowser-1.1.1/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebView.java:287: warning: [deprecation] capturePicture() in WebView has been deprecated
Picture picture = capturePicture();
^
/Users/lh/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappbrowser-1.1.1/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebView.java:334: warning: [deprecation] removeSessionCookie() in CookieManager has been deprecated
CookieManager.getInstance().removeSessionCookie();
^
/Users/lh/FlutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappbrowser-1.1.1/android/src/main/java/com/pichillilorenzo/flutter_inappbrowser/InAppWebView/InAppWebViewClient.java:105: warning: [deprecation] shouldOverrideUrlLoading(WebView,String) in WebViewClient has been deprecated
public boolean shouldOverrideUrlLoading(WebView webView, String url) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant