cloudbase_ce 2.1.3 cloudbase_ce: ^2.1.3 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 | 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 #
- Add
cloudbase_ce
to your package's dependencies inpubspec.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', // 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 | ✅ | |
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