Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Version 2.0.2 not available on pub.dev #117

Open
frankperez87 opened this issue Sep 20, 2022 · 4 comments
Open

Version 2.0.2 not available on pub.dev #117

frankperez87 opened this issue Sep 20, 2022 · 4 comments

Comments

@frankperez87
Copy link

The latest release of version 2.0.2 is tagged in GitHub but not available on pub.dev

I've tried this version on Android and it seems to solve the crashing issue that everyone is having. Is there any reason I cannot use this version, or can we get that on to pub.dev to use?

To use it in the meantime within my project I updated my pubspec.yaml to show like this

  advance_pdf_viewer:
    git:
      url: [email protected]:lohanidamodar/pdf_viewer.git
      ref: 4e5d96be29de515f1081c0b6897741b8dca84722
@mumairofficial
Copy link

@frankperez87 I am getting this error after trying purposed solution. I think this is something related to my configurations but can you help me?

pub get failed (server unavailable) -- attempting retry 7 in 64 seconds...
Git error. Command: `git clone --mirror [email protected]:lohanidamodar/pdf_viewer.git /Users/username/Developer/flutter/.pub-cache/git/cache/pdf_viewer-82ab6a243193a92c143e8d94d0f623fb0f089a6e`
stdout: 
stderr: Cloning into bare repository '/Users/username/Developer/flutter/.pub-cache/git/cache/pdf_viewer-82ab6a243193a92c143e8d94d0f623fb0f089a6e'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
exit code: 128

@mumairofficial
Copy link

I figured it out, ssh was messed up so I use the https, following worked for me:

  advance_pdf_viewer:
    git:
      url: https://github.com/lohanidamodar/pdf_viewer.git
      ref: 4e5d96be29de515f1081c0b6897741b8dca84722

@akabisdev
Copy link

Hi,

Although the providing git ref works fine, but do we have any update on why version 2.0.2 not available on pub.dev?

@albertoazinar
Copy link

Hi,

Although the providing git ref works fine, but do we have any update on why version 2.0.2 not available on pub.dev?

The https version worked for me too. 👌

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants