CyberSiARA™ | Flutter

Fluter Integration Guideline
  • 1. Please open the following Flutter URL to be redirected: Open the link
  • 2. Then copy the plugin command and put it in pubspec.yaml file
  • 3. here is the example for Siarashield_flutter: ^0.0.9
  • 4. Then hit pub get
  • 5. Get your public & private key from mycybersiara.com
  • 6. Then, place the code below on your login screen. Note that this code is not limited to the login page; it can be applied across all form pages.
  • CyberSiaraWidget (
            loginTap: (bool isSuccess)  {
                if (isSuccess) {
                    // Handle successful authentication
                    print("Authentication Successful: \$isSuccess");
                } else {
                    // Handle authentication failure
                    print("Authentication Failed");
                }
            },
            cyberSiaraModel: CyberSiaraModel(
                masterUrlId: 'TEST-CYBERSIARA', // Public Key
                requestUrl: 'com.app.testapp', // Package name
                privateKey: 'TEST-CYBERSIARA' // Private Key
            ),
        ),
    

  • Once all these steps are done, run your project and enjoy the SiaraShield. Thank you for using SiaraShield!