appsflyer-flutter-plugin icon indicating copy to clipboard operation
appsflyer-flutter-plugin copied to clipboard

Support for Flutter Web

Open rodion-m opened this issue 4 years ago • 7 comments

Hello! Do you plan to support Flutter Web platform? It's necessary for us now.

rodion-m avatar Apr 18 '20 16:04 rodion-m

Generally, we have a Web plugin but it works totally different. What is a point of Web API for a flutter?

af-fess avatar Apr 19 '20 06:04 af-fess

Generally, we have a Web plugin but it works totally different. What is a point of Web API for a flutter?

The point is not to use any separate plugins or something to track events from Flutter application, but use the same API for that. Perhaps for Flutter Web it's possible to send events just using retrofit or dio just inside appsflyer-flutter-library?

rodion-m avatar Apr 19 '20 12:04 rodion-m

Well, Flutter plugin calls a native AppsFlyer SDK (android and iOS) which calls appsflyer.com encrypted end-point. For Web, we should integrate with our Web SDK. I don't see any other option. Keep in mind, plugins like Flutter and others are only bridges between platform-specific and native code that mostly is the same.

af-fess avatar Apr 23 '20 06:04 af-fess

Sure, but perhaps for flutter web will be easier to develop clean Dart solution, using Dio or retrofit as I suggested before? Or you know the way how to easily implement web sdk in flutter web plugin?

rodion-m avatar Apr 23 '20 07:04 rodion-m

No update on this?

GZaccaroni avatar Sep 14 '21 08:09 GZaccaroni

It seems like maybe there's some misunderstanding here. I think the suggestion is to add web as a supported platform for this plugin in exactly the same way that iOS and Android are supported. A single codebase can be used to deploy Flutter apps to iOS, Android, web, and others. This package would ideally have a "bridge" to the web SDK and all 3 platforms would be abstracted away as much as possible in the Flutter layer.

doppio avatar Feb 02 '22 03:02 doppio

Is this on the AppsFlyer team's radar at all? My Flutter app is deployed on the web, iOS, and Android, and I'm completely lacking any sort of attribution on the web.

doppio avatar Jul 05 '23 19:07 doppio