@cordova-plugin-agconnect/clouddb

Cordova AGC CloudDB Plugin

Usage no npm install needed!

<script type="module">
  import cordovaPluginAgconnectClouddb from 'https://cdn.skypack.dev/@cordova-plugin-agconnect/clouddb';
</script>

README

AppGallery Connect Cloud DB for Cordova

Introduction

Cloud DB is a device-cloud synergy database product that provides data synergy management capabilities between the device and cloud, unified data models, and various data management APIs. Learn More

Installing the Plug-in

Install AGC Cloud DB plugin to the project

Cordova

$ cordova plugin add @cordova-plugin-agconnect/clouddb --save

For more details, please refer to Getting Started with Cordova

Ionic

$ ionic cordova plugin add @cordova-plugin-agconnect/clouddb --save

Install Ionic-Native AGC CloudDB to the project.

$ npm install @ionic-native/core @cordova-plugin-agconnect/ionic-native-agc-clouddb

For more details, please refer to Getting Started with Ionic

Development Guide

Development Environment

You are advised to use the plug-ins in an environment that meets the following requirements.

Software Allowed Version Range Description
cordova 9.0.0 or later Platform
cordova-android >=8.1.0 or later Platform
cordova-ios 5.0.0 or later Platform
npm 6.4.1 or later Tool

5. FAQs

Why is the message 'google/protobuf/any.h' file not found file not found displayed when I run pod install?

Protobuf-C++ causes the problem.

You can fix this problem by following the steps below.

  1. Delete <project_root>/platforms/ios/Podfile.lock file.
  2. Delete use_frameworks! line in <project_root>/platforms/ios/Podfile file.
  3. cd <project_root>/platforms/ios directory and run this command pod install

License

Cloud DB Plug-in is licensed under the: Apache License, version 2.0.