Skip to content

CloudBase Flutter SDK Community Edition| 腾讯云CloudBase Flutter SDK社区版

License

Notifications You must be signed in to change notification settings

Insightop/cloudbase_ce

Repository files navigation

Pub Version Pub Popularity Pub Points GitHub Stars build-test GitHub License

Cloudbase_ce

中文

A community edition of TencentCloud CloudBase(TCB) Flutter SDK.

Official documents:API Reference

Features Official SDK cloudbase_ce
Fully compatible official SDK 🚫
Support Null-safety
Fixed bugs
Support Phone authentication 🔜
Dart3 Compatibility
Delete deprecated API calls
Latest dependencies versions
GitHub Actions CI/CD

Quick Start

  1. Add cloudbase_ce to your package's dependencies in pubspec.yaml file:
// pubspec.yaml

  ...

  dependencies:
    flutter:
      sdk: flutter
+   cloudbase_ce: ^2.x.x

  dev_dependencies:

  ...
  1. Import the package in your dart file:
 import 'package:cloudbase_ce/cloudbase_ce.dart';
  1. Initialize CloudBase:
void main() async {
  CloudBaseCore core = CloudBaseCore.init({
    'env': 'your-env-id', // Replace with your own envID
    'appAccess': {
      'key': 'your-app-access-key', // Replace with your own appAccessKey
      'version': 'your-app-access-version' // Replace with your own appAccessVersion
    },
    'timeout': 3000 // Optional, request timeout in milliseconds
  });
}

Migrated packages

Package Version Status
cloudbase_core Pub version
cloudbase_auth Pub version
cloudbase_database Pub version
cloudbase_function Pub version
cloudbase_storage Pub version

CI/CD

  • Automatically build & test
  • Automatically upgrade dependencies(pub, github-actions)
  • Automatically quality control
  • Automatically publish to pub.dev

Contributors

GitHub contributors