Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: OHOS 鸿蒙Next 系统上页面参数包含大int值,Flutter页面接受会变成double类型 #2132

Open
cuocuo opened this issue Sep 9, 2024 · 0 comments

Comments

@cuocuo
Copy link

cuocuo commented Sep 9, 2024

请描述遇到的问题,以及您所期望的正确的结果

页面参数包含了大int值,Flutter页面接收到的时候变成了double类型。
通过初步调试看到应该是参数通过BasicMessageChannel 传输的时候发生了问题。具体可以看下面截图:
image
image

复现的平台

鸿蒙 Next

Flutter SDK版本

鸿蒙 Flutter SDK 使用 e1dd7ef828 提交版本

FlutterBoost版本

4.6.4

是否延迟初始化FlutterBoost

Yes

@cuocuo cuocuo changed the title [Bug]: [Bug]: OHOS 鸿蒙Next 系统上页面参数包含大int值,Flutter页面接受会变成double类型 Sep 9, 2024
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

No branches or pull requests

1 participant