Melo567 / ar_location_view

MIT License
23 stars 17 forks source link

[Android] GeneratedPluginRegistrant missing parameter to call ArLocationViewPlugin constructor #2

Closed nansCabanac closed 12 months ago

nansCabanac commented 1 year ago

Hello, I use teh plugin on my project. On ios no problem it's work well.

But on Android, i have an error when i try to start my application image

The class ArLocationViewPlugin allow only one constructor with "Context" in argument. But in my GeneratedPluginRegistrant, flutter generate image

The workaround is to add a public constructor without argument. I don't know if it's the good way ...

public ArLocationViewPlugin(){

    }

Have nice day !