Closed danielgomezrico closed 2 years ago
This is caused by https://github.com/la-haus/flutter-segment/blob/master/android/src/main/java/com/example/flutter_segment/FlutterSegmentPlugin.java#L97 since middleware()
is deprecated and should be replaced with useSourceMiddleware()
@vbuberen could you create a PR for it?
Yes, that is the plan. Waited for Android updates PR to be merged first.
Looked once again and found more of deprecated things - method from Flutter V1 embedding, which is not used anymore. https://github.com/la-haus/flutter-segment/blob/master/android/src/main/java/com/example/flutter_segment/FlutterSegmentPlugin.java#L42
We were removing such things from Plus Plugins last November as well. Will also address it in my PR.
We have a deprecated implementation for the plugin on android:
There's a warning running the project: