Skip to content

yangyu92/flu_ding

Repository files navigation

flu_ding

pub package License

What is the flu_ding

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

Installation

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

dependencies:
  flu_ding: ^0.0.1+1

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_ding 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