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

problem in Adding capture_flutter_sdk to pubspec.yaml #10

Open
Raz4492 opened this issue May 14, 2024 · 6 comments
Open

problem in Adding capture_flutter_sdk to pubspec.yaml #10

Raz4492 opened this issue May 14, 2024 · 6 comments

Comments

@Raz4492
Copy link

Raz4492 commented May 14, 2024

I have registered in capturedSDK developer portal and i am try to add capture_flutter_sdk in flutter using the code below but, its not working.

dependencies:
flutter:
sdk: flutter
capture_flutter_sdk:
git:
url: https://oauth2:[email protected]/capture/flutter-capturesdk.git
version: ^1.5.0

@Raz4492 Raz4492 changed the title problem in Adding to pubspec.yaml problem in Adding capture_flutter_sdk to pubspec.yaml May 14, 2024
@socketPM
Copy link

@Raz4492 the latest SDK has been updated to 1.5.11. Can you try to bump up the version number see if the issue goes away? Thanks.

@Raz4492
Copy link
Author

Raz4492 commented May 14, 2024

The error below that i am getting right now:

dependencies:
flutter:
sdk: flutter
capture_flutter_sdk:
git:
url: https://oauth2:[email protected]/capture/flutter-capturesdk.git
version: ^1.5.11

Error on line 1, column 7: "name" field doesn't match expected name "capture_flutter_sdk".

1 │ name: capturesdk_flutter
│ ^^^^^^^^^^^^^^^^^^

exit code 65

@socketPM
Copy link

@Raz4492 do you mind sharing your pubspec.yaml file with us? You can send it to developers[at]socketmobile.com and any follow up questions for your issues. Thanks.

@Raz4492
Copy link
Author

Raz4492 commented May 15, 2024

I have shared it in mail

@socketPM
Copy link

Didn't you see my reply to your gmail?

@cyrille-socket
Copy link
Collaborator

Our new version of the Flutter CaptureSDK is back on Github so you don't need the personal access token anymore and you can use directly the package as this in your pub spec.yaml:

dependencies:
flutter:
sdk: flutter

...
capturesdk_flutter: ^1.5.41
...

Let us know if that works for you now

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

3 participants