Skip to content

edume/edume-flutter-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

eduMe demo code for Flutter (Dart)

This is a small snippet of code written in Dart language for the Flutter framework, which will generate a seamless link using the “base link” that can be obtained from admin.edume.com.

The snippet demonstrates how to create the signature and append it to the base link. For reference, A base link might look like https://learn.edume.com/e/m/24512?g=12345 - to make it into a seamless link, the identifier and secret need to be added. I hope this script is useful. Use the code as follows;

Require to add crypto to pubspec.yaml

// Note: the shared secret will be given by edume
const String sharedSecret = 'c4e867ae-bc05-11ec-8422-0242ac120002';
const String employeeId = "employee-id";
const String baseLink = "https://learn.edume.com/e/m/24512?g=12345";
String seamlessLink = EduMe(sharedSecret).createSeamlessLink(employeeId, baseLink);

About

Sample code for flutter to use the edume API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages