talkjs / talkjs-flutter

Flutter SDK for the TalkJS Chat API
https://talkjs.com
BSD 3-Clause "New" or "Revised" License
9 stars 14 forks source link

Update talkjs_flutter_inappwebview dependency #64

Closed Justian-CZ closed 1 month ago

Justian-CZ commented 2 months ago

Hi,

Would it be possible to update the dependency talkjs_flutter_inappwebview?

This fork is currently 202 commits behind and is causing issues for us when building with iOS 18.

bugnano commented 1 month ago

Hi, We're working on it, but it may take some days

Justian-CZ commented 1 month ago

Hi,

Thank you for the quick response!

We saw that the issues surrounding inappwebview and iOS18 are not yet resolved either: https://github.com/pichillilorenzo/flutter_inappwebview/issues/2278

rafalPiotrkowski commented 1 month ago

Hi, im facing the same problem when trying to run my app using Xcode 16. Ambiguous use of 'evaluateJavaScript(_:completionHandler:)' Is it possible to fix that issue ?

dawid-niedzwiecki commented 1 month ago

Same problem here, cannot update my app due to this issue. :(

vickz84259 commented 1 month ago

Hey there, my name is Victor. I’m a developer here at TalkJS. I just wanted to update you on the progress. We are looking to have this resolved hopefully by end of business today. Thank you for your patience.

vickz84259 commented 1 month ago

I'm back with another update. We have just released an update to talkjs_flutter_inappwebview (v6.0.9) that fixes the build issue. Make sure to run flutter pub upgrade in order to have this transitive dependency properly updated in your project.

Running flutter pub upgrade will also ensure that another transitive dependency, url_launcher_ios is updated to the latest version which fixes a similar build issue on Xcode 16 / iOS 18. ('UIApplication' does not conform to protocol 'Launcher')

After having all the necessary dependencies to their latest versions, you may still encounter the following build issue: Include of non-modular header inside framework module 'firebase_messaging.FLTFirebaseMessagingPlugin' related to Firebase Messaging. As of writing this, the issue hasn't been solved (Github Issue). However a workaround involves setting: Allow Non-modular Includes In Framework Modules to yes in your Xcode build settings.

vickz84259 commented 1 month ago

We shall be making another update to our fork later to bring it up to date with the main flutter inappwebview repository.

Thank you all for your patience and sorry for the inconveniences this issue caused.

rafalPiotrkowski commented 1 month ago

Is there any update on this problem?. Ive had it on Xcode 16 and iOS 18. Ive downgraded macOS to Sonoma and iOS to 17.7. Now in using Xcode 15.4 and im still getting errors about alkjs_flutter_inappwebview-6.0.9

vickz84259 commented 1 month ago

@rafalPiotrkowski The issue is resolved. I had left it open because the Firebase libraries hadn't released an update to fix the build issues on their end. But now I see that they released an update on the 26th that fixes the Xcode 16 / iOS 18 issues.

Could you create a new issue with the errors you are receiving if they are not the same as the ones listed in this thread? I'll be more than glad to help you resolve the issue at hand.