shernova 1.0.0 copy "shernova: ^1.0.0" to clipboard
shernova: ^1.0.0 copied to clipboard

Shernova Phone Verification API — core Flutter SDK (headless).

shernova #

Headless Flutter SDK for the Shernova Phone Verification API.

import 'package:shernova/shernova.dart';

await Shernova.init(ShernovaConfig(
  appId: 'YOUR_APP_ID',
  publishableKey: 'pk_live_...',
  apiBaseUrl: 'https://api.shernova.com',
  packageName: 'com.example.app',
  sha256: 'YOUR_APP_SHA256',
));

final session = await Shernova.verify(
  phoneNumber: '+201012345678',
  clientRequestId: 'optional-idempotency-key',
);

await for (final update in Shernova.watch(session.id)) {
  if (update.status == 'verified') {
    final receipt = await Shernova.getReceipt(session.id);
    break;
  }
}

For built-in UI, add shernova_ui.

Register your Android package + SHA256 in the Shernova dashboard before calling Shernova.init.

0
likes
0
points
454
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Shernova Phone Verification API — core Flutter SDK (headless).

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on shernova