You may see the following exception when calling Core.install:
Error:(54, 21) error: unreported exception InstallException; must be caught or declared to be thrown
This is a reminder to ensure compile time safety so that the install is called with valid parameters. It serves as a warning to developers if there are invalid parameters so they can be fixed during development rather than becoming a problem for end users.
An InstallException will be thrown if one or more of the following occurs:
- If API key is null or empty
- If domain name is null, empty or invalid
- If app id is null, empty or invalid
If you’re seeing this message, please ensure you’re calling Core.install with valid parameters. If you are, then this warning is safe to ignore.