Skip to content

Conversation

@chaangliu
Copy link

Hi, I found that when I need to deliver parameters from a flutter page to another flutter page using openUrlFromNative, routeOption.params is always null when it reaches the second flutter page.

The reason is that HybridStackManager and FlutterWrapperActivity didn't deal with the parameters properly and push them back to flutter through flutter channel.

This PR resolves the bug that parameters(arguments) cannot be delivered from a flutter page to another flutter page(both basing on a FlutterWrapperActivity) on Android phones.

Thanks again for your brilliant work!

…a flutter page to another flutter page(both basing on a FlutterWrapperActivity) on Android phones
@chaangliu
Copy link
Author

Hi, according to #8 , I found not there's also a bug in transmitting parameters from native pages to flutter pages. This pr fixes both bugs of parameter loss during flutter->flutter and native->flutter .

please kindly review my code

你好,根据#8 ,我发现从native到flutter也有参数传递丢失的问题。这个PR修复了从flutter到flutter以及从native到flutter的参数传递丢失的问题。

:)

@chaangliu chaangliu mentioned this pull request Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant