Troubleshooting Initialization
Troubleshoot common initialization issues and apply solutions.
When following steps in Getting Started or Advanced Configuration, if you don’t see a channel ID in the logs or encounter errors during initialization, review the following common problems and solutions.
Installation errors
If you encounter errors during installation:
- Verify that you’re using a compatible version of Capacitor. See Requirements in Getting Started.
- Ensure all native dependencies are properly synced with
npx cap sync. - Check that your iOS and Android projects are correctly configured.
Initialization errors
If you encounter errors during SDK initialization:
- Verify your credentials in the Airship dashboard. The credentials used by
takeOffare your Airship project’s App KeyThe unique identifier for your Airship project. It is used to authenticate the application for API calls. and App SecretA secret used to authorize requests for low-security API calls. It is intended to be embedded in your distributed application, and as such is limited in what it can do.. To find them, select the dropdown menu () next to your project name, and then Project details. - Check that
takeOffis called correctly in your app or configured incapacitor.config.json. - Ensure both iOS and Android native modules are properly installed.