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

[WEB] Undefined name 'AnotherFlushbarPlugin' in generated_plugin_registrant.dart #6

Closed
Ciock opened this issue Feb 22, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@Ciock
Copy link

Ciock commented Feb 22, 2021

This bug is relative to 1.10.9 and beyond.
Downgrading to 1.10.8 resolve this issue.

Error:
lib/generated_plugin_registrant.dart:21:3: Error: Getter not found: 'AnotherFlushbarPlugin'.
AnotherFlushbarPlugin.registerWith(registrar);
^^^^^^^^^^^^^^^^^^^^^

//
// Generated file. Do not edit.
//

import 'package:another_flushbar/flushbar.dart';
import 'package:contact_picker_web/contact_picker_web.dart';
import 'package:firebase_analytics_web/firebase_analytics_web.dart';
import 'package:firebase_auth_web/firebase_auth_web.dart';
import 'package:firebase_core_web/firebase_core_web.dart';
import 'package:flutter_device_locale/src/web.dart';
import 'package:google_sign_in_web/google_sign_in_web.dart';
import 'package:location_web/location_web.dart';
import 'package:package_info_plus_web/package_info_plus_web.dart';
import 'package:shared_preferences_web/shared_preferences_web.dart';
import 'package:url_launcher_web/url_launcher_web.dart';

import 'package:flutter_web_plugins/flutter_web_plugins.dart';

// ignore: public_member_api_docs
void registerPlugins(Registrar registrar) {
  AnotherFlushbarPlugin.registerWith(registrar);
  FlutterContactPickerPlugin.registerWith(registrar);
  FirebaseAnalyticsWeb.registerWith(registrar);
  FirebaseAuthWeb.registerWith(registrar);
  FirebaseCoreWeb.registerWith(registrar);
  FlutterDeviceLocaleWebPlugin.registerWith(registrar);
  GoogleSignInPlugin.registerWith(registrar);
  LocationWebPlugin.registerWith(registrar);
  PackageInfoPlugin.registerWith(registrar);
  SharedPreferencesPlugin.registerWith(registrar);
  UrlLauncherPlugin.registerWith(registrar);
  registrar.registerMessageHandler();
}
@cmdrootaccess cmdrootaccess added the bug Something isn't working label Feb 22, 2021
@cmdrootaccess
Copy link
Owner

thanks for bringing this up. i will resolve now

@cmdrootaccess
Copy link
Owner

fixed in version 1.10.11

@nohli
Copy link

nohli commented Mar 6, 2021

@cmdrootaccess this came back in 1.10.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants