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 | ❌ | ✅ |
- 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
});
}
Package | Version | Status |
---|---|---|
cloudbase_core | ✅ | |
cloudbase_auth | ✅ | |
cloudbase_database | ✅ | |
cloudbase_function | ✅ | |
cloudbase_storage | ✅ |
- Automatically build & test
- Automatically upgrade dependencies(pub, github-actions)
- Automatically quality control
- Automatically publish to
pub.dev