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

bump js version from 0.6.4 to 0.7.1 #2088

Open
2 tasks done
danbeechbloom opened this issue Apr 2, 2024 · 13 comments
Open
2 tasks done

bump js version from 0.6.4 to 0.7.1 #2088

danbeechbloom opened this issue Apr 2, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@danbeechbloom
Copy link

  • I have read the Getting Started section
  • 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 danbeechbloom added the bug Something isn't working label Apr 2, 2024
Copy link

github-actions bot commented Apr 2, 2024

👋 @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!

@dreyescabrera
Copy link

This is a serious problem

@tigrenok00
Copy link

I have the same issue

@tigrenok00
Copy link

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?

@hellohejinyu
Copy link

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.

@romatallinn
Copy link

romatallinn commented Apr 16, 2024

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).

@tigrenok00
Copy link

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

@tigrenok00
Copy link

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

@manikandanvgts
Copy link

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.

@k00na
Copy link

k00na commented Jun 13, 2024

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

@maxmiranda
Copy link

Same issue conflicting with the flutter_branch_sdk

@maplepam
Copy link

maplepam commented Jul 5, 2024

would love this one to be updated as well please

@sowmitri123
Copy link

Any update on this??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants