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_locker: generateDebugProto - Windows support not enabled #28

Closed
ManmeetChadha9 opened this issue May 23, 2022 · 13 comments
Closed

Comments

@ManmeetChadha9
Copy link

Hi,
Seems this library is not supported on Windows.
I continuosly see this error when trying to build my app on a windows machine.

Can someone please check.

Thanks
Manmeet Chadha

Logs.txt

image

@tudor07
Copy link

tudor07 commented May 23, 2022

I have the same problem

@rafaelcolladojr
Copy link

I'm also experiencing the same.

@itsJoKr
Copy link
Contributor

itsJoKr commented May 26, 2022

Sorry, we don't have much control of it, because issue comes from protobuf library that we use. Our goal now is to completely replace protobuf, but for that you'll have to wait (hopefully a week or two). I'll keep you updated.

@ManmeetChadha9
Copy link
Author

Hi Josip... Just wanted to check if you had any update on the issue.

@Shradha1824
Copy link

Hi Josip... any update on this issue?

@itsJoKr
Copy link
Contributor

itsJoKr commented Jun 10, 2022

@Shradha1824 we're testing the new version, so expect it during the next week.

If you want to try it before that you can do it with:

  flutter_locker:
    git:
      url: https://github.com/infinum/flutter-plugins-locker.git
      ref: 60e72b911f2b40bd081386965b8a7c5db203ef76

We have a breaking change: Every parameter in save and retrieve method is now named.

FlutterLocker.retrieve(RetrieveSecretRequest(
      key: 'key',
      androidPrompt: AndroidPrompt(
        title: 'title',
        cancelLabel: 'cancel',
        descriptionLabel: 'description',
      ),
      iOsPrompt: IOsPrompt(touchIdText: 'text),

@ManmeetChadha9
Copy link
Author

Hi @itsJoKr ... Wanted to check when is the stable version being released, with this change ?

@lukaknezic
Copy link
Contributor

Hey @ManmeetChadha9. We are now in final stages of testing the lib. Release will probably be early next week 🙂

@ManmeetChadha9
Copy link
Author

Hey @lukaknezic , any luck with the release ?

@lukaknezic
Copy link
Contributor

@ManmeetChadha9 Just published new version with the fix: 2.1.0
It has braking change, because of pigeon all parameters in models are now named parameters instead of unnamed ones

@tudor07
Copy link

tudor07 commented Jun 30, 2022

@lukaknezic Looks like flutter_locker 2.1.0 requires Flutter 3. Maybe new version should've been 3.0.0?

@lukaknezic
Copy link
Contributor

@tudor07 Yeah you are right, will push a quickfix. For now you can use:

  flutter_locker:
    git:
      url: https://github.com/infinum/flutter-plugins-locker.git
      ref: b12db5d9d6ccc9d52c40d049fc76486a2b4c33f1

@lukaknezic
Copy link
Contributor

@tudor07 Quickfix is available: 2.1.0+1

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

6 participants