Open BohdanSamusko opened 5 years ago
I don't have an iOS device or an Mac. I am sorry I couldn't get you in this.
iOS support was added by our contributors. Hopefully someone will look on this.
Thanks,
Purusothaman Ramanujam
On Thu, Mar 28, 2019, 11:12 PM Bohdan Samusko notifications@github.com wrote:
I always get the following exception on iOS device. Have no idea why this happens :( Could you please have a look?
Unhandled Exception: MissingPluginException(No implementation found for method launch on channel launch_review)
0 MethodChannel.invokeMethod
(package:flutter/src/services/platform_channel.dart:300:7)
1 https://github.com/Purus/launch_review/pull/1 LaunchReview.launch
(package:launch_review/launch_review.dart:10:20)
2 https://github.com/Purus/launch_review/pull/2
_RateAppState.redirectToStore (package:note_to_email/screens/rate_app.dart:307:18)
3 https://github.com/Purus/launch_review/issues/3
_RateAppState.handleSubmitAction. (package:note_to_email/screens/rate_app.dart:280:15)
4 https://github.com/Purus/launch_review/issues/4 State.setState
(package:flutter/src/widgets/framework.dart:1122:30)
5 https://github.com/Purus/launch_review/pull/5
_RateAppState.handleSubmitAction (package:note_to_email/screens/rate_app.dart:274:11)
6 https://github.com/Purus/launch_review/issues/6
_RateAppState.initState. (package:note_to_email/screens/rate_app.dart:73:9)
7 https://github.com/Purus/launch_review/pull/7
_InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:513:14)
8 https://github.com/Purus/launch_review/issues/8
_InkResponseState.build. (package:flutter/src/materi<…>
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Purus/launch_review/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBx5_gYAuLOrCUAatBLPk-KvYke2Vp-ks5vbPgagaJpZM4cQsI9 .
Do you have cocoapods installed? Seems like the iOS library is missing. See https://flutter.dev/docs/get-started/install/macos#deploy-to-ios-devices
@KaYBlitZ Yes, I have installed cocoapods before.
So, for now, the situation is as following:
lauch_review plugin doesn't work on iOS and the error is Unhandled Exception: MissingPluginException(No implementation found for method launch on channel launch_review).
I decided to rewrite the plugin and create my own plugin to test it and in case of success compare to the current one and find what causes the issue.
So I have developed my own plugin for launching review.
When I run 'example' project of my plugin everything works fine and there are no exceptions. The 'example' project is a project which was created automatically during plugin creation.
But, when I add my plugin to my project as a dependency I have got the same error 'Unhandled Exception' on iOS side as it was when I used lauch_review plugin.
Supposing the issue is hidden in my project, I created a new flutter project just to test my own plugin and lauch_review plugin. And it is very strange but my plugin starts to work okay, but lauch_review plugin still throws 'Unhandled Exception' exception on iOS.
I am really confused and still try to understand what is happening and try to find where the pitfalls are.
The situation is like a real detective story))
Not sure what is going. Does this comment apply to you? https://github.com/flutter/flutter/issues/24171#issuecomment-439667926 . Also does stopping the application first then doing a full rebuild & run fix it? I did some quick googling and people say that hot reload may cause this issue so a full stop and run may be necessary.
I am getting same issue.
Unhandled Exception: MissingPluginException(No implementation found for method launch on channel launch_review)
Issue at Android
@shantiweb I also get this exception if I do LaunchReview.launch();
, but if I do specify my appId it works: LaunchReview.launch(androidAppId: "your.app.id");
i'm getting the same problem, try :
flutter clean
its works .
i'm getting the same problem, try :
- uninstall your apps
- run
flutter clean
its works .
DON'T DO THIS!!!! It is more likely to break the build forever than fix the issue :/
i'm getting the same problem, try :
- uninstall your apps
- run
flutter clean
its works .
Thanks works after clean :)
I always get the following exception on iOS device. Have no idea why this happens :( Could you please have a look?
Unhandled Exception: MissingPluginException(No implementation found for method launch on channel launch_review)
0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:300:7)