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

flutter_carplay does not work with obfuscation #28

Open
vanlooverenkoen opened this issue Sep 19, 2022 · 1 comment · May be fixed by #29
Open

flutter_carplay does not work with obfuscation #28

vanlooverenkoen opened this issue Sep 19, 2022 · 1 comment · May be fixed by #29

Comments

@vanlooverenkoen
Copy link

When building your app with obfuscation the app crashes when starting carplay.

This is probably because the methodchannels are parsed using tostring enum's I will double check this and create a new pull request.

vanlooverenkoen added a commit to icapps/flutter_carplay that referenced this issue Sep 19, 2022
@vanlooverenkoen vanlooverenkoen linked a pull request Sep 19, 2022 that will close this issue
vanlooverenkoen added a commit to icapps/flutter_carplay that referenced this issue Sep 19, 2022
@vanlooverenkoen
Copy link
Author

runtimeType.toString() should never be used.
In this case you are expecting that the toString will generate a string that matches your native side. That does not work when working with obfuscation.

vanlooverenkoen added a commit to icapps/flutter_carplay that referenced this issue Sep 19, 2022
szeidner added a commit to szeidner/flutter_carplay that referenced this issue Nov 30, 2022
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 a pull request may close this issue.

1 participant