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

failed in processing atkey zip file Error in the onboarding widget version 2.0.0 #65

Closed
Intiserahmed opened this issue Jul 3, 2021 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@Intiserahmed
Copy link
Member

Intiserahmed commented Jul 3, 2021

Describe the bug

When I try to pick my atkey zip file from my android phone it gives me the error in the wavi app. I also faced the same error when I used onboarding widget 2.0.0 in demo apps

To Reproduce
Steps to reproduce the behavior:

  1. First I '...'

  2. Then I '...'

  3. And then '...'

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Screenshot_20210702-104048

Smartphone (please complete the following information):

  • Device: [e.g. iPhone11]
  • OS: [e.g. iOS14.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 59]

Were you using an @Application when the bug was found?

Additional context
Add any other context about the problem here.

@Intiserahmed Intiserahmed added the bug Something isn't working label Jul 3, 2021
@buzz
Copy link

buzz commented Jul 3, 2021

  • [e.g. @ buzz, @tmosphere]

Please stop mentioning me in this repo. Thank you

@ksanty
Copy link
Member

ksanty commented Jul 3, 2021

  • [e.g. @ buzz, @tmosphere]

Please stop mentioning me in this repo. Thank you

Hi @Intiserahmed I'm going to send you a video showing you how to put a space separator between @ and buzz.

@buzz
Copy link

buzz commented Jul 3, 2021

@ksanty Please stop mentioning my username in this repository. Thank you very much

@XavierChanth
Copy link
Member

XavierChanth commented Jul 6, 2021

Same issue when trying flutter run:

I/flutter ( 8361): SEVERE|2021-07-06 14:16:04.419833|QR Scan|Uploading backup zip file throws type 'Future<FilePickerResult?>' is not a subtype of type 'FutureOr<FilePickerResult>' in type cast

It appears to start at /lib/screens/pair_atsign.dart line 272-274

FilePickerResult result = await (FilePicker.platform.pickFiles(
    type: FileType.any,
    allowMultiple: true) as FutureOr<FilePickerResult>);

Removing the typecast and changing result's type to FilePickerResult? allows the project to build, however I'm still unable to onboard. I get sent back to the upload screen.

@sarika01
Copy link
Contributor

sarika01 commented Jul 7, 2021

Both ".zip" and ".atKeys" extension files seem to be working fine with at_onboarding_flutter v2.1.0
@Intiserahmed Can you please check with this version?

@Intiserahmed
Copy link
Member Author

@sarika01 checked giving the future file picker error as @XavierChanth mentioned.

@XavierChanth
Copy link
Member

Could it be from the flutter sdk version I'm using?

#/example/pubspec.yaml
environment:
  sdk: ">=2.7.0 <3.0.0"

I suppose that my issues come from using sdk 2.12 in pubspec.yaml:

#/my_app/pubspec.yaml
environment:
  sdk: ">=2.12.0 <3.0.0"

@Intiserahmed
Copy link
Member Author

@XavierChanth 2.12 is for null safety... I'm afraid 2.7 doesn't support null safety.

@XavierChanth
Copy link
Member

I'm using 2.12, example is using 2.7, I get major issues when trying to use 2.7, since all the code is written to use null safety in the app.

@murali-shris
Copy link
Member

Both ".zip" and ".atKeys" extension files seem to be working fine with at_onboarding_flutter v2.1.0
@Intiserahmed Can you please check with this version?

@Intiserahmed does the issue exist with at_onboarding_flutter v2.1.0?

@Intiserahmed
Copy link
Member Author

@murali-shris Yeap It's working like a charm

@tinashe404
Copy link
Member

Closing this on your behalf @Intiserahmed

@tinashe404 tinashe404 moved this from Bugs to Apps Closed in Sprint Planning Project Board Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants