docu_sign_flutter_sdk

Creator: coderz1093

Last updated:

0 purchases

docu_sign_flutter_sdk Image
docu_sign_flutter_sdk Images

Languages

Categories

Add to Cart

Description:

docu sign flutter sdk

docusign_sdk #
A flutter plugin for DocuSign Sdk
Since DocuSign Sdk only support iOS platform currently, so this plugin only support iOS platform.
Supported Platforms #

iOS 9+

Getting Started #
DocuSign integration guide #
After you get integration key and your account.
Usually you need login in at first
DocusignSdk.loginWithEmail(
email: '[email protected]',
password: 'password',
host: 'https://demo.docusign.net/restapi',
integratorKey: 'your-integration-key'
);
copied to clipboard
And then you can call renderWithTemplateId to popup the Signing View
online mode #
import 'package:docusign_sdk/docusign_sdk.dart';
import 'package:docusign_sdk/model.dart';

RaisedButton(
child: Text('sign'),
onPressed: () async {
RecipientDefault recip = RecipientDefault(
recipientRoleName: 'Visitor',
recipientEmail: '[email protected]',
recipientName: 'myamo lane',
inPersonSignerName: 'Test Customer',
recipientType: RecipientType.recipientTypeInPersonSigner,
);

await DocusignSdk.renderWithTemplateId(
templateId,
signingMode: DocuSignSigningMode.online,
envelopeDefaults:
EnvelopeDefaults(recipientDefaults: [recip])
);
},
)

copied to clipboard
offline mode #
Since code before sign the document with online mode, it's require good network and more waiting during the signing. So If you want a better experience, you should use the offline signing mode
First, you need cache the template before you start signing
await DocusignSdk.cacheTemplateWithId(templateId);
copied to clipboard
And then, call renderWithTemplateId with signingMode set to DocuSignSigningMode.offline
await DocusignSdk.renderWithTemplateId(
templateId,
signingMode: DocuSignSigningMode.offline,
envelopeDefaults:
EnvelopeDefaults(recipientDefaults: [recip])
);
copied to clipboard
After signing, since the envelope is generated by local, you need sync to server at the time you want.
await DocusignSdk.syncEnvelopes();
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.