-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
feat(flutter): Add Flutter support #735
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # CHANGELOG.md
@buenaflor Ready for the first review/feedback round :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll have another look later
const { selectedProject, selfHosted, sentryUrl, authToken } = | ||
await getOrAskForProjectData(options, 'flutter'); | ||
|
||
// const dsn = selectedProject.keys[0].dsn.public; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove this comment?
${chalk.greenBright('Successfully installed the Sentry Flutter SDK!')} | ||
|
||
${chalk.cyan( | ||
`You can validate your setup by launching your application and checking Sentry issues page afterwards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it make sense to give more specific instructions? Since we set up the plugin as well the app should be able to have symbolicated stacktraces. Telling the user to start the app I assume most people will just run it in dev mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw @denrase wizard filename is wrong -> wizzard
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, leaving a first pass review for general wizard recommendations. This is not technical as I have very little to no context around Flutter.
- Ideally, we can make the SDK features selectable from the start as we've done recently with the JS-SDK wizards. See Make Sentry features selectable in wizard #558
- Great to see some tests for this flow! :) I recommend adding an e2e test app as well as this proved quite useful for our other wizards.
Feel free to disregard my advice as I'll happily leave the final call to the mobile team. Don't want to block you, just share some recommendations :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flutter-wizard.ts not flutter-wizzard.ts
just a typo
main.dart
with import, sentry setup and sample snippetpubspec.yaml
with sentry_flutter dependency and plugin to upload debug symbolsCloses getsentry/sentry-dart#2424