Add Cotter to your pubspec.yaml
, then run flutter pub get
.
dependencies:cotter:
Check the latest releases in pub.dev. You may need to restart your flutter for it to run pod install (stop flutter run and re run it).
Update the minSdkVersion
inside android/app/build.gradle
to 18:
defaultConfig {// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).applicationId "com.example.example"minSdkVersion 18 // 👈 Update this linetargetSdkVersion 28versionCode flutterVersionCode.toInteger()versionName flutterVersionName}
Allow users to login automatically from a device that they trust.
Authenticate users by sending a Magic Link or OTP via email, SMS, or WhatsApp.