flu_dingtalk

pub package License

What is the flu_dingtalk

flu_dingtalk Is a Dingtalk nailing SDK plug-in, which allows developers to invoke Nail the native SDK.

中文请移步此处

Installation

'flu_dingtalk' dependency to the 'pubspec.yaml' file:

dependencies:
  flu_dingtalk: ^1.0.0+2

android

buildscript {
    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.0'
    }
}

ios

In Xcode, select your project Settings, select Targets, and in the Info TAB's URL Type, add "URL Scheme" as the ID of your registered application

URL Types
tencent: identifier=tencent schemes=appId
IOS 9 system policy update restricts HTTP protocol access. In addition, applications need to whitelist URL Schemes that will be used in "Info.plist" to check whether other applications are installed or not.
<key>LSApplicationQueriesSchemes</key>
<array>
  <string>dingtalk</string>
  <string>dingtalk-open</string>
  <string>dingtalk-sso</string>
</array>

flutter

  Flutter 2.2.2 • channel stable nullsafety
  Framework • revision d79295af24 (9 days ago) • 2021-06-11 08:56:01 -0700
  Engine • revision 91c9fc8fe0
  Tools • Dart 2.13.3

Ability to

  • Share pictures, text, music, videos, etc.
  • Nail in.
  • Open the nail.

Prepare

flu_dingtalk You can do a lot of work but not everything. Before integrating, it's a good idea to read the official documentation.

Register WxAPI

through FluDing RegisterWxApi.

FluDing.registerApp("dingu6xwfjbghhqtwwzu");

For Android, see articleTo see how to get an app signature. Then you need to know the difference between the app signature for release and debug. If you don't sign it right, you'll get an error errCode = -1.

Ability to document

For more features, look at the source code.

QA

These questions may be helpful to you