Coder Social home page Coder Social logo

Comments (11)

rxlabz avatar rxlabz commented on August 25, 2024 2

yes, I started to dive in the NNBD issue, but I'll focus on this one first !

from sentry-dart.

bruno-garcia avatar bruno-garcia commented on August 25, 2024 2

This comment: #103 (comment)

Today what we have is a step forward but still we're not there.

sentry.dart.browser makes when Dart is compiled to JS and runs on the browser. That is not the case for Flutter Web. So for Flutter Web we would still want to have sentry.dart.flutter. On Flutter we can add a tag to identify if it's ios/android/web/windows etc. Maybe flutter.platform=....

from sentry-dart.

bruno-garcia avatar bruno-garcia commented on August 25, 2024 1

Here we vary the client based on platform. That'll work for sentry.dart.browser, that could be set on the SentryBrowserClient class and sentry.dart on the SentryIoClient.

For Flutter we can pass the sdk.name through init when when the sentry_flutter package calls init in the sentry package.

from sentry-dart.

marandaneto avatar marandaneto commented on August 25, 2024 1

cool, so we could start with this for sentry.dart.browser and sentry.dart but tackling sentry.dart.flutter in the next sprint as its focused on flutter, thanks!

from sentry-dart.

marandaneto avatar marandaneto commented on August 25, 2024

right now it's sentry.dart for flutter, dart and web.
ideally we'd have sentry.dart, sentry.dart.flutter, sentry.dart.browser.
right now it's controlled by https://github.com/getsentry/sentry-dart/blob/main/dart/lib/src/version.dart

from sentry-dart.

marandaneto avatar marandaneto commented on August 25, 2024

on Android/Java we do it thru the build system using Gradle plugins and code generation: https://github.com/getsentry/sentry-java/blob/main/sentry/build.gradle.kts#L75-L76
let's timebox this and do at a later point if it's not easy/fast

from sentry-dart.

rxlabz avatar rxlabz commented on August 25, 2024

fixed in #96

from sentry-dart.

marandaneto avatar marandaneto commented on August 25, 2024

fixed in #96

wrong PR? I don't see any commits or review about it (Change SDK Name based on the platform) on #96 ?

from sentry-dart.

rxlabz avatar rxlabz commented on August 25, 2024

@marandaneto thanks, and sorry, I need more coffee this morning :s

from sentry-dart.

marandaneto avatar marandaneto commented on August 25, 2024

@marandaneto thanks, and sorry, I need more coffee this morning :s

no worries, are you working on that then?

from sentry-dart.

marandaneto avatar marandaneto commented on August 25, 2024

0a999f3

from sentry-dart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.