myConsciousness / atproto.dart

🦋 AT Protocol and Bluesky things for Dart and Flutter.
https://atprotodart.com
BSD 3-Clause "New" or "Revised" License
165 stars 15 forks source link

createSession getting error in main.dart #1793

Open Abhisheksharma654 opened 2 days ago

Abhisheksharma654 commented 2 days ago

Don't create an issue for questions but let's use Discussions. Is anyone know how to solve createSession error in main.dart.?

myConsciousness commented 2 days ago

Hi @Abhisheksharma654 !

I guess something wrong with parameters, can you share your code or error?

Abhisheksharma654 commented 2 days ago

image

myConsciousness commented 1 day ago

@Abhisheksharma654

Did you add bluesky package to your pubspec.yaml and import it?

Also, we can no longer use the bluesky_cards package! This package is no longer maintained and is not compatible with the latest bluesky package. You can fork the bluesky_cards source, but you will need to refactor it to fit the latest Dart syntax.

Abhisheksharma654 commented 1 day ago

image Bluesky package has already been added.

myConsciousness commented 1 day ago

@Abhisheksharma654

This is strange, did you import bluesky package correctly? You need to import it like import 'package:bluesky/bluesky.dart';.