Coder Social home page Coder Social logo

flutter_onedrive's People

Contributors

lucasribolli avatar lukiya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flutter_onedrive's Issues

Problem with authorization

Hello Lukiya, i found one problem with your library. For authorization need client_secret. Add for conctruction please.

OneDrive({
required this.clientID,
required this.redirectURL,
required this.clientSecret,
this.scopes = "offline_access Files.ReadWrite.All",
this.state = "OneDriveState",
ITokenManager? tokenManager,
}

    final result = await OAuthWebScreen.start(
    context: context,
    authorizationEndpointUrl: authEndpoint,
    tokenEndpointUrl: tokenEndpoint,
    clientSecret: clientSecret,
    clientId: clientID,
    redirectUrl: redirectURL,
    scopes: scopeArray,

    onCertificateValidate: (certificate) {

      return true;
    },

  );

Unhandled Exception: MissingPluginException(No implementation found for method getCertificate on channel com.pichillilorenzo/flutter_inappwebview_6)

When webview opens for user to enter credentials and login and you try to enter an email address the page reloads again. This is the error returned in the logs.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getCertificate on channel com.pichillilorenzo/flutter_inappwebview_6)
E/flutter (26267): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
E/flutter (26267):
E/flutter (26267): #1 InAppWebViewController.getCertificate (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:2133:10)
E/flutter (26267):
E/flutter (26267): #2 BaseWebViewState.initWebView. (package:oauth_webauth/src/base_web_view.dart:152:18)
E/flutter (26267):
E/flutter (26267):

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.