Skip to content

No implementation found for method init on channel dropbox #15

@emmggi

Description

@emmggi

I get this error for init method in my flutter app.

MissingPluginException (MissingPluginException(No implementation found for method init on channel dropbox))

this is my code

void main(List<String> args) async {
  WidgetsFlutterBinding.ensureInitialized();

  await Dropbox.init("myapp", "key", "secret");
  await Dropbox.authorize();
  accessToken = await Dropbox.getAccessToken();

  if (accessToken != null) {
    await Dropbox.authorizeWithAccessToken(accessToken!);
  }

  runApp(const ProviderScope(child: MyApp()));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions