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

Framework not being set #128

Open
mgalgs opened this issue Apr 5, 2024 · 0 comments
Open

Framework not being set #128

mgalgs opened this issue Apr 5, 2024 · 0 comments

Comments

@mgalgs
Copy link
Contributor

mgalgs commented Apr 5, 2024

Ever since I upgraded from 0.2.0-beta (yes, I was a few years out of date) to 1.5.0 my Rollbar items from my Flutter app haven't been getting a "Framework" value. So I have to filter by "UKNOWN" framework in my Rollbar items view in order to see issues from my app.

You can see in the following screenshot that after I shipped the new version of my app the framework field went empty (except for the odd report or two from folks running an old version of the app):

image

Am I missing something in initialization to get this set or this is a bug in the package?

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  PackageInfo packageInfo = await PackageInfo.fromPlatform();

  var config = Config(
    accessToken: '...',
    package: '...',
    codeVersion: packageInfo.version,
    handleUncaughtErrors: true,
    includePlatformLogs: true,
  );

  await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
  );

  await RollbarFlutter.run(config, () => runApp(MyApp()));
}

It's strange because if I click on an item and view its parameters I do see "flutter" in the framework field. But somehow that's not being populated in the rest of the UI or something.

image

Old rollbar version (note the Flutter logo):

image

New rollbar version (note the lack of Flutter logo):

image

So whatever is causing the Flutter logo to be populated must be separate from the "framework" value in the "Params" list.

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

1 participant