cloudbase_ce 2.1.2 cloudbase_ce: ^2.1.2 copied to clipboard
Cloudbase SDK community edition. All APIs are consistent to the official with null-safety.
Cloudbase_ce #
A community edition
of TencentCloud CloudBase(TCB) Flutter SDK.
Official documents:API Reference
Features | cloudbase_ce | Official SDK |
---|---|---|
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 #
- 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:
...
- Import the package in your dart file:
import 'package:cloudbase_ce/cloudbase_ce.dart';
- Initialize CloudBase:
void main() async {
CloudBaseCore core = CloudBaseCore.init({
'env': 'your-env-id',
'appAccess': {
'key': 'your-app-access-key',
'version': 'your-app-access-version'
},
'timeout': 3000 // Optional
});
}
Migrated packages #
Package | Version | Status |
---|---|---|
cloudbase_core | ✅ | |
cloudbase_auth | ✅ | |
cloudbase_database | ✅ | |
cloudbase_function | ✅ | |
cloudbase_storage | ✅ |
CI/CD #
- ✅ Automatically build & test
- ✅ Automatically upgrade dependencies(pub, github-actions)
- ✅ Automatically quality control
- ❌ Automatically publish to
pub.dev