-
Notifications
You must be signed in to change notification settings - Fork 37
Description
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):
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.
Old rollbar version (note the Flutter logo):
New rollbar version (note the lack of Flutter logo):
So whatever is causing the Flutter logo to be populated must be separate from the "framework" value in the "Params" list.