'Flutter/Git — Help replacing package in pubspec.yaml

I'm trying to compile the open source app at https://github.com/Zchandev/iChan. He gives instructions there, it seems straightforward.

At the step flutter pub get I get the following error:

compile@compile-VirtualBox:~/snap/flutter/common/flutter/iChan$ flutter pub get
Git error. Command: `git clone --mirror [email protected]:FloPMT/flutter-apns.git /home/compile/snap/flutter/common/flutter/.pub-cache/git/cache/flutter-apns-31bb8f58633cb76118f15fafa15ad338ddc962c1`
stdout:                                                                 
stderr: Cloning into bare repository '/home/compile/snap/flutter/common/flutter/.pub-cache/git/cache/flutter-apns-31bb8f58633cb76118f15fafa15ad338ddc962c1'...
Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
[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                                                          
pub get failed (server unavailable) -- attempting retry 1 in 1 second...

I messaged the dev and he says, "That package was moved to https://github.com/mwaylabs/flutter-apns, you need to edit pubspec.yaml file and replace it"

Here are the contents of pubspec.yaml: https://pastebin.com/n0dr7sEM

I don’t really know EXACTLY what he’s asking me to do, but I’ve tried a few things and none of them worked.

Can someone help me understand what to change?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source