at_backupkey_flutter 4.0.11 icon indicating copy to clipboard operation
at_backupkey_flutter: ^4.0.11 copied to clipboard

A Flutter plugin project for saving the backup key of any atSign that is being onboarded with atPlatform apps. The backup key can be used to authenticate in other atPlatform apps.

pub package gitHub license

Overview #

The at_backupkey_flutter package provides the functionality to take backup of secret keys of an onboarded atSign.

This open source package is written in Dart, supports Flutter and follows the atPlatform's decentralized, edge computing model with the following features:

  • Cryptographic control of data access through personal data stores
  • No application backend needed
  • End to end encryption where only the data owner has the keys
  • Private and surveillance free connectivity

We call giving people control of access to their data “flipping the internet” and you can learn more about how it works by reading this overview.

Get started #

There are two options to get started using this package.

1. Clone it from GitHub #

Feel free to fork a copy of the source from the GitHub repo. The example code contained there demonstrates the usage of this package.

$ git clone

2. Manually add the package to a project #

Instructions on how to manually add this package to you project can be found on here.

How it works #

Secret keys are generated for an atSign during onboarding flow of atProtocol. This package helps to add those keys in '.atKeys' file. This file can then be saved in the local filesystem or iCloud/Gdrive.

Setup #

The following platform specific setups are required:

Android #

Add android:exported = "true" to activity


Add the following permissions to AndroidManifest.xml

    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />

Also, the Android version support in app/build.gradle

compileSdkVersion 29

minSdkVersion 24
targetSdkVersion 29

iOS #

Update the Podfile with the following lines of code:

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        ## dart: PermissionGroup.calendar

        ## dart: PermissionGroup.reminders

        ## dart: PermissionGroup.contacts

        ## dart: PermissionGroup.microphone

        ## dart: PermissionGroup.speech

        ## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]

        ## dart: PermissionGroup.notification

        ## dart: PermissionGroup.sensors

macOS: #

Go to your project folder, macOS/Runner/DebugProfile.entitlements (For release mode, you need to open macOS/Runner/Release.entitlements)

and add the following key:


Open source usage and contributions #

This is open source code, so feel free to use it as is, suggest changes or enhancements or create your own version. See for detailed guidance on how to setup tools, tests and make a pull request.

pub points


verified publisher

A Flutter plugin project for saving the backup key of any atSign that is being onboarded with atPlatform apps. The backup key can be used to authenticate in other atPlatform apps.

Repository (GitHub)
View/report issues


API reference


Icon for licenses.BSD-3-Clause (LICENSE)


at_client_mobile, at_file_saver, at_utils, device_info_plus, file_selector, file_selector_linux, file_selector_macos, file_selector_windows, flutter, path_provider, permission_handler, share_plus, showcaseview


Packages that depend on at_backupkey_flutter