A plugin to migrate existing AWS Mobile Hub projects to be used with the Amplify CLI. This plugin is officially supported by the AWS Mobile team. With this plugin, you will be able to:
version > 4.29.3
)You will not be able to:
To get started, make sure you've installed the Amplify CLI. Please refer to the getting started guide on GitHub.
npm install -g @aws-amplify/cli
After installing the official CLI you now have to install this plugin on your local machine.
git clone https://github.com/awslabs/amplify-mobilehub-migrator.git
cd amplify-mobilehub-migrator && npm install
amplify plugin add
Then simply input absolute directory of root path for amplify-mobilehub-migrator. This will add amplify-mobile-hub-migrator as a plugin to Amplify CLI.
mkdir amplify-project && cd amplify-project
amplify init
amplify mobilehub import <projectId>
The mobile hub project Id can be retrieved from the url when you navigate to a project in the aws mobile hub console. If not supplied, the plugin will list the projects to select the one to import.
eg. https://console.aws.amazon.com/mobilehub/home?#/af12bd20-3fbb-1234-bcc3-86fd1a57cb93/build
project Id : af12bd20-3fbb-1234-bcc3-86fd1a57cb93
This library is licensed under the Apache 2.0 License.