flutter_inappwebview icon indicating copy to clipboard operation
flutter_inappwebview copied to clipboard

bump js version from 0.6.4 to 0.7.1

Open danbeechbloom opened this issue 2 years ago • 15 comments

  • [x] I have read the Getting Started section
  • [x] I have already searched for the same problem

Environment

Technology Version
Flutter version 3.21.0-14.0.pre.13
Plugin version ^6.0.0
Android version N/A
iOS version N/A
macOS version N/A
Xcode version N/A
Google Chrome version N/A

Device information: N/A

Description

js version is ^0.6.4, it needs to be updated to ^0.7.1 or this package pins the js version and blocks updates to other packages.

Expected behavior:

js version should not pin other packages to earlier versions.

Current behavior: js version pins packages to earlier js version, blocking updates

Steps to reproduce

  1. Add this package to your pubspec.yaml
  2. add another package that has updated their js version (e.g. mixpanel @ v2.3.0)
  3. flutter pub get

danbeechbloom avatar Apr 02 '24 13:04 danbeechbloom

👋 @danbeechbloom

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

github-actions[bot] avatar Apr 02 '24 13:04 github-actions[bot]

This is a serious problem

dreyescabrera avatar Apr 03 '24 22:04 dreyescabrera

I have the same issue

tigrenok00 avatar Apr 04 '24 08:04 tigrenok00

It is blocking us from upgrading flutter and other dependencies as there is no other good alternative to in app webview, can you please resolve this ASAP?

tigrenok00 avatar Apr 07 '24 05:04 tigrenok00

image

The js package provides support for the web platform. If your project does not use the web platform, you can override the js version through dependency_overrides, so that it will not affect the updates of other packages.

hellohejinyu avatar Apr 16 '24 01:04 hellohejinyu

If your project does not use the web platform, you can override the js version

Just for others to clarify this. At first I was hesitant, taking into account that this package is an in-app web browser, and I am using some js handlers, so was afraid to break something. But in the end, I looked up pubspec files and js is indeed included only in web-specific package. So it's indeed safe for flutter_inappwebview to override it if web isn't used (until a proper update is pushed).

MrLightful avatar Apr 16 '24 12:04 MrLightful

In our case we do use flutter web too, so the js dependency is needed and its blocking us from upgrading flutter currently

tigrenok00 avatar Apr 16 '24 12:04 tigrenok00

Please prioritize this guys, this preventing us from upgrading flutter for many months now!

tigrenok00 avatar May 21 '24 06:05 tigrenok00

I'm also having same problem. js version is ^0.6.4, it needs to be updated to ^0.7.1. Its conflicting the mixpanel package.

manikandanvgts avatar Jun 03 '24 04:06 manikandanvgts

@manikandanvgts , same issue here, it's conflicting the mixpanel package.

k00na avatar Jun 13 '24 11:06 k00na

Same issue conflicting with the flutter_branch_sdk

maxmiranda avatar Jul 01 '24 18:07 maxmiranda

would love this one to be updated as well please

maplepam avatar Jul 05 '24 14:07 maplepam

Any update on this??

sowmitri123 avatar Jul 10 '24 08:07 sowmitri123

same probleme

yelkamel avatar Aug 30 '24 09:08 yelkamel

@yelkamel @sowmitri123 @maplepam @maxmiranda @k00na @manikandanvgts @tigrenok00 @hellohejinyu @dreyescabrera @danbeechbloom just install the new forked package zikzak_inappwebview I just upgraded js to 0.7.1 there. Thx @MrLightful for pointing out

arrrrny avatar Sep 20 '24 13:09 arrrrny